I am running into an issue on my iOS device. The app builds, and I can deploy it to my device just fine, but it throws an error on launch: 'Ti.UI.iPhone' [undefined] is not an object.
I have cleaned my project, both through Titanium Studio and manually. Both did not work. The app runs just fine in the simulator.
For reference, I am using the iPhone specific UI inside of a commonJS module that I am building if that means anything.
1 Answer
i had a similar issue. basically i had a CommonJS module that i was "require"-ing in a file underneath the root iphone folder. this worked fine on the simulator, but not on the device. basically i had to move that file outside of the root iphone folder. it seems it does not compile the correct modules using that method.
Your Answer
Think you can help? Login to answer this question!