Warning MT1108 after ios update - xamarin.ios

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.

Related

Does MtouchSdkVersion setting affect what version of iOS we can run on?

When deploying an existing Xamarin forms proj from Visual Studio I was getting errors like "Failed to load AOT module ‘System.Net.Http’ while running in aot-only mode". This had worked in the past, it seemed Xcode had recently updated before I hit the problem. I found I was able to get the project deploying by changing the csproj entry 10.0 to 10.3. It looks like I could change this setting and everyone would be ok if they also had updated xcode.
My concern is: Does this change what versions of iOS the application can support? Would it have any other surprises when deployed to the apple store?
One thing I don't understand is I am the only person seeing this issue. Another developer is able to deploy to an iOS device (iPad instead of an iPhone) that also has the latest version of iOS without problems. Running “xcodebuild -version” shows we have the same version of xcode installed (8.3.1) and running “xcodebuild -showsdks” shows we have the same iOS sdk available (iOS 10.3).
There is some good documentation on the iOS SDK version: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/cross_development/Overview/overview.html#//apple_ref/doc/uid/20002001-BABEBGCF
You can build against a higher version of the SDK and run against lower versions of iOS.
Building against different versions of the iOS SDK can cause differences in behavior, these may show as regressions in your application.

Develop for ios 4.2 on xcode 4.5

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

Monotouch 5.0 and iOS 4.3 compatibility

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.

XCode 4 - Base SDK == Latest iOS (iOS 4.3)

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.

iOS4 SDK and iPod touch 1st gen

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.

Resources