iOS Lion - Monotouch and Simulator 4.3 - xcode

I have the following configuration on Mac OS X 10.7.4:
MonoDevelop 3.0.3.2
Mono 2.10.9
Xcode 4.3.3
Monotouch 5.2.12
I'd like to test my app developed in Monotouch, on iOS 4.3, because on iOS 5.0 works fine. To do that i've tried to install simulator 4.3 in Xcode but when i open Monotouch there is just Simulator 5.0.
I read some information on google and obviously, it advised to install SDK 4.3 but there is no version with this SDK for iOS Lion (the only one on Apple developers website is for Snow Leopard).
I would be interested to know how to install the simulator on my computer.

It's a bit hidden but you can still download of Xcode releases from: https://developer.apple.com/downloads/index.action
Downloading Xcode 4.0 should give you the final SDK for iOS 4.3.
You can install 4.2 and 4.3 (.app) side-to-side on Lion (I have them). This should also work for 4.0 and 4.3 since they (like 4.2) ends up in different directories.
Note that you'll need to tell MonoDevelop to switch Apple SDK location (and restart MD).

The solution that worked for me was to install it through Xcode.
XCode > Preferences > Downloads
You should see installs available here. Click the Install button to get it.

Related

What was the last version of Xcode shipped with iPhone Simulator 3.0?

I installed iPhone Simulator 3.0 on Xcode 3.2.6 on Snow Leopard using a misterious package iPhoneSimulatorSDK3_0.pkg I found on a chinese web page, but the simulator keeps saying "iOS Simulator could not find the SDK. The SDK may need to be reistalled"
So, I need the to install the full version of the mentioned Xcode
Any help is apreciated
iPhone SDK 3.2 Final with Xcode 3.2.2 for Snow Leopard (10.6.0) has iOS Simulator 3.0 built-in

no provisional ios devices are available

my Mac has Snow Leopard and Xcode about shows 4.2 (4c199)
An update came to my iphone4 and it has now ios5.1 (used to be ios5.01)
When I try to run on the ios device target the build goes through fine but the installation fails with "no provisional ios devices are available with a compatible ios version".
When I look in Xcode organizer I can see similarly:
The version of iOS on “XXXXXX’s iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
and here is what the organizer shows:
OS Installed on XXXXX’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2 (8C134)
4.2
What is the meaning of "Latest" here?
I hope I do not need to install Xcode 4.3 as it will require moving to Mountain Lion in the middle of the project?
Prior to this update the things used to work, I think (lately I was working only in the simulator, but before that everything work on the iphone ok).
Thanks for any help in advance.
Regards,
Victor
Your mistake was updating your iphone to IOS 5.1, because your current version of xcode doesn't support it. So basically, you either have to downgrade your IOS device to 5.0 or you have to upgrade to Lion(not mountain lion) and then install the latest version of xcode which does supports IOS 5.1.
Downgrading can be a bitch btw, so I think lion is your best bet. Ill have to do the same soon. Hope this made things a little more clear! Best of luck man!

xcode 4.2 with ios5.1

I have Xcode version 4.2 with OS X 10.7.2, and I was trying to install our app on the new iPad, which is running iOS 5.1. The problem is Xcode doesn't recognize the iPad as a deployable device. I know this is a common issue, but please read it all.
I get this in the organizer: (after push the "use for development")
The version of iOS on “iPad” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on iPad
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
Now I know that in order to connect the iOS 5.1 device to Xcode I need the latest release of Xcode, but I can connect another iPhone with iOS 5.1 to the same Xcode and deploy an app to it.
Why is that?
The only different between them is that this iPhone was previously connected to Xcode, and the iPad was not. I did manage to install an app to iPhone with iOS 5.1!
What is happening here? I don't want to install the new Xcode for nothing if I can install to 5.1.
Thanks.
Xcode will not let you build to an iOS version higher than it supports, and in this case with Xcode 4.2, you will not be able to deploy to iOS 5.1. I recommend updating to OS X Lion 10.7.3 and downloading the 4.3.2 version of Xcode. Do this any you will be able to deploy to your 5.1 device without any problems. In addition to this, the second device should not be able to receive builds from Xcode. Please check and see if the device in question is in fact running iOS 5.0.1 and not 5.1 as 5.1 will not work on Xcode 4.2 and 5.0.1 will.

MonoTouch and Xcode 4.3 from the App Store

I removed Xcode 4.2 from my system and installed 4.3 from the App Store.
Now when I want to build my app in MonoDevelop it says
The Apple iPhone SDK is not installed.
Using Xcode I can build and run iOS apps just fine.
I tried reinstalling MonoTouch, but it will fail saying XCode is missing.
Any idea how to get this working again?
Xcode 4.3 moved to a different directory, and MonoTouch can't find it anymore.
Yesterday we released a beta update that fixes this - just enable the beta channel in MonoDevelop (Preferences -> Updates) and then update to MonoDevelop (2.8.6.5) and MonoTouch (5.2.5).
Once we've been able to test the changes a bit more, we'll release these packages to the stable channel.

iOS SDK migration

Recently i've installed Snow Leopard and xCode 3.2.5 with iOS SDK 4.2
And now i need to add previous sdk version (3.1.2) that was in my Leopard. I have mac-partition with old OS. What is the best way to do such migration? I have iphone_sdk_3.1.2_with_xcode_3.1.4_leopard_9m2809 image. When i launch it, it offers to install developer tools wich includes xCode of erlier version.
a little addition to my question. if I set iphone_sdk_3.1.2_with_xcode_3.1.4_leopard_9m2809 that does not give me an option NOT to install xCode 3.1, will I get an downgrade from xCode 3.2.5 to 3.1.2?
My guess is that the following link will help you in installing OLDER SDK (Device/Simulator) in order to test iphone apps on OLDER versions (for example my iPhone 2G works only up to 3.1.3)
http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/

Resources