Joe*_*Joe 1 xcode ios cocoapods
我在这里发布问题和答案,因为我花了 4 个多小时才弄明白这个问题。
pod install并收到以下错误The 'XXX [Debug]' target overrides the 'LIBRARY_SEARCH_PATHS' build setting defined in 'Pods/Target Support Files/Pods-XXX/Pods-XXX.debug.xcconfig'.
This can lead to problems with the CocoaPods installation
- Use the '$(inherited)' flag, or
- Remove the build settings from the target.
Run Code Online (Sandbox Code Playgroud)
$(inherited)为第一项。Cocoapods 停止抱怨,但您不再看到最初导入的所有搜索路径。在此处观看 2 分钟视频:https : //youtu.be/XvaqW0lQL18
转到目标的 XCode 构建设置中的库搜索路径
双击,选择其中的任何条目,然后单击“-”按钮将其删除。
您会注意到该字段现在是空的,但“图书馆搜索路径”现在是粗体的。
选择粗体的“图书馆搜索路径”行并按退格键
您应该会看到所有原始搜索路径神奇地重新出现。
我无法相信这是多么不直观。我希望它可以帮助我以外的人。
| 归档时间: |
|
| 查看次数: |
315 次 |
| 最近记录: |