Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18503] Mac: Cannot build projects - "EACCES" accessing .log file

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-02-04T07:35:26.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.0.0
ComponentsTooling
Labelsqe-3.6.0
ReporterEric Wieber
AssigneeFeon Sua Xin Miao
Created2015-02-03T18:01:08.000+0000
Updated2015-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.

Comments

  1. Shannon Hicks 2015-02-03

    What version of the CLI are you running?
  2. Ingo Muschenetz 2015-02-03

    Going to guess this is a CLI issue?
  3. Eric Wieber 2015-02-03

    CLI version 3.4.1
  4. Ingo Muschenetz 2015-02-03

    [~ewieber] please try 3.6.0
  5. Eric Wieber 2015-02-03

  6. Ingo Muschenetz 2015-02-04

    [~fmiao] perhaps you can take a look?
  7. Chee Kiat Ng 2015-02-04

    [~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.
  8. Feon Sua Xin Miao 2015-02-04

    [~cng] Yes it is.
  9. Feon Sua Xin Miao 2015-02-04

    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.
  10. Eric Wieber 2015-02-09

    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.

JSON Source