{ "id": "173700", "key": "AC-6274", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-07-11T17:34:09.000+0000", "created": "2019-06-02T16:28:28.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-11T17:34:10.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\r\nI change user on mac, and now I just this problem.\r\nI can’t compile for permission.\r\nI try reinstall Axway Appcelerator Studio on new user but nothing.\r\n\r\nh3. Actual Result\r\n\r\n{code}\r\nAppcelerator Command-Line Interface, version 7.0.11\r\nCopyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved.\r\n2019-06-02T16:20:07.683Z | TRACE | set environment to {'registry':'https://registry.platform.axway.com','baseurl':'https://platform.axway.com'}\r\n2019-06-02T16:20:07.684Z | TRACE | checking credentials for existing session\r\n2019-06-02T16:20:07.794Z | TRACE | Attempting to load session info from config file\r\n2019-06-02T16:20:07.799Z | TRACE | check if session is invalidated\r\n2019-06-02T16:20:08.662Z | TRACE | refresh session expiry to: 1560097208554\r\n2019-06-02T16:20:08.663Z | TRACE | session expiry 1560097208554 false\r\n2019-06-02T16:20:08.664Z | TRACE | Arrow Cloud config file: /Users/Medixal/.acs\r\n2019-06-02T16:20:08.666Z | TRACE | found Arrow Cloud login { mid: '5c97c623c70537310ee7ed2ec88cbbf80a853a8f',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: 'info@ferra.com',\r\n cookie: \r\n [ 'connect.sid=s%3AwGkh9Xx57f9yh3JX14CKEIZ0j3g9a-_W.k%2BkOsyuIHVUBWd4k2o3Thz4FD08OqDqS5RyEuArr%2FvY; Path=/; Expires=Sun, 16 Jun 2019 10:16:50 GMT; HttpOnly' ],\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\n2019-06-02T16:20:08.666Z | TRACE | Arrow Cloud cookie expiry [ 1560680210000 ]\r\n2019-06-02T16:20:08.667Z | TRACE | session already loaded in opts.session\r\n2019-06-02T16:20:08.667Z | TRACE | getCredentials() session:\r\n{\r\n 'ipaddress': '192.168.1.123',\r\n 'username': 'info@ferra.com',\r\n 'password': '',\r\n 'session': '',\r\n 'nonce': '',\r\n 'environment': {\r\n 'name': 'production',\r\n 'isProduction': true,\r\n 'acsBaseUrl': 'https://api.cloud.appcelerator.com',\r\n 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com'\r\n },\r\n 'token': '',\r\n 'fingerprint': '5c97c623c70537310ee7ed2ec88cbbf80a853a8f',\r\n 'fingerprint_description': 'Mac OSX Serial Number: C02QX0MFFVH3',\r\n 'org_id': 100010389,\r\n 'expiry': 1560097208554\r\n}\r\n2019-06-02T16:20:08.668Z | TRACE | loading plugins for command 'run'\r\n2019-06-02T16:20:08.695Z | TRACE | run search paths:\r\n[\r\n '/Users/Medixal/.appcelerator/install/7.0.11/package',\r\n '/Users/Medixal/.appcelerator/install/7.0.11/package/node_modules',\r\n '/shared/axway/traghetti/plugins',\r\n '/shared/axway/traghetti/node_modules',\r\n '/shared/axway/node_modules',\r\n '/shared/node_modules',\r\n '/node_modules',\r\n '/Users/Medixal/.appcelerator/.npm/lib/node_modules'\r\n]\r\n2019-06-02T16:20:08.696Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/Medixal/.appcelerator/install/7.0.11/package/appc.js\r\n2019-06-02T16:20:08.995Z | DEBUG | [PLUGIN-LOAD] 297ms /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/appc-cli-titanium/appc.js\r\n2019-06-02T16:20:08.995Z | DEBUG | run plugin: /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/appc-cli-titanium\r\n2019-06-02T16:20:08.998Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/arrow/appc.js\r\n2019-06-02T16:20:09.002Z | DEBUG | run plugin: /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/arrow\r\n2019-06-02T16:20:09.016Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping...\r\n2019-06-02T16:20:09.017Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function\r\n2019-06-02T16:20:09.019Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array\r\n2019-06-02T16:20:09.050Z | TRACE | executing command 'run' with the following plugins:\r\n['titanium']\r\n2019-06-02T16:20:09.062Z | TRACE | session already loaded in opts.session\r\n2019-06-02T16:20:09.064Z | DEBUG | Titanium Downloads Last Checked: 1559490522043\r\n2019-06-02T16:20:09.848Z | TRACE | getInstalledTiSdkInfo { sdkPath: '/Users/Medixal/Library/Application Support/Titanium',\r\n activeSDK: '8.0.1.GA' }\r\n2019-06-02T16:20:09.849Z | DEBUG | active sdk info { sdkPath: '/Users/Medixal/Library/Application Support/Titanium',\r\n activeSDK: '8.0.1.GA' }\r\n2019-06-02T16:20:12.610Z | DEBUG | to download {'modules':[{'oses':['linux','win32','osx'],'platforms':['iphone','android'],'required':true,'partner_id':'A0B129A418829127EC551EB8ADB0D1CC','partner_name':'Appcelerator','id':'hyperloop','name':'Hyperloop','description':'Gain complete access to native APIs in your Titanium mobile applications.','guid':'99a136cd-4e51-40da-bcdb-d514f5895fb5','version':'1.2.8','url':'https://downloads.platform.axway.com/modules/hyperloop-1.2.8.zip','min_mobilesdk_version':'5.4.0','partner':null,'versions':[{'platforms':['iphone','android','windows'],'sdk_versions':'>=6.0.0 <7.0.0','version':'2.2.3','url':'https://downloads.platform.axway.com/modules/hyperloop-2.2.3.zip'}]},{'id':'ti.cloudpush','name':'ti.cloudpush','description':'ACS Push notifications for Android','guid':'2d542783-c83c-4597-bd61-1073aa16ece2','oses':['linux','win32','osx'],'platforms':['android'],'required':true,'partner':null,'versions':[{'platforms':['android'],'sdk_versions':'>=7.0.0 <7.5.0','version':'5.2.1','url':'https://downloads.platform.axway.com/modules/ti.cloudpush-android-5.2.1.zip'},{'platforms':['android'],'sdk_versions':'>=7.5.0 <8.0.0','version':'6.0.0','url':'https://downloads.platform.axway.com/modules/ti.cloudpush-android-6.0.0.zip'}]}],'components':[]}\r\n2019-6-2 18:20:15\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 6.4.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.5.0.GA\r\n SDK Path = /Users/Medixal/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA\r\n Target Platform = iphone\r\nCommand\r\n /usr/local/bin/node /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level trace --sdk 7.5.0.GA --project-dir /shared/axway/traghetti --target simulator --ios-version 12.2 --device-family iphone --deploy-type development --device-id 4060D939-3D81-40AE-ABD3-C2E07B209135 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 50082 --config-file /var/folders/28/76z5lvkd2w57sbj0rmml536r0000gp/T/build-1559492409063.json --no-banner --project-dir /shared/axway/traghetti\r\n[INFO] : Found Titanium plugin id=ti.alloy version=1.0 \r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: simulator\r\n[INFO] : Building using iOS SDK: 12.2\r\n[INFO] : Building for iOS Simulator: iPhone X\r\n[INFO] : Building for device family: iphone\r\n[INFO] : Team ID: n/a\r\n[INFO] : Minimum iOS version: 8.0\r\n[INFO] : Logging enabled on port 18000\r\n[INFO] : Debugging disabled\r\n[INFO] : Profiler disabled\r\n[INFO] : Set to copy files instead of symlinking\r\n[INFO] : Forcing clean build: /shared/axway/traghetti/build/iphone/build-manifest.json does not exist\r\n[INFO] : Initializing the build directory\r\n[INFO] : Found Alloy app in /shared/axway/traghetti/app\r\n[INFO] : Executing Alloy compile: /usr/local/bin/node /Users/Medixal/.appcelerator/install/7.0.11/package/node_modules/alloy/bin/alloy compile /shared/axway/traghetti/app --config platform=ios,version=0,simtype=none,devicefamily=iphone,deploytype=development,target=simulator --no-colors\r\n[INFO] : [config.json] regenerating CFG.js from config.json...\r\n[ERROR] : : EPERM: operation not permitted, fchmod\r\n[ERROR] : Alloy compiler failed\r\n{code}\r\n\r\nh3. Expected Result\r\nThat works.", "attachment": [], "flagged": false, "summary": "Changing user on MacOS blocks compilation", "creator": { "name": "gtassistro", "key": "gtassistro", "displayName": "Giorgio Tassistro", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gtassistro", "key": "gtassistro", "displayName": "Giorgio Tassistro", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio 5.1.2", "comment": { "comments": [ { "id": "448800", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you please share \"appc ti setup check\" log in here? thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-06-03T21:39:19.000+0000", "updated": "2019-06-03T21:39:19.000+0000" }, { "id": "448889", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi [~gtassistro].\r\n\r\nFrom the logs it looks like the user you're using doesn't have permission to write files in the directory. Was the project initially created by the other user? Can you go into finder and give your MacOS user admin permission to the workspace directory and try again?", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-06-06T08:48:02.000+0000", "updated": "2019-06-06T08:48:02.000+0000" }, { "id": "449725", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~gtassistro],\r\nWe haven't heard back from you since our last response. I thought I’d check in to see how things are progressing with your need? \r\n\r\nPlease let us know if the problem persists. ", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-07-11T10:23:06.000+0000", "updated": "2019-07-11T10:23:06.000+0000" }, { "id": "449733", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Make sure the user has had permission to write files in the directory. If the user doesn't have permission, then he will not be able to compile. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-07-11T17:33:53.000+0000", "updated": "2019-07-11T17:33:53.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }