+ Reply
Results 1 to 4 of 4

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Use 2.2.1 sdk to deploy to 3.0 device?

is a discussion within the

iPhone / iPod Touch SDK | Development Discussion

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
Is it possible to use a 3.0 iPhone to test apps made in the 2.2.1 SDK? I recently upgraded my 2G iPhone to 3.0, not realizing that the 3.0 SDK
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Use 2.2.1 sdk to deploy to 3.0 device?
    Is it possible to use a 3.0 iPhone to test apps made in the 2.2.1 SDK? I recently upgraded my 2G iPhone to 3.0, not realizing that the 3.0 SDK required 10.5.7.

    Some background: Running OSx86 (iDeneb) 10.5.5 on an XNU kernel. This runs the 2.2.1 SDK perfectly, including instruments and the simulator. However, when I used the recommended combo update to 10.5.7, I have problems. In both the 2.2.1 and the 3.0 SDKs, the debugger does not function, breakpoints do not work, and the simulator causes a kernel panic on the OSx86 system. Not to mention Apple fixed the loophole for non-ADC members to skip provisioning.

    Basically, I've been learning Cocoa touch for the past month and a half and now I can't do any device testing. The only development I can do is on 10.5.5 with the 2.2.1 SDK on the sim. Is there any way to deploy 2.2.1 apps to a 3.0 device? XCode tells me there aren't any compatible devices connected if I try...

  2. #2
    Livin the iPhone Life
    Join Date
    Aug 2008
    Location
    New York
    Posts
    1,023
    Thanks
    3
    Thanked 78 Times in 63 Posts

    No. The SDK must equal the device version.

  3. #3
    What's Jailbreak?
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hi - I don't know if you're still trying to figure this out - the post is a couple months old. Still I thought I'd let you know that it's totally possible to use the 2.2.1 SDK to develop for 3.0 devices. Of course, you can't use the OS 3 features (core data, etc.) There is a trick to getting it to work. You have to actually install the 3.0 SDK to a custom location (we'll call it <SDK3>) - then copy the folder "<SDK3>/Platforms/iPhoneOS.platform/DeviceSupport/3.0 (7A341)" to "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/" assuming that your 2.2.1 SDK is installed in /Developer. Once you've got the DeviceSupport folder, you can trash the 3.0 SDK to free up space. Your device should now show up in Xcode's Organizer, and it will ask you if you want to use it for development.

    I'm using this to develop for a 3.0 device on my PPC mac, which can't run the newer SDK.

    cheers.

  4. #4
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts

    I had actually worked around the problem by changing a plist file in osx which defines the os version. I just upped it to 10.5.7. Nothing broke and the SDK worked. Since then that computer has died (mobo failure) and I have a new Latitude with much better support in OSX that easily installs 10.5.7.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts