Reputation: 373
When I upload my ipa to the AppStore using Application Loader, the ipa status change to Invalid Binary and I get this email from Apple...
The problem is in my info.plist there is a key of NSPhotoLibraryUsageDescription
which could be the possible problem !
Upvotes: 5
Views: 17791
Reputation: 18416
I spend almost 3 days to find out the reason. If you find out the reason it could be very easy to fix the issue.
Step 1: Select custom method instead of App Store connect, because App store connect doesn't provide the valid reason.
Step 2: Select Debug and make a iPA file
Step 3: Download transporter app if you don't have it in your machine
https://apps.apple.com/sa/app/transporter/id1450874784?mt=12
Step 4: Transporter app - SignIn with your apple account
Step 5: Upload the iPA file (We did it in step 2) in Transporter app
Step 6: Submit into App Store through transporter app, this will show you exact error.
In my case, my provision profile was expired. App store missed to popup this error. I wasted my 3 days. Transporter app helped to find out the reason.
After fixing my provisioning profile issue, I upload the build again the same issue. after few hours Apple team send the email.
Worst integration by Apple team, they should popup error msg in App store connnect not in the email.
Please correct the following issues and upload a new binary to App Store Connect.
TMS-91061: Missing privacy manifest - Your app includes “Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics”, which includes FirebaseCrashlytics, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.
Apple Developer Relations
Goto app store connect - select your app - privacy - data types - edit - scroll down - Diagnostics - add following data and declare why you are using this.
Upvotes: 1
Reputation: 1
My case: ITMS-91056: Invalid privacy manifest - The PrivacyInfo.xcprivacy file from the following path is invalid.
need to check the file in XCode=> open As => Property List
Upvotes: 0
Reputation: 373
I finally figured it out, my problem was there is more than one plist file in the project, and the xCode is using a plist file that does not contain the required key.
So I removed all versions of duplicated files, and keep just single one.
Thanks for your help
Upvotes: 0
Reputation: 1357
Add new row in info plist then paste this Privacy - Photo Library Usage Description
.
Hope it helps.
Upvotes: 0
Reputation: 2581
Here is your answer,
<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) uses photos</string>
you need to specify product name in description like above.
Upvotes: 2