Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6376] xcode 11 sdk 8.2.0 impossible to build to distribuite

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2019-09-23T10:24:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labels8.2.0, xcode11
ReporterLorenzo Piccinini
AssigneeShak Hossain
Created2019-09-22T00:49:21.000+0000
Updated2019-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

Comments

  1. Ewan Harris 2019-09-23

    [~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 rebuild
  2. Lorenzo Piccinini 2019-09-23

    You are right. Now works fine. You can close this issue. Thanks.
  3. Kai Lu 2019-10-05

    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.
  4. Ewan Harris 2019-10-07

    [~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
  5. Jerod Fritz 2019-10-11

    chmod +x ~/Library/Application\ Support/Titanium/mobilesdk/osx/8.2.0.GA/iphone/titanium_prep resolved this problem for me

JSON Source