I have the example code for building iOS modules working – it draws a red square. I have added a framework to my module in XCode and build.py still succeeds. But, when I run the module test harness with ‘titanium run’ build fails and the log file shows the message “ld: framework not found MyFramework”
How could the module build successfully but not work in the module test harness and how can I make it work both places?
The frameworks are linked when the module test harness runs so build.py can succeed regardless of the framework situation.
The problem here was that I needed to specify the local folder where MyFramework was sitting like this:
OTHER_LDFLAGS=$(inherited) -F”${HOME}/Documents/test/module/” -framework MyFramework