ios - How do I run the Xcode project generated by Titanium? -
i'm sure used possible don't seem able run xcode project generated titanium in xcode. app installs in simulator , starts stops following runtime error:
could not find file app.js
i'm running xcode 7.2.1 appc cli 5.1.0 / ti cli 5.0.5. app built 5.1.2.ga.
running app in xcode provided access instruments , perhaps better insight in native level crashes etc.
what trying isn't officially supported, possible.
first, clean build of titanium app appcelerator studio (or command line). open xcode project build/iphone
directory.
next, open xcode's preferences , go "locations" tab. click "advanced" button under "derived data" field. set build location "custom" , "relative workspace". lastly set "products" location build/products
, "intermediates" location build/intermediates
. click "done" , close preferences dialog. need once.
you can build app xcode, there few gotchas:
- you cannot clean xcode project. you'll nuke app resources.
- you can build same target built titanium app in appcelerator studio. in other words, have issues building titanium app ios simulator, try building device xcode. don't this.
again, not supported. i'm working on improving developer experience, it's going take while. in meantime, hope above helps.
Comments
Post a Comment