-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with uploading into App Store Connect (flutter) #2113
Comments
Tried when loading 2 applications. I came to the conclusion that this is a library problem. |
Do you include TDLib as Universal XCFramework and build it as described in https://github.com/tdlib/td/tree/master/example/ios? |
Yes! I'm building Xcframwork and everything works fine in Xcode and Flutter, but it doesn't load in the App Store. |
Issues with uploading apps to App store were common previously, but all of them were solved by using XCFramework instead of plain dynamic libraries. https://developer.apple.com/library/archive/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING-BUNDLE_ERRORS mentions exactly this reason as the cause of "Invalid Swift Support". |
We use XCFramework... And get this error. |
Same issue. Android works fine, IOS app connect rejects the library. |
The issueI was able to contact with issue author and managed to get it works and publish their app to AppStore Connect. So, levlam mentioned exact Apple docs that describes the issue.
Current example/ios provides a build of Well, it will work for any local or debug iOS builds, ad hoc distribution and etc., but will not work for AppStore distribution. Is it a tdlib issue then...?) Solutions so farWrap
|
I will let @levlam decide on the future of this issue, here's our options
|
I will keep this issue open until TDLib build examples are updated, or Apple's policy is changed. From the proposed options, I think that wrapping |
Hello. Has there been a solution? The methods described above are too complicated to understand. |
@Kylmakalle These points are very unclear. Are there more detailed instructions? Thanks.
|
@Wolfaks I’m unable to post detailed instructions… yet. Referenced Stackoverflow threads have enough info to kick off with tdlib in AppStore. |
I was finally able to successfully submit the app to the App Store.
Then deleted unnecessary file libtdjson.dylib, moved files libtdjson to folders /libtdjson.framework
Then I checked that the paths changed correctly:
Done! Everything works on the iPhone and in the simulator, and my application was also missed in the app store. Thanks to all! 🎉 |
Hey guys... |
|
@Wolfaks could you please help me to provide a example repository? Many thanks! |
Hi all. I ran into this problem while uploading an app on App Store Connect:
Introductory: my application uses the tdlib library (for telegram), written on a cross-platform (flutter), made and launched on Android, launched on iOS, but cannot be loaded into TestFlight. An error occurs:
Dear developer,
We identified one or more issues with a recent delivery for your app, “someName” 0.0.22 (30). Please correct the following issues, then upload again.
ITMS-90429: Invalid Swift Support - The files libswiftDarwin.dylib libswiftMetal.dylib libswiftCoreAudio.dylib libswiftQuartzCore.dylib libswiftos.dylib libswiftCoreMedia.dylib, libswiftCore.dylib, libswiftFoundation.dylib, libswiftCoreImage.dylib aren't at the expected location /Payload/Runner.app/Frameworks. Move the file to the expected location, rebuild your app using the current public (GM) version of Xcode, and resubmit it.
Our task is to upload the application to Testflight.
Tried to fix:
tried to disable the check when loading MP in the AppStore.
Hypotheses - Problem in validating .Swift files in Flutter that shouldn't be validated.
How to get rid of this problem is unknown. When we uncheck Strip Swift Symbols, the validation is still carried out in the Flutter libraries.
We plan to test the possibility of loading another application in Testflight with the tdlib library.
Rebuild library (built on intel in latest xcode, tried to boot from intel and M1)
Tell me, can someone come across such a problem?
The text was updated successfully, but these errors were encountered: