什么是带有cocoapods,swift 3和Xcode 8的ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES [英] what's ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with cocoapods , swift 3 and Xcode 8
本文介绍了什么是带有cocoapods,swift 3和Xcode 8的ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安装cocoapods并将 podSwiftCarousel
添加到pod文件并取消注释平台:ios,'9.0'我收到此错误
after installing cocoapods and adding pod "SwiftCarousel"
to pod file and uncomment the platform :ios, '9.0' I got this ERROR
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
我该怎么办?
mohammed.elias$ pod install
Analyzing dependencies
Downloading dependencies
Installing SwiftCarousel (0.8.0)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `scrollView.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
[!] The `scrollViewTests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewTests/Pods-scrollViewTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `scrollViewTests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewTests/Pods-scrollViewTests.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `scrollViewUITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewUITests/Pods-scrollViewUITests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `scrollViewUITests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewUITests/Pods-scrollViewUITests.release.xcconfig'. This can lead to problems with the CocoaPods installation
推荐答案
到这里在您的构建设置中......
Go here in your build settings...
< img src =https://i.stack.imgur.com/ocKH4.pngalt =在此处输入图像说明>
然后突出显示Always embed ...行并点击删除。这会将其更改为使用继承的属性。
And then highlight the "Always embed..." row and hit delete. This will change it to use the inherited property.
这篇关于什么是带有cocoapods,swift 3和Xcode 8的ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文