con*_*ile 31 xcode ios cocoapods
这是我的pod文件:
platform :ios, '8.0'
use_frameworks!
target 'TestApp' do
...
end
Run Code Online (Sandbox Code Playgroud)
之后pod install我收到以下错误:
[!] The `TestApp [Debug]` target overrides the `OTHER_SWIFT_FLAGS` build setting defined in `Pods/Target Support Files/Pods-TestApp/Pods-TestApp.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `TestApp [Release]` target overrides the `OTHER_SWIFT_FLAGS` build setting defined in `Pods/Target Support Files/Pods-TestApp/Pods-TestApp.release.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)
我该如何解决这个问题?
Zig*_*ong 66
选择您的项目
切换到项目Build Settings面板.
搜索 Other Swift Flags
现在您可以Other Swift Flags在BOLD中看到节目的价值
(BOLD也表示该值被覆盖)
正如终端中显示的警告:
使用
$(inherited)标志,或 - 从目标中删除构建设置.
您可以通过以下两种方式使编译器满意:
选项1:
双击Other Swift Flags值区域并将值替换为$(inherited)
选项2:
选择Other Swift Flags面板使其突出显示.然后按键盘上的删除按钮,现在字体将变为THIN,而不是BOLD.
| 归档时间: |
|
| 查看次数: |
12957 次 |
| 最近记录: |