Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2483] A symlink in the Resources directory stops app from building/deploying to iOS devices.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-07-11T18:49:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsbuild, failure, ios, link, pre-complie, symbolic, symlink
ReporterAlex Peckham
AssigneeMauro Parra-Miranda
Created2013-07-11T10:12:32.000+0000
Updated2016-03-08T07:41:32.000+0000

Description

*Problem* If there is a symlink in the Resources directory to another directory in the filesystem, the project will not deploy to iOS devices (build fails). Same project runs correctly in the iOS simulator and on Android devices. The reason for doing this is to include common resources from elsewhere without having to duplicate them - for example images. The bug occurs even if the directory linked to is empty. Error as below, persists even if build dir deleted and project cleaned. Builds correctly as soon as symlink deleted. *Log*
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :  	PhaseScriptExecution Pre-Compile build/connectTour.build/Debug-iphoneos/connectTour-universal.build/Script-DABB369F12E8CB280026A6EA.sh
[ERROR] :  (1 failure)

Comments

  1. Alex Peckham 2013-07-11

  2. Daniel Sefton 2013-07-11

    Cannot reproduce with Ti SDK 3.1.1 GA or 3.2 CI. I can reproduce it with 3.1.0 GA however. Please update your SDK and be sure to include your SDK version in future. Thanks.
  3. Alex Peckham 2013-07-11

    Thank you, I will be sure to include SDK version in future. The project is using 3.1.0 GA so I will try updating the SDK to 3.1.1 GA. Will let you know if issue persists. Best, Alex

JSON Source