Build failed Expo app with notification for iOS (Error: xcrun exited with non-zero code: 1)

Hello guys. I have a question for build Expo app(sdk38.0.0 & Managed) for iOS.

I added notification feature with expo-notifications in this release.
But, build fail by the feature. (previous release that doesn’t have notification feature successed)

I tried to this command.

expo build:iOS —release-channel production-v1

And the logs say this on Configuring NSBundle section.

...
Configuring iOS Launch Screen...
Bundling assets...
Compiling resources...
Cleaning up iOS...
Error: xcrun exited with non-zero code: 1
    at ChildProcess.completionListener (/usr/local/turtle-js/nodemodules/@expo/xdl/nodemodules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (events.js:418:26)
    at ChildProcess.emit (events.js:311:20)
    at ChildProcess.EventEmitter.emit (domain.js:482:12)
    at maybeClose (internal/childprocess.js:1021:16)
    at Process.ChildProcess.handle.onexit (internal/childprocess.js:286:5)
    ...
    at spawnAsync (/usr/local/turtle-js/nodemodules/@expo/xdl/nodemodules/@expo/spawn-async/build/spawnAsync.js:17:21)
    at spawnAsyncThrowError (/usr/local/turtle-js/nodemodules/@expo/xdl/build/detach/ExponentTools.js:183:45)
    at Object.buildAssetArchiveAsync (/usr/local/turtle-js/nodemodules/@expo/xdl/build/detach/IosAssetArchive.js:96:51)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/taskqueues.js:97:5)
    at async Object.configureAsync (/usr/local/turtle-js/nodemodules/@expo/xdl/build/detach/IosNSBundle.js:687:7)
    at async Object.configureAndCopyArchiveAsync (/usr/local/turtle-js/nodemodules/@expo/xdl/build/detach/IosShellApp.js:367:3)
    at async Object.runShellAppBuilder [as default] (/usr/local/turtle-js/build/builders/utils/ios/shellAppBuilder.js:67:12)
    at async Object.buildArchive [as default] (/usr/local/turtle-js/build/builders/ios/archive.js:39:26)
    at async Object.iosBuilder [as ios] (/usr/local/turtle-js/build/builders/ios/index.js:29:13)
    at async build (/usr/local/turtle-js/build/jobManager.js:171:24)
    at async processJob (/usr/local/turtle-js/build/jobManager.js:116:32)
    at async Object.doJob (/usr/local/turtle-js/build/jobManager.js:48:5)
    at async main (/usr/local/turtle-js/build/server.js:44:13)

I already check these issues.
#943
#1512

And, on my app.json’s notification is this.

"notification": {
   "icon": "./assets/yamori-notify.png",
   "color": "#311b92",
   "iosDisplayInForeground": true
}

the icon image is

  • 96x96 (px)
  • grayscale with transparent

I don’t know why build failed.

Cna anybody please help?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.