Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes Store operation failed. The following URL schemes found in your app are disallowed: [fb]

Tags:

validation

ios

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:

enter image description here

like image 713
mjs317 Avatar asked Mar 10 '23 08:03

mjs317


1 Answers

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.

like image 199
rmaddy Avatar answered Apr 07 '23 06:04

rmaddy