It was the first time that I was submitting a Flutter APP to the App Store… I thought that everything was ready… I’ve tested on several emulators, on real iOS devices… and everything went smoothly and without a problem when I uploaded to the App Store… but after their system finished processing my build, I received an email from Apple…
ITMS-90338: Non-public API usage — The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _ptrace. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.
To avoid that issue… you should run
flutter build ios — release
Then in xCode , go to Product->Scheme->Edit Scheme … and make sure that Build Configuration is in RELEASE for ** Archive**
And now you are ready to publish!
Top comments (0)