Why is Cocoapods complaining about the embedded content contains swift setting in the build settings?

后端 未结 2 1941
孤城傲影
孤城傲影 2020-12-24 05:57

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 sett

相关标签:
2条回答
  • 2020-12-24 06:26

    I needed to add the $(inherited) flag to the build setting

    0 讨论(0)
  • 2020-12-24 06:36

    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.

    0 讨论(0)
提交回复
热议问题