swift - POD 安装出现问题 : "` ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES"

标签 swift cocoa

我在 POD 安装方面遇到问题。
在“ProjectName”[Demo] 和“ProjectName”[Release] 中,我收到错误:
“...target 会覆盖 `Pods/Target Support Files/Pods-ProjectName-Demo/Pods-ProjectName-Demo.debug.xcconfig' 中定义的 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build设置。这可能会导致问题CocoaPods安装”
Build Settings

我已将“始终嵌入 Swift 标准库”设置为“否”

编辑:我已完成建议的重复帖子线程中的建议步骤,但仍然出现错误

最佳答案

我能够通过执行以下操作解决此问题:

1.Go into Build Settings

2.At the top select All and Combined

3.Under Build Options you should see Always Embed Swift Standard Libraries and it is bold.

4.Click on it and click delete. It should now be unbolded.

5.Pod install and the error/errors should go away!

欲了解更多详情,请参阅此链接。 https://github.com/CocoaPods/CocoaPods/issues/5981

关于swift - POD 安装出现问题 : "` ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52143279/

相关文章:

json - 在 Swift 中将返回的文本解析为 JSON 对象?

objective-c - Cocoa 目录内容

objective-c - 为什么 [NSTextStorage setAttributedString] 与 NSMutableAttributedString 崩溃?

ios - 如何使用 iOS 9 和 Swift 在 Popover 中呈现 UIImagePickerController

ios - 无法在 swift 项目中从 CocoaPods 导入 AFNetworking

swift - 打开应用程序时自动更新 UI

ios - iOS 中的工具提示通过 native UI 控件?

macos - 我可以通过编程判断 Spotlight 是否已启用吗?

swift - 稍微延迟编辑文本字段

swift - Swift 中 PTKView 的初始化问题