Tuesday, June 9, 2009

Forcing xCode to update the bundle

When you modify some of your ressources files in a xCode project, the bundle does not get updated until you modify some port of the code (or do a rebuild all, which takes a while on bigger project).
So here's my (ridiculous) work around:

mac:~ jyaif$ while [ 1 ]; do touch /Users/jyaif/PewPew/Resources/data/boo; rm /Users/jyaif/PewPew/Resources/data/boo; sleep 5; done

In other news, I am still waiting for my update to get approved. I suspect Apple takes this long, to discourage devellopers from updating their apps too often, as this would force them to hire one or -god forbid- two additional testers. In totally unrelated news, I installed and tried the Android SDK :o