Can't submit to the app store - URL scheme error

I tried uploading my app to the app store using application loader and I get the following error:

Error Messages:
ERROR ITMS-90155: “The following URL schemes found in your app are disallowed: [fb]”

I am using the latest version of defold using the default plist file from the builtins folder.

This is the outputted plist once built, it looks like it is putting fb before my iOS bundle id

    <key>CFBundleURLTypes</key>
    <array>
            <dict>
                    <key>CFBundleURLSchemes</key>
                    <array>
                            <string>fb</string><string>com.company.game</string>
                    </array>
            </dict>
    </array>

I have fixed it by copying the built-in plist and removing the following line but I think this might be a bug.

{{#url-schemes}}{{.}}{{/url-schemes}}\

1 Like

Hi, What do you set as facebook Id in game.project file?
If you don’t have facebook id, just reset this field to the default value (arrow near the field), it should help.

In original plist file it should be:

<key>CFBundleURLSchemes</key>
<array>
  {{#url-schemes}}<string>{{.}}</string>{{/url-schemes}}
</array>

Where the first scheme fb+fb_id (if fb_id is setted up), and bundle identifier as the second scheme.

1 Like

Hi,

I didn’t have an fb id set it was blank. However when I clicked the reset button to the left of it and created another bundle everything is ok.

Thanks for your help.

3 Likes

I think it was an empty string ("") instead of nill, that’s why reset helped you.

4 Likes