[TIMOB-5141] JS iOS modules dont build when SDK is off of users Library
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Done |
Resolution Date | 2020-01-09T19:22:20.000+0000 |
Affected Version/s | Release 1.7.0, Release 1.7.1, Release 1.7.2 |
Fix Version/s | n/a |
Components | Tooling |
Labels | build.py, compile.py, ios, modules |
Reporter | Matthew Apperson |
Assignee | Ingo Muschenetz |
Created | 2011-08-29T06:53:29.000+0000 |
Updated | 2020-01-09T19:22:20.000+0000 |
Description
When building a JS based iOS module, running ./build.py will generate an error of:
Traceback (most recent call last):
File "./build.py", line 191, in <module>
compile_js(manifest,config)
File "./build.py", line 69, in compile_js
from compiler import Compiler
ImportError: cannot import name Compiler
This happens when the titanium.xcconfig file has the TITANIUM_SDK set with the SDK in the users resource directory.
for example:
TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
I was able to move past this by creating a simlink