I sorta have a strange issue with commonjs and duplicating a project on IOS and I wonder if anyone has experienced anything similar before.
I have a project that is working fine using the commonjs/module style. I create a second brand new project and copy the entire resources directory from the first (working project) to the second (new empty project). When I run the second project only the main window loads. I have a login view that is supposed to load from a (separate js file) and add it to the main window. This works perfectly on in the first project. I have verified the folder structure of the second project and it is identical to the first project.
- There are also no errors when I run the second project. - I have also step through the second project in debug and the modules that are being required return the correct objects - I have also done a Clean and deleted the Build Folder many times
I am not sure what to check next?
I am currently using the following: Titanium Version: 220.127.116.11204132053
SDK Version 2.0.1. GA2
If anyone has seen anything similar or any suggestion would be greatly appreciated. I know its hard without any source code. :)
Here is the solution----
I upgraded to the latest version of studio 18.104.22.168 and GA SDK 2.1.1 and it solved my issue with the projects not loading.
Hi Sean, in that case you can always delete the build folder fron the project directory and and in the next build titanium will create it again, in most cases it solves the problem.
Think you can help? Login to answer this question!