cocoa pods 相关

pod 语法


Pod 遇到的 警告和错误

  • Target overrides the OTHER_SWIFT_FLAGS build setting
pod 警告
Target overrides the `OTHER_SWIFT_FLAGS` build setting
详细警告信息:
[!] The `GuanAiBaoUITests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-GuanAiBaoUITests/Pods-GuanAiBaoUITests.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.


原因: 在pod中添加了 单元测试
 target 'GuanAiBaoTests' do
    inherit! :search_paths
    # Pods for testing
    pod 'MMDrawerController','~>0.6.0'


解决: http://stackoverflow.com/questions/32683499/target-overrides-the-other-swift-flags-build-setting

1. Select your project
2. Switch to your project 's Build Settings panel.
3. Search for Other Swift Flags
4. Now you may see the value of Other Swift Flags shows in 
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容