I recently added swift files to my test target (combined with older cocoa touch classes).
Why is cocoapods complaining about the embedded content contains swift setting in the build settings?
[!] The YOURP-PROJECT-Tests [Debug] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT build setting defined in Pods/Target Support Files/Pods-YOUR-PROJECT-Tests/Pods-YOUR-PROJECT-Tests.debug.xcconfig. This can lead to problems with the CocoaPods installation
I needed to add the $(inherited) flag to the build setting
If you replace YES with "$(inherited)" it will fix the issue in the project/target EMBEDDED_CONTENT_CONTAINS_SWIFT value. After you click Enter it will show a "YES". Run the pod install again and the issue should disappear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With