I landed on this site which tells you how to modify this Makefile to be able to compile without needing to codesign (meaning you don’t need to pay Apple 100 bucks), I gave it a go, and it worked with some modifications.

EDIT: I’m getting some strange errors with some apps, sometimes it doesn’t find declaration of classes from the frameworks, it might be me doing something wrong, I don’t know, I’ll look into it.

EDIT2: I have the theory that it gets confused with custom classes, as it didn’t work on two projects I had with custom classes, but it did work on another one which didn’t have. (With custom classes I mean classes that aren’t included in the XCode Template). I haven’t verified this theory though.

Here I an posting my resulting Makefile. Please note that I removed the install part because I don’t need for it to install it through SSH on my iPhone.

Things you have to do for it to work:

  • Put the name of your app at the top
  • Put all images/sounds in a Resources folder
  • Open the Info.plist and set the Bundle ID, the Name and the Executable
  • Uncomment all the frameworks that you DO need

After that, just do

1
$ make dist

And you’ll have your ARM .app in a the Build/3.0 folder.

http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif File: Makefile 3.0 (2.82KB)
added: 25/09/2009

Tagged with:  

Leave a Reply