Does anyone know why I am getting this error when I try to validate my app? And/or how to fix it? Nothing I've read says that you need to allow the scheme and twitter and instagram are working fine.
All of the url schemes I am using are declared in the app info.plist file. When I build and run my app on my device all of the code works fine and when clicked my app will redirect to a specific facebook page.
Now I am attempting to validate my app so I am able to upload it to the app store. When validating I get the error "iTunes Store operation failed. The following URL schemes found in your app are disallowed: [fb]"
If I remove the "fb" url scheme from my info.plist my app no longer redirects to the facebook app but it will open in safari (which I do not want) and it does validate.
How do I go about validating the "fb" url scheme so my app is able to validate and not get this error?
Here is a picture of my info.plist:
You are declaring that your app's custom URL schemes are "instagram", "fbapi", "fb", etc.
Why? Your app should declare its own, unique, custom URL scheme if you want other apps to be able to launch your app.
If your actual intent is to list the schemes of other apps that your app needs to launch, then you are putting the list of schemes under the wrong key. You want to use the LSApplicationQueriesSchemes
key. There are plenty of examples for this. Please search on LSApplicationQueriesSchemes
for its proper use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With