I've got one old ipod touch 2g which can be upgraded just to 4.2.1.
I also have xcode 4.5 which says:
Unsupported device Devices of type “iPod touch (2nd generation)” are
not supported by this version of Xcode.
Is there any way I can develop for this poor old device on my current version of xcode?
Thanks.
Go to your targets > summary > deployment target and set it to 4.3 or greater.
Go Here for earlier
Related
How do I fix:
warning MT1108: Could not find developer tools for this 6.1.3 (10B329) device. Please ensure you are using a compatible Xcode version and then connect this device to Xcode to install the development support files.
I updated my iPad to new version of iOS and this started happening...I updated my xcode version to the latest stable version (Xcode 5, I believe)...I still have `xcode 4 on my computer how do I get this stop happening...
You'll need Xcode 4.6 - which was the version shipping support for the iOS 6.1 SDK. Xcode 4.5 shipped support for iOS6 while Xcode 5 previews (not stable) ships support for iOS7.
In general a later version will be ok, but sometimes the changes are too big (e.g. moving from gcc to clang) that this might not work. Also the NDA around iOS7 and Xcode5 means you're unlikely to get help here (or in other public forums).
So if you're developing for iOS 6.1 (the released, stable version of iOS) you should be using Xcode 4.6 (the stable tools/SDK) so you can deploy your applications to the appstore.
I have got an application developed with Monotouch 4.0.7. This app is running on iPads with iOS 4.3.
Now, I want to migrate to the latest Monotouch version is 5.0. Will I be able to deploy my app on iPads with iOS 4.3? Or Monotouch 5.0 only for iOS 5.0?
Yes, it is possible to develop for iOS 4.3 (or even earlier iOS versions) with MonoTouch 5.0.
To set the minimum iOS version your app needs, go to the project's options, and in the iPhone Application page set Deployment Target to the minimum version.
Have in mind that MonoTouch will not tell you if you use iOS 5.0 API in your app. You can add iOS 5.0 features to your app, but you must not try to use those features on a lower version (here you can see how to accomplish this).
You can upgrade to Monotouch 5.x without any problems. In Monodevelop, change your SDK to 5.x
Just make sure your deployment target remains 4.3, if you still want to target that platform.
You will have to pay attention to not calling any methods that don't exist in 4.3.
If you want to have different/extended behavior on iOS 5 devices, you can check the OS version and use a different code branch.
Another small thing to be prepared for: iOS5 behaves differently in some situations. For instance if you are having hierarchical UIViewControllers, iOS5 will automatically call all UI events like ViewWillAppear(), even if you don't use the new UIViewControllery hierachy API.
What I want to say: test your app thoroughly on both iOS versions.
To continue in my post-XCode 4 upgrade confusion, i came across this....
My Build Settings has Base SDK as iOS 4.3.
Now back in XCode 3.x days I remember 2 things:
The Base SDK was always set to iOS 4.0.
The target device was set to iphone 3.0 (to ensure greatest iphone audience).
What consequence is there for this Base SDK?
I mean, if SDK 4.0 provides support for features that only iOS4/iPhone4) provides, then why are these two separate build settings?
You can choose iOS 4.0 as your base SDK, but as long as you do not use APi's that are 4.0 and up your code should run on 3.x unless you used apis that were only in 3.2 and so on =)
Always a good thing to check the availability of methods when you look in the class reference.
I recommend using 4.x stuff.. because the people that use 3.0 are not worth supporting ( Only the really old devices are still running that, iPhone 1 -- most users have upgraded by now to an iPhone 3Gs or 4 ), the features you get in 4.x, including GCD are awesome.
I started a project under iOS 3.1 and I stopped developing for a while. Now I installed the new SDK with iOS 4.1. If I wanna build now, there is a error message which says "There is no SDK with the name or path 'iphoneos3.1', which actually make sense.
So how can I "upgrade" my project to iOS 4.1?
thx
In the project settings search for base SDK and set this to 4.1. You might set the deployment target to 3.x on the targets' info page (that is if you want to target 3.x, of course).
i've an app that is compiled with iOS4 SDK.
i'd like to test on an ipod touch 1st gen (OS2.2.1)
I've set the deployment target to OS2.0 and Base SDK to 4.0.1
BUT
organizer tells me :
The version of iPhone OS on “iPod” is too old for use with this version of the iPhone SDK. Please restore the device to a version of the OS listed below.
OS Installed on iPod
2.2.1 (5H11)
Xcode Supported iPhone OS Versions
4.0.1
4.0
3.2.1 (7B405)
3.2
3.1.3
3.1.2
3.1.1
3.1
3.0.1
3.0
From what i understood (correct me if i'm wrong), apple now requires app compiled with ios4 so theses apps can run on ipodtouch 1st Gen ???
am i missing something?
Thx
As it says, you can use anything from 3.0 higher. iPod touch 1G devices can use iOS 3 and iOS 3.1, so you should perform an upgrade on your device before using it with the iOS SDK.