[AC-2483] A symlink in the Resources directory stops app from building/deploying to iOS devices.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-07-11T18:49:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | build, failure, ios, link, pre-complie, symbolic, symlink |
Reporter | Alex Peckham |
Assignee | Mauro Parra-Miranda |
Created | 2013-07-11T10:12:32.000+0000 |
Updated | 2016-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)
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.
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