I am trying out Python and Flet and trying to test how easy it is to deploy an app to iOS. I’ve built a basic app and wanted to try delivering it to Apple Connect so i’ve done the basics such as create a new identifier and app in Apple Connect with a bundle id etc and now testing packaging the app following the steps in Flets documentation https://flet.dev/docs/publish/ios
I then receive the following in my terminal which shows the ipa file was successfully created
[13:01:13] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.23.1 ✅
Customized app icons and splash images ✅
[13:01:21] Generated app icons ✅
[13:01:26] Generated splash screens ✅
[13:01:34] Packaged Python app ✅
[13:06:29] Built .ipa bundle for iOS ✅
Copied build to build/ipa directory ✅
Successfully built your .ipa bundle for iOS! ???? Find it in build/ipa directory. ????
But then when using transporter to deliver the app to apple connect i get the file was uploaded successfully but then while it's being processed i get this error
Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “Runner.app” bundle should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string.
Does anyone know how i can customise the info.plist so that this entry can be added there or ideally since i don’t even need permissions to the users photos how can i remove or customise packages that are not needed i.e. in this case DKImagePickerController
I’ve tried extracting the IPA and inspecting the content of it but would like a method to be able to customise this at build.
Sid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.