kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 473 forks source link

Small tweaks to allow for cleaner behavior + Archiving #5

Closed jweinberg closed 13 years ago

jweinberg commented 13 years ago

The Framework targets now use SKIP_INSTALL to allow for achieving. The universal script will now use the proper build directories based on the user preferences

kstenerud commented 13 years ago

Hi Josh,

I'm running some tests with these new tweaks but I don't get the option to archive. As well, the universal framework build is building only the Debug build now. Do you know of a way to get a "run script" target to do a release build?

jweinberg commented 13 years ago

The universal framework target should be using whatever the active configuration is set as. The default for the 'Run' scheme is Debug.

And as for the Archive, that was more in reference to the use case of using the Framework target as a subproject dependancy. If Skip Install isn't set Xcode4 won't build an IPA

kstenerud commented 13 years ago

Ok that's cool, but there needs to be a way to build a release mode framework. I'm not sure how to do that from a script other than coercing the build config manually like I was doing before...

jweinberg commented 13 years ago

Yes, you just change it in the Scheme setting, or use Profile or something similar.

http://cl.ly/3z3s322o2x1X1b2G1l2N

kstenerud commented 13 years ago

Oh man thanks! That's been bothering me since Xcode 4 came out! Didn't even notice there was an info tab in the scheme editor :P