ios-jsc icon indicating copy to clipboard operation
ios-jsc copied to clipboard

publish ios error: The SwiftSupport folder is missing

Open Serge-SDL opened this issue 4 years ago • 10 comments

Hi! I try to pusblish my app on AppStore and everything works well: build cmd and publish cmd but then I received an email from App store connect:

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

I saw some answers like this: https://stackoverflow.com/questions/38981628/invalid-swift-support-the-swiftsupport-folder-is-missing-with-xcode-7-3-1 but I don't know how to apply this on nativescript.

can anyone help on this ? thanks!

Serge-SDL avatar Apr 03 '20 14:04 Serge-SDL

Are you using Xcode 11.4 to build your app?

mbektchiev avatar Apr 03 '20 15:04 mbektchiev

yes, I use the last version. I managed to comple my app since but without using cli...

Serge-SDL avatar Apr 06 '20 13:04 Serge-SDL

Can you try cleaning your platforms/ios folder and performing a publish build once more? After that please check whether the .ipa package contains a folder named SwiftSupport (You can change its extension to .zip and extract it). Also, you can search for files named libswiftFoundation.dylib and report if and where they are found in the platforms/ios directory and in the extracted .ipa.

mbektchiev avatar Apr 06 '20 15:04 mbektchiev

I also have the same issue and I use distribution provisioning profile. I also tried doing this with Always Embed Swift Standard Libraries option enabled from the xcode project.

StefanNedelchev avatar Jul 16 '20 12:07 StefanNedelchev

@mbektchiev i have same issue. Yes, i have some swift library in my app file image

dyrkow avatar Dec 16 '20 19:12 dyrkow

Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Maybe you need to upgrade Xcode to the latest (12.3) version...

mbektchiev avatar Dec 17 '20 10:12 mbektchiev

@mbektchiev Prodict ~> Archive works for me. I'm used just build.

image

dyrkow avatar Dec 27 '20 07:12 dyrkow

I get the same issue when using NativeScript to build the release, but opening Xcode and archive from there works like a charm. It quite annoying because it prevents us from automating the build completely:

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

I'm using the latest Xcode at the moment; 15.2.

fpaaske avatar Jan 19 '24 17:01 fpaaske

Heya @fpaaske we’re no longer (actively) maintaining JSC so I’m curious why you went with that over our stable V8 runtime?

shirakaba avatar Jan 20 '24 12:01 shirakaba

Sorry, I'm not using this jsc version. I just found the same issue here and commented.

fpaaske avatar Jan 20 '24 14:01 fpaaske