[TIMOB-18503] Mac: Cannot build projects - "EACCES" accessing .log file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-04T07:35:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.0.0 |
Components | Tooling |
Labels | qe-3.6.0 |
Reporter | Eric Wieber |
Assignee | Feon Sua Xin Miao |
Created | 2015-02-03T18:01:08.000+0000 |
Updated | 2015-02-09T19:23:47.000+0000 |
Description
After creating a new project (Alloy or Classic) on Mac, I am unable to build the project. I get the below error:
events.js:72
throw er; // Unhandled 'error' event
^
Error: EACCES, open '/Users/ewieber/Documents/Appcelerator_Studio_Workspace/sdk test run/build/build_iphone.log'
*Steps to reproduce issue*:
1. Create a new project with SDK 3.6.0.v20150203071743
2. Build the project for simulator
3. Notice that the above error is shown and an empty build folder is created.
*Expected Results*:
The project is able to build.
*Notes*:
Cleaning the project has no change on the issue. I was able to make the project build by selecting a 3.5.1 SDK, building, changing the SDK back to 3.6.0.v20150203071743 and building again.
What version of the CLI are you running?
Going to guess this is a CLI issue?
CLI version 3.4.1
[~ewieber] please try 3.6.0
[~fmiao] perhaps you can take a look?
[~fmiao], maybe something to do with permissions on the build folder. I manually changed it to read / write and it was able to build. Not sure if it's the whole reason.
[~cng] Yes it is.
PR : https://github.com/appcelerator/titanium_mobile/pull/6618 Functional Test: 1. Create a new project 2. Build the project for simulator 3. The project should be built.
Verified working as expected using: Titanium SDK 4.0.0.v20150206131709 Studio 4.0.0.201502041613 Xcode 6.2b5 On: iPhone 6 Plus, iOS 8.2b5 iPhone 5S, iOS 8.1 Projects can be created and built normally.