You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
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
The text was updated successfully, but these errors were encountered:
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:
Right now i fixed this issue with following build definition steps:
With this shell script, i can publish perfectly to testFlight with vsts-itunes task
The text was updated successfully, but these errors were encountered: