Hello,
Last week i was stuck with Compilation Error.
The cause of this error was the bundleIdentifier too weird to pass the expo build.
Something like that : -42SUM87BU.com.appname.ios
I am taking the maintenance of an old application. So don’t ask WHY this bundle ID…
EAS Solve compilation problem.
But now i’m still stuck while uploading app with Transporter.
It would appear that expo add bundleIdentifier in URL Schemes.
With good bundleIdentifier like com.organisation.app => com.organisation.app://
But in my case
-42SUM87BU.com.appname.ios://
Upload App with Transporter =>
ERROR ITMS-90158: “The following URL schemes found in your app are not in the correct format: [-42SUM87BU.com.appname.ios]. 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 found nothing in EXPO doc about this.
Only found one stackoverflow post :
You don’t need to set a custom URL Schema because expo by default sets it to your bundleIdentifier
So i’m trying to use infoPlist to override this default behavior
app.json
{
"expo": {
"name": "Appname",
"slug": "appname",
"scheme": "validscheme",
...
"ios": {
...
"bundleIdentifier": "-42SUM87BU.com.appname.ios",
"infoPlist": {
"CFBundleURLTypes": [
{
"CFBundleTypeRole":"Viewer",
"CFBundleURLName": "org.appname.ios",
"CFBundleURLSchemes": ["validscheme"]
}
]
},
},
}
}
But nothing change during transporter upload. Same error.
Stuck with this bundleIdentifier of doom.
I need help to config Expo put only URL SCHEME i defined.
Thanks