[AC-6376] xcode 11 sdk 8.2.0 impossible to build to distribuite
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-09-23T10:24:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | 8.2.0, xcode11 |
Reporter | Lorenzo Piccinini |
Assignee | Shak Hossain |
Created | 2019-09-22T00:49:21.000+0000 |
Updated | 2019-10-11T20:26:18.000+0000 |
Description
Hello, I'm trying to distribute app width sdk 8.2.0 and Xcode 11 but during building it get error.
[INFO] Creating launch image set
[INFO] Creating assets image set
[INFO] Writing bootstrap json
[INFO] Encrypting JavaScript files
[ERROR] Error: spawn EACCES
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at iOSBuilder.<anonymous> (/Users/piccilore/Library/Application Support/Titanium/mobilesdk/osx/8.2.0.GA/iphone/cli/commands/_build.js:6154:19)
at Object.whilst (/Users/piccilore/Library/Application Support/Titanium/mobilesdk/osx/8.2.0.GA/node_modules/async/dist/async.js:5227:5)
at iOSBuilder.<anonymous> (/Users/piccilore/Library/Application Support/Titanium/mobilesdk/osx/8.2.0.GA/iphone/cli/commands/_build.js:6141:9)
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/hook/titanium.js:655:15
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:299:5
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:467:3
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/org.js:50:10
---------------------------------------------
at Request.init (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/request.js:188:10)
at new Request (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/request.js:127:8)
at request (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/index.js:53:10)
at Function.get (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/index.js:61:12)
at _createRequest (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:239:39)
at Object.Appc.createRequest (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:101:9)
at Object.find (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/org.js:43:7)
at _resolveUserOrg (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:440:11)
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:296:4
---------------------------------------------
at Request.init (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/request.js:188:10)
at new Request (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/request.js:127:8)
at request (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/index.js:53:10)
at Function.get (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/request/index.js:61:12)
at _createRequest (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:239:39)
at Object.Appc.createRequest (/Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:101:9)
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:265:8
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/async/dist/async.js:3888:9
at /Users/piccilore/.appcelerator/install/7.1.1/package/node_modules/appc-cli-titanium/node_modules/async/dist/async.js:473:16
[~otto.pic] I think you might be hitting an issue where the titanium_prep binary has lost the executable permissions, can you try running
chmod +x ~/Library/Application\ Support/Titanium/mobilesdk/osx/8.2.0.GA/iphone/titanium_prep
to restore it and try to rebuildYou are right. Now works fine. You can close this issue. Thanks.
I had the same issue when compiling on both ios and android. Just curious about the cause of it so that we could avoid in the future.
[~kenjorai], we think this was down to the SDK installation process of the Atom and VS Code packages. We released updates for those to fix the issue, 1.9.1 for Atom, 0.6.0 for VS Code
chmod +x ~/Library/Application\ Support/Titanium/mobilesdk/osx/8.2.0.GA/iphone/titanium_prep resolved this problem for me