Invalid Swift Support / The SwiftSupport folder is empty

前端 未结 19 1492
轻奢々
轻奢々 2020-12-08 13:01

Environment: Xcode 7 GM

I uploaded iOS app successfully using Xcode without error. This app is written in Objective-C and Swift.

However, immediately after s

19条回答
  •  心在旅途
    2020-12-08 13:39

    Setting "Embedded Content Contains Swift Code" to $(inherited) worked for me. The warning after executing the CocoaPods command pod install helped me to find this out.

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

提交回复
热议问题