Invalid Swift Support - The SwiftSupport folder is empty.
See original GitHub issueHello,
It seems that when you want to release your .IPA apps that use with Swift language, instead of compiling the IPA file with :
xcr.arg(['-sdk', sdk, 'PackageApplication', '-v', app, '-o', ipa]);
You need to use:
xcodebuild -exportArchive -exportFormat ipa -archivePath <path to archive> -exportPath <path to output>
Something that it’s explained here: XCArchive to ipa
So, right now, with the current xcode task only works with objective-c projects, if you want to compile Swift project or projects with libraries in swift, you will receive an email from Apple saying:
Invalid Swift Support - We have discovered one or more issues with your recent delivery for XXXXX(my app name). To process your delivery, the following issues must be corrected:
Invalid Swift Support - The SwiftSupport folder is empty. 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.
Right now i fixed this issue with following build definition steps:
- INSTALL cocoapods
- Xcode build (without xctool)
- execute shell script package_ipa.sh with arguments: $(agent.builddirectory)/output/$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/$(APPLICATION_NAME).app $(agent.builddirectory)/output/$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/$(APPLICATION_NAME).ipa
With this shell script, i can publish perfectly to testFlight with vsts-itunes task
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
@aldodfm: Thanks for the details, I will update the task to use xcodebuild -exportArchive if it is Xcode 7 or higher
Fix has been merged and will be deployed to Team Services starting Oct 16th and should roll out to all accounts in about a week.