Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 or more issues with your recent delivery for "EMO MILANO". To process your delivery, the following issues must be corrected:

Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

I read the following thread oh stackoverflow (Invalid Binary Or Invalid Swift Support Invalid Swift Support / invalid implementation of swift) but I don't find any solution.

I Have a project that has multiple target and uses Cocoa pods.

This is a screenshot of the project navigator:

enter image description here

Ideas?

like image 930
MaTTP Avatar asked Oct 01 '15 14:10

MaTTP


1 Answers

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.

like image 187
Tim Potter Avatar answered Nov 15 '22 19:11

Tim Potter