The application target overrides the assembly parameter "EMBEDDED_CONTENT_CONTAINS_SWIFT" defined in Pods.xcconfig

I have a confusing warning that probably has a simple solution that I am missing. When I run pod install in the terminal, I get the following warnings:

[!] The Ripelist [Debug] ] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT build parameter defined in the Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $ (inherited) `, or - remove assembly settings from the target.

[!] The Ripelist [Release] ] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT build parameter defined in the Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $ (inherited) `, or - Remove the assembly settings from the target.

Here I am confused.

The following is the myccs xcconfig file, where you can see that EMBEDDED_CONTENT_CONTAINS_SWIFT set to Yes (debugging and releasing xcconfigs are exactly the same settings, so I only included one screenshot for both):

Pods.debug.xcconfig

Now here are my settings, which seem to β€œoverride” the specific parameter that you just saw (project goal, goal, and test):

project setup target installation of the application target installation of the test application

The warning message says to use the $(inherited) flag, but there is no place to add $ (inherited), because basically it is a drop-down list with the settings "Yes" and "No". Along with this, the second option recommended by the warning is to "remove the build settings from the target." I cannot delete Yes or No. If you look below, there is no way to remove one of them:

enter image description here

If I click "other ..." and delete the text, it will automatically return to "Yes." If I press "other ..." and type $ (inherited), then it just goes to "No - $ (inherited)".

Can someone tell me how to eliminate these warnings?

+7
ios xcode swift
source share
1 answer

The solution was to select the β€œother” from the drop-down list, and then add $(inherited) . He read what was needed from this.

0
source share

All Articles