-
Notifications
You must be signed in to change notification settings - Fork 4
Invalid Swift support when submitted to the Apple AppStore #3
Comments
I suspect there MIGHT be a problem with 4.9.0.14 based on the size of the package, @framinosona ? Anyway, I use the excellent "Xamarin.Swift" nuget(I installed v1.0.7 in my ios project) to handle the tedious process of bundling any needed swift dependencies(if you target ios versions prior to ABI stability you need to include swift runtime in the IPA...) Try with the xamarin.swift package installed and see if it fixes your problem! P.S. Another option is to target iOS >= 12.2, then you shouldnt have to include swift support. (your IPA will be significantly smaller) |
Thanks for your help. I have tried both adding the Xamarin.Swift nuget and targeting 12.2, but neither has resolved the problem. I opened the IPA after adding the nuget, but it did not seem to contain any SwiftSupport directory. Trying the scripts provided here does not seem to add the support files either. |
@OliverFlecke Sounds strange.. .Check your build logs for the task called "_SwiftFrameworksMac", it should look something like this(for release build):
|
The build logs seems to find and add iOSDFULibrary.
|
@OliverFlecke Then, when you unzip the resulting IPA, you should get a folder called "SwiftSupport/iphoneos/" with some dylib files in it. Are you still getting rejection mail from apple about missing swift support? |
I do not see a "SwiftSupport" folder, only a "Frameworks/iOSDFULibrary.framework". I have also checked the xcarchive, which does contain a |
Linked to : xamarin/XamarinComponents#993 Waiting for how it will evolve. Since it's recent I suppose an issue introduced in latest dotnet/mono versions, I will try to build the nuget with an old version. @tompi I see you're using an old version of XCode, on the issue they mention xcode version updated ... It could be because we are all version 12.4 and you're 11.6 ? @OliverFlecke can you try to install an older version of xcode too ? |
I have tried to build with Xcode 12.0, which gives the same result. My build fails with Xcode 11.7, which seems to be some dependencies on Xamarin.iOS 14.*. I will try to see if I can get around those issues to test this. I have submitted with your latest version (4.9.0.16), but TestFlight is giving me the same error. |
Thanks, this has solved my issue for now. I will close this issue, as it is not related to your package. Thanks for your help! |
Describe the bug
Hi guys, thanks for this package.
I'm having some issues when submitting our Xamarin app to App Store connect. When adding this NuGet to your iOS, we get the following response from Apple:
"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 public version of Xcode (12.4) to build from VS for Mac (8.8.7 build 18). I don't know much about this SwiftSupport, other than what a few quick searches can tell me. Do you have any suggestions or pointers?
Note: Currently I have been using version 4.9.0.13, as I'm getting a linker error when trying to use your latest version (4.9.0.14). I don't know if upgrading would help with my issue. Are there any flags that has to be added with the latest version?
The text was updated successfully, but these errors were encountered: