question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid Swift Support - The SwiftSupport folder is empty.

See original GitHub issue

Hello,

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:

  1. INSTALL cocoapods
  2. Xcode build (without xctool)
  3. 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:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
madhurigcommented, Sep 23, 2016

@aldodfm: Thanks for the details, I will update the task to use xcodebuild -exportArchive if it is Xcode 7 or higher

0reactions
madhurigcommented, Oct 6, 2016

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ITMS-90424: Invalid Swift Support | Apple Developer Forums
ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit...
Read more >
Cannot distribute iOS app, "ITMS-90424: Invalid Swift Support ...
... ReactNative Objective-C project, Applle comes back with error "ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty.
Read more >
ITMS-90426: Invalid Swift Support - The ... - Unity Forum
My team and I have a cloud build configuration that pushes the build to the Apple app store for TestFlight distribution.
Read more >
The SwiftSupport folder is missing. Rebuild your app using the ...
Issue When submitting an App Studio app to the Apple App Store Apple may reject it stating the following issue:Invalid Swift Support -...
Read more >
Invalid Swift Support - Apple will not release my build
ITMS-90424 : Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found