iosurl-scheme

iOS "URL schemes found in your app are not in the correct format" while uploading app


I am getting the error below while uploading an app to the App Store.

ERROR ITMS-90158: "The following URL schemes found in your app are not in the correct format: [5063495]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail."

I am using Facebook, Google+, Instagram and LinkedIn Login in my app.

Info.plist file code

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>fb***************</string>
            <string>5063495</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>com.googleusercontent.apps.************-juag6bl6uqrrd0ivf80anjics6j92ehp</string>
        </array>
    </dict>
</array>

Solution

  • According to the error message:

    The message also states that you can check out RFC1738 for more details, which is a document describing the syntax and semantics for URLs.