Skip to content

IOS build upload error when url scheme is read from .env #501

@Kiran0791

Description

@Kiran0791

When the url scheme is read from the .env file build is succesfull but when uploading package to appstore its throwing the following error
ERROR ITMS-90158: "The following URL schemes found in your app are not in the correct format: [__RN_CONFIG_FACEBOOK_CUSTOM_URL_SCHEME]. 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."

code .env
FACEBOOK_CUSTOM_URL_SCHEME="fb*********"

on info.plist
```

<key>CFBundleURLSchemes</key>
			<array>
				<string>__RN_CONFIG_FACEBOOK_CUSTOM_URL_SCHEME</string>
			</array>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions