Problem Three20 JSON: Can be deployed on a simulator but not on a device (extThree20JSON)

advertisements

Everything builds and runs in the simulator fine ... but when I attempt to run on device I get:

"arm-apple-darwin10-gcc-4.2.1: ..../three20/Build/Products/Debug-iphoneos/libextThree20JSON+YAJL.a: No such file or directory"

I check that directory and indeed the file doesn't exist. It does exist in the "Debug-iphoneosimulator" though (which I guess explains why it works in the simulator).

So what gives and what can I do to correct this?

Thanks


This is fixed by adding the library via the python script from Three20. Do this in the command line:

python src/scripts/ttmodule.py -p ~/MyApp/MyApp.xcodeproj -c Debug -c Release extThree20JSON:extThree20JSON+SBJSON

OR

python src/scripts/ttmodule.py -p ~/MyApp/MyApp.xcodeproj -c Debug -c Release extThree20JSON:extThree20JSON+YAJL

depending on which library you need.