I have succesfully built and uploaded to Android Play Store and the app is approved and live. Same code base it’s not getting submitted to iOS. The one native module I use is react-native-mlkit-ocr
. It builds custom dev client, for android store perfectly fine, without a config plugin.
Did anyone get this error when doing eas submit
after doing eas build -p ios
?
ITMS-90562: Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again.
Something interesting was when build was ready the URL it gave had “undefined” in it - https://appstoreconnect.apple.com/apps/undefined/appstore/ios
I have also tried by adding “image” latest to my eas config, as some other topics here said, but it didn’t work:
{
"build": {
"release": {
"ios": {
"image": "latest"
}
},
"development": {
"developmentClient": true,
"distribution": "internal"
}
}
}
And my app.json:
{
"expo": {
"name": "Quizleter",
"slug": "quizleter",
"version": "22.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"androidStatusBar": {
"barStyle": "light-content",
"translucent": true,
"backgroundColor": "#0000008C"
},
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#401455"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "org.reactjs.native.quizleter",
"buildNumber": "22.0.0",
"infoPlist": {
"UIStatusBarStyle": "UIStatusBarStyleLightContent",
"NSCameraUsageDescription": "To take a photo of a question to search for it without typing."
}
},
"backgroundColor": "#401455",
"primaryColor": "#401455",
"android": {
"package": "com.quizleter",
"versionCode": 22,
"adaptiveIcon": {
"foregroundImage": "./assets/icon.png",
"backgroundColor": "#401455"
},
"permissions": ["CAMERA"]
},
"web": {
"favicon": "./assets/favicon.png",
"themeColor": "#ffffff"
},
"plugins": ["sentry-expo"],
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "deeds",
"project": "quizleter-mobile",
"authToken": "REMOVED"
}
}
]
}
}
}
And my package.json:
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo-google-fonts/pridi": "^0.2.0",
"@react-navigation/native": "^6.0.2",
"@react-navigation/native-stack": "^6.1.0",
"expo": "~42.0.1",
"expo-app-loading": "^1.1.2",
"expo-application": "~3.2.0",
"expo-asset": "~8.3.3",
"expo-camera": "~11.2.2",
"expo-constants": "~11.0.1",
"expo-dev-client": "^0.4.7",
"expo-device": "~3.3.0",
"expo-font": "~9.2.1",
"expo-gl": "~10.4.2",
"expo-image-manipulator": "~9.2.2",
"expo-intent-launcher": "~9.1.0",
"expo-localization": "~10.2.0",
"expo-status-bar": "~1.0.4",
"expo-updates": "~0.8.2",
"fuse.js": "^6.4.6",
"jsdom-jscore-rn": "^0.1.8",
"lodash": "^4.17.21",
"lottie-react-native": "4.0.2",
"moment": "^2.29.1",
"moti": "^0.11.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-gesture-handler": "~1.10.2",
"react-native-mlkit-ocr": "^0.2.2",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.4.0",
"react-native-web": "~0.13.12",
"recyclerlistview": "^3.0.5",
"sentry-expo": "^4.0.0",
"urijs": "^1.19.7",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@types/lodash": "^4.14.172",
"@types/react": "~16.9.35",
"@types/react-native": "~0.63.2",
"typescript": "~4.0.0"
},
"private": true
}