question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create-manifest-ios.sh Bundle Expo Assets fails via on GITHUB Actions/ using Fastlane

See original GitHub issue
Running script 'Bundle Expo Assets'
13377
    the transform cache was reset.
13378
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Fabric' from project 'Pods')
13379
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Crashlytics' from project 'Pods')
13380
** ARCHIVE FAILED **
13381

13382

13383
The following build commands failed:
13384
	PhaseScriptExecution Bundle\ Expo\ Assets /Users/runner/Library/Developer/Xcode/DerivedData/bsket-gpjqpcghdwzdmyfqttipqhmuklfm/Build/Intermediates.noindex/ArchiveIntermediates/bsket/IntermediateBuildFilesPath/bsket.build/Release-iphoneos/bsket.build/Script-00DD1BFF1BD5951E006B06BC.sh
13385
(1 failure)
13386
ERROR [2020-06-05 14:07:49.20]: Exit status: 65

Latest CLi is is installed on the build server via https://github.com/expo/expo-github-action

package json

{
  "scripts": {
    "start": "react-native start",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/samples": "~3.0.3",
    "@expo/vector-icons": "^10.0.0",
    "@mapbox/polyline": "^1.1.0",
    "@react-native-community/async-storage": "^1.8.0",
    "@react-native-community/netinfo": "5.5.1",
    "@react-native-community/viewpager": "3.3.0",
    "@react-native-firebase/app": "^7.1.0",
    "@react-native-firebase/crashlytics": "^7.1.0",
    "@react-navigation/web": "^1.0.0-alpha.9",
    "@types/lodash": "^4.14.149",
    "add": "^2.0.6",
    "axios": "^0.19.2",
    "babel-plugin-transform-remove-console": "^6.9.4",
    "date-fns": "^2.13.0",
    "expo": "^37.0.12",
    "expo-asset": "~8.1.5",
    "expo-blur": "~8.1.0",
    "expo-constants": "^9.0.0",
    "expo-device": "~2.1.0",
    "expo-font": "~8.1.0",
    "expo-localization": "^8.1.0",
    "expo-notifications": "^0.1.7",
    "expo-sharing": "~8.1.0",
    "expo-splash-screen": "^0.2.3",
    "expo-updates": "~0.2.7",
    "expo-web-browser": "~8.2.0",
    "geolib": "^3.2.1",
    "i18n-js": "^3.5.1",
    "javascript-time-ago": "^2.0.7",
    "moment": "^2.24.0",
    "native-base": "2.13.8",
    "net": "^1.0.2",
    "prop-types": "^15.7.2",
    "react": "~16.9.0",
    "react-dom": "~16.9.0",
    "react-native": "~0.61.5",
    "react-native-credit-card-input": "^0.4.1",
    "react-native-dimension": "^1.0.6",
    "react-native-elements": "^1.2.6",
    "react-native-fast-image": "^8.1.5",
    "react-native-gesture": "^0.2.0",
    "react-native-gesture-handler": "~1.6.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.1",
    "react-native-keychain": "^6.0.0",
    "react-native-loading-spinner-overlay": "^1.1.0",
    "react-native-localize": "^1.4.0",
    "react-native-maps": "0.27.1",
    "react-native-material-dropdown": "^0.11.1",
    "react-native-material-textfield": "^0.16.1",
    "react-native-orientation": "^3.1.3",
    "react-native-picker-select": "^6.3.2",
    "react-native-push-notification": "^3.1.9",
    "react-native-rate": "^1.2.1",
    "react-native-reanimated": "~1.7.0",
    "react-native-screens": "~2.2.0",
    "react-native-snap-carousel": "^3.9.0",
    "react-native-svg": "11.0.1",
    "react-native-swiper": "^1.6.0-rc.3",
    "react-native-unimodules": "~0.9.0",
    "react-native-vector-icons": "^6.6.0",
    "react-native-web": "~0.11.7",
    "react-navigation": "^4.0.10",
    "react-navigation-stack": "^1.10.3",
    "react-navigation-tabs": "^2.7.0",
    "react-redux": "^7.2.0",
    "redux": "^4.0.5",
    "redux-axios-middleware": "^4.0.1",
    "redux-devtools-extension": "^2.13.7",
    "redux-immutable": "^4.0.0",
    "redux-logger": "^3.0.6",
    "redux-persist": "^6.0.0",
    "redux-persist-transform-encrypt": "^2.0.1",
    "redux-promise": "^0.6.0",
    "redux-saga": "^0.15.3",
    "redux-thunk": "^2.3.0",
    "rn-sliding-up-panel": "^2.4.0",
    "sockjs-client": "^1.4.0",
    "stompjs": "^2.3.3",
    "throttle-debounce": "^2.1.0",
    "tipsi-stripe": "https://github.com/tipsi/tipsi-stripe.git#experimental",
    "validate.js": "^0.13.1"
  },
  "devDependencies": {
    "@babel/core": "~7.9.0",
    "babel-jest": "~25.2.6",
    "babel-preset-expo": "^8.1.0",
    "jest": "~25.2.6",
    "react-native-keyboard-spacer": "^0.4.1",
    "react-native-svg-transformer": "^0.14.3",
    "react-test-renderer": "~16.9.0",
    "typescript": "^3.8.3"
  },
  "private": true
}

Tried removing create-manifest-ios.sh from the build phase but the app doesn’t start due to it not finding the bundle.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
benfontancommented, Jun 25, 2020

Same issue here. It seems related to expo-updates waiting for packager server which is not started during build. It is working in local only when running npm start or react-native start at the same time.

Error: Failed to connect to the packager server. If you did not start this build by running 'react-native run-android', you can start the packager manually by running 'react-native start' in the project directory. (Error: Request to packager server failed: 500)
    at /Users/xxx/actions-runner/_work/xxx/xxx/node_modules/expo-updates/scripts/createManifest.js:40:11
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Command PhaseScriptExecution failed with a nonzero exit code
1reaction
halfmatthalfcatcommented, Jul 15, 2020

It looks like the create-manifest script needs to startup the bundler, just as the react-native xcode.sh script does. Unless you can find a way to run the bundler separately in another process…but in a CI environment that’s a bit tricky as we’re seeing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EAS build iOS fails on Fastlane · Issue #4098 - GitHub
I run eas build , choose iOS, log in, the build starts, and fails because of fastlane. Environment. Expo CLI 4.13.0 environment info:...
Read more >
What is causing expo-updates to fail fetching assets? ( self ...
I have tried using github pages as a host for bundles/assets to eliminate any issues that could be caused by my apache server...
Read more >
Asset Download Fails - Wrong extension [expo-updates] [bare ...
A bare expo IOS application fails to download changed assets from our own S3 bucket due to requiring the file extension. expo export...
Read more >
Github actions - fastlane build_app error · Discussion #19538
Github actions - fastlane build_app error. ... [2021-10-27 19:22:41.72]: Maybe the error shown is caused by using the wrong version of Xcode ...
Read more >
Android build fails on createReleaseExpoManifest · Issue #8374
Bug Report A brand new expo bare-minimum app fails to build for release on Android. It fails during the :app:createReleaseExpoManifest task, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found