Xcode 7.0.1 - Invalid Swift Support - The SwiftSupport folder is missing.

前端 未结 2 516
迷失自我
迷失自我 2021-02-03 11:21

I try to publish on AppStore an App that contains Swift 2.0 files, but I receive the following email:

Dear developer,

We have discovered one o

相关标签:
2条回答
  • 2021-02-03 11:57

    I just resolved an instance of this problem with Apple support.

    The problem turned out to be some junk files were being included in the IPA file from my CI/CD system. In particular I had a .gitkeep file which came from a rsync command, and a .DS_Store file which I put there indirectly by poking around with Finder.

    The fix was to tighten the rsync command I was using to import some frameworks from Jenkins to exclude .gitkeep, .DS_Store and any other dot-files.

    YMMV. The support engineer agreed that it was a confusing error message.

    0 讨论(0)
  • 2021-02-03 12:03

    To be safe, all components of your app should be built with the same version of Xcode and the Swift compiler to ensure that they work together.

    I think you need to do a pod clean and install. I reckon one of your swift pods was created on a old version of Xcode, you updated Xcode and then tried to do a submission to the app store.

    Read the apple swift blog about binary compatibility and frameworks

    You will also want to specify that your embedded content contains swift in the build settings:

    EMBEDDED_CONTENT_CONTAINS_SWIFT
    

    Enable this setting to indicate that content embedded in a target's product contains Swift code, so that the standard Swift libraries can be included in the product.

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