On Tue, Jul 28, 2009 at 3:24 AM, Mahaboob<mahab...@newtok.com> wrote: > I developed an iPhone application using iPhone OS 3.0 and build it against > iPhone OS 2.2. The application uses MessageUI.Framework It is tested in > simulator 3.0. Then from simulator,I changed the Hardware version to 2.2 and > is working fine. My iPhone is having the OS version 2.2. Now I need to test > the application in iPhone without upgrading the OS. > How can I do it ? > When I'm debugging the application by selecting the Active SDK to iPhone > Device 2.2, it yields a lots of errors.
iPhone questions should be asked at <https://devforums.apple.com/community/iphone> However, in general, when building to support multiple versions of the OS (whether for the Mac or for the iPhone), you *always* build against the SDK that contains the APIs that you need (i.e. you don't set the Active SDK to the earlier SDK when building). You then need to make sure that your deployment target is set to the earliest OS version that you want to support. Additionally, any frameworks that don't exist in the earlier version must be weak-linked as well. -- Clark S. Cox III clarkc...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com