[EXP CLI] exp build:ios ERROR TypeError: Cannot read property '0' of undefined


#1

Hello i’m having a problem building my iOS app. Can someone help me? exp build:android works fine

LOGS:
build type: archive
release channel: default
creating keychain
Executing command: security create-keychain -p f73deee3-ffcb-11e7-a079-0050568e20f7 /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Executing command: security default-keychain -s /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Executing command: security set-keychain-settings -t 360000s /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Executing command: security list-keychains -d user
Old Keychain list
New Keychain list
Executing command: security list-keychains -s /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Unlocking keychain…
Executing command: security unlock-keychain -p f73deee3-ffcb-11e7-a079-0050568e20f7 /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Unlocked keychain
Executing command: security show-keychain-info /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
deferring keychain deletion
done creating keychain
getting credentials
Importing certificate into keychain…
Certificate has password.
Executing command: security import /tmp/turtle/15bde3a8-8b41-4044-a2c5-c38f35b71b66/cert-d2a9b0fa-73dc-422c-ae40-a4ff2f6b60b4.p12 -A -k /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain -f pkcs12 -P Ac7sgeadWj5Bg7Fnq9+kPA==
Imported certificate into keychain
done getting credentials
running shell app builder
extracting build configuration from app.json
/usr/local/turtle-agent /usr/local/turtle-agent/tmp
Getting Redis connection…
Got Redis connection…
Waiting to receive message…
/usr/local/turtle-agent/tmp
/usr/local/turtle-agent/tools-public /usr/local/turtle-agent/tmp
[15:28:50] Using gulpfile /usr/local/turtle-agent/tools-public/gulpfile.js
[15:28:50] Starting ‘ios-shell-app’…
IosIcons: setting image functions to alternative sharp implementations
Using manifest: {“android”:{“package”:“com.FoodHere.FoodHereApp”,“versionCode”:5},“description”:“FoodHere app”,“icon”:"./assets/icons/app-icon.png",“iconUrl”:“https://d1wp6m56sqw74a.cloudfront.net/~assets/fa6577fecc0a7838f15a254577639984",“ios”:{“buildNumber”:“1.0.5”,“bundleIdentifier”:“com.FoodHere.FoodHereApp”,“supportsTablet”:false},“loading”:{“icon”:"./assets/icons/loading-icon.png",“iconUrl”:“https://d1wp6m56sqw74a.cloudfront.net/~assets/fa6577fecc0a7838f15a254577639984”},“name”:“FoodHere”,“orientation”:“portrait”,“packagerOpts”:{“assetExts”:[“ttf”,“mp4”]},“primaryColor”:"#cccccc",“privacy”:“public”,“sdkVersion”:“21.0.0”,“slug”:“FoodHere”,“version”:“1.0.5”,“id”:"@kikoololmdrxdd/FoodHere",“revisionId”:“1.0.5-r.exrdGRBroQ”,“publishedTime”:“2018-01-22T23:31:42.697Z”,“bundleUrl”:“https://d1wp6m56sqw74a.cloudfront.net/%40kikoololmdrxdd%2FFoodHere%2F1.0.5%2F0a31babc12941635c76ca668e00c0f0e-21.0.0-ios.js”,“releaseChannel”:"default”}
[15:28:50] ‘ios-shell-app’ errored after 483 ms
[15:28:50] TypeError: Cannot read property ‘0’ of undefined
at /xdl/src/detach/IosNSBundle.js:405:14
at Generator.next ()
at step (/usr/local/turtle-agent/tools-public/node_modules/xdl/build/detach/IosNSBundle.js:484:191)
at /usr/local/turtle-agent/tools-public/node_modules/xdl/build/detach/IosNSBundle.js:484:437
at Promise ()
at /usr/local/turtle-agent/tools-public/node_modules/xdl/build/detach/IosNSBundle.js:484:99
at _downloadAssetsAsync (/usr/local/turtle-agent/tools-public/node_modules/xdl/build/detach/IosNSBundle.js:361:18)
at Object. (/xdl/src/detach/IosNSBundle.js:445:11)
at Generator.next ()
at step (/usr/local/turtle-agent/tools-public/node_modules/xdl/build/detach/IosNSBundle.js:484:191)
unable to run shell app builder
Executing command: security delete-keychain /tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Restoring keychain list…
Executing command: security list-keychains -s /private/tmp/turtle-agent/f73deed4-ffcb-11e7-a079-0050568e20f7.keychain
Restored keychain list.


#2

Sorry about that! We’ve deployed a fix for this, so you should be all clear if you rebuild


closed #3

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