Unable to install iOS 5.1 Simulator in Xcode 4.5 - iphone

When I want to install iOS 5.1 Simulator in Xcode 4.5 then I receive a following error
You can see I have installed iOS 5.0 Simulator without problems. Do you know how can I resolve this issue?
Thank you.

You can try to go to https://developer.apple.com/downloads/index.action and download it manually.
I had same problem as you and I wasn't able to download Command Line Tools from XCode 4.5 with same error message you are getting. I noticed when I logged into Member Center on Apple Developer portal that I had some warning message which was saying that Apple has changed some License Agreement text. This License Agreement change should be accepted. Without that I wasn't even able to gain access to iOS 6 SDK beta part of iPhone Developer portal. After accepting this, I was able to download latest version of XCode 4.5 and do all updates from XCode (Command Line Tools and iOS 5.0 Simulator as well).

I just updated OSX if possible and restarted XCode.

While the issue is not fixed by apple you can find a temporary solution here
Credit goes to jesper-christensen in this question.
Cheers Jesper and Dominik

Related

Getting error code -10670 when running a Mac Catalyst app in Xcode

I am developing an app for iOS and also using Mac Catalyst to run on my Mac. The app runs fine on my iPhone but always shows an error on Catalyst. The code used to run fine before updating to Big Sur Beta 6 from Beta 5. Here's a screenshot of the error: . Also the error in code blocks for anybody who wants to copy it.
The operation couldn’t be completed. (OSStatus error -10670.)
Domain: NSOSStatusErrorDomain
Code: -10670
User Info: {
"_LSFunction" = "_LSOpenStuffCallLocal";
"_LSLine" = 3664;
}
--
System Information
macOS Version 11.0 (Build 20A5364e)
Xcode 12.0 (17210.1)
https://github.com/MysteryCoder456/VegieMato/tree/backend is the GitHub Repo if anybody wants to reproduce this (i.
Faced same issue after upgrading to macOS 11 Beta 6. Reported bug to Apple but meanwhile found workaround - Select Product in Xcode, select 'Show in Finder'. Launch it from Finder. Additional step, hopefully Apple will look into it.
The problem is solved with new Mac OS 11.0 Beta (20A5374g).
If your catalyst app has multi-window support, you may still need to kill your existing app before launching the new one.
I also had the same problem. (I say had, I guess I still do, however I have a workaround) My App had been developed as iOS / iPadOS with Mac support. All has been working great throughout macOS 11 beta builds. Until today that is, when I, as you, updated to Beta 6. Upon attempting to run for macOS target I get the same error as you have posted.
After some googling I found https://www.virusbulletin.com/uploads/pdf/conference_slides/2015/Wardle-VB2015.pdf and had a go at simply opening the app directly from the build folder. Hey presto, it opened without any problems, I even cleaned out the build folder and built it again to make sure.
This would appear to be a problem that the next version of Xcode beta should fix. Until then, unless anybody can suggest a better fix, this will have to suffice for me at least :-(
Sam
-10670
I was having this same error code upon installing a Developer ID Distributed, Auto Signed version of a catalyst app on a test machine, non M1 Chip, Mac Mini(Late 2014) with MacOS Version 12.0 Beta installed.
The solution was to close the previously installed version of the app. Before opening the new version that I Airdrop over to the test Mac machine.

Xcode 4 will no longer run apps on 4.2.10 device (CDMA iPhone)

Up until today, I have been able to test my app on my CDMA iPhone, running 4.2.10. I am building against the 4.3 SDK, with a deployment target of 4.0.
After restarting my phone today, Xcode will no longer allow me to test the app on my phone, with this message in the Organizer window: "The version of iOS on "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, or update to the latest version of the iOS SDK"
Unfortunately there are some bugs with location services in the simulator, so I can't use that for testing either.
Can I even install the 4.2 SDK in Xcode 4? Is anyone else having this problem, or (hopefully) does anyone know how to fix it? Thanks for any help!
If you install xcode 4 it will actually gather the build chain from your phone and use it for compiling. You can see this in the organizer window (Window->Organizer?).
You know I had that same issue i found that I had to download the latest xcode and reinstall because for some reason the ios that came with xcode knew how to build on my phone. Sorry man.

ios5 GM upgrade went bad...how to save my device?

I have tried to follow the upgrade to iOS5 process...
but didn't realize that my device must be registered in iOS developer program.
I have registered the apple id in the program (after i upgraded the device) - but now when i load the device - it says it is unable to activate my device because my device is not registered in the ios developer program.
How should i resolve this issue? We have a developer license - and we have paid the enrollment fee to apple.
I need to figure out how to complete the upgrade to ios5 or to rollback the device to 4.3 in order to restore it's functionality.
any suggestions?
Restore it using a previously downloaded iOS image in xCode Organizer. If you don't have an image, you can download them off Apple's Developer portal.
The solution was to re-install the ios5 Beta GM on the device.
it worked like a charm.
it turns out that rollback from 5 backward is not such a good idea.

iOS 4.3.1 on the phone - does it work with XCode 3.x ? or only 4.0.1?

I upgraded my iPhone to the latest OS (4.3.1) yesterday, and noticed there is no corresponding XCode 3.x release, only a 4.x release (4.0.1).
Since upgrading I am getting warnings when I try to install apps on the device using my development certificates (Application failed codesign verification).
Not sure if the OS upgrade on the Phone and the error message are related, so I'm just asking the question if anyone else had this happening?
And are we supposed to use XCode 4.0.1 when we develop for the 4.3.1 iOS release or can we use a 3.x version as well?
The Xcode version number isn't important, but the SDK version number is. You can get the latest SDK with either Xcode 3.2.6 or Xcode 4.0.1 at the time that I'm writing this.
You can still download the XCode 3.2.6, it goes with the SDK 4.3, and it is free to download.
You can try with XCode 4 as well, but you have to either to have an iPhone or Mac Developer account (99$/year) or you need to buy it from the AppStore
It still works, however of you first attach your iPhone to Xcode it will ask you to download the debugging symbols off the phone. Answer Yes to this question and you are ready to go.
However there is one more thing: usually Apple makes restrictions about the SDK you should use when submitting apps to the store. So if you want to submit an app it could be that you have to use the most recent SDK.
Deploying an application directly from XCode 3.2.6 on a device where iOS 4.3.1 has just been installed won't work.
First, you need to open XCode's Organizer window and ask to collect information from the device. Then it will work fine.

Install Dev App on IPhone - Not in List

I have recently provisioned my IPhone to be a development device when I had version 3.1 of the firmware installed.
I was forced to upgrade firmware last night due to 3.2 being the base supported firmware by the framework I am using. I am now running 4.1 of the iOS firmware.
Before I did this the device showed up in XCode as a valid target to run my application aside from the simulator. Now when I open xcode I never see my device in the list. I also look at organizer and it is enabled for development as I am able to look at the console for the device.
Also the provisioning profiles are still there.
I am at a bit of a loss as to what is wrong. I appreciate any ideas people may have as to how I can fix this.
You're saying it shows up in the Organizer, but not in the "Overview" list in Xcode?
Are you perhaps still running the 4.0 SDK, and does it show up with a "yellow light" in the Organizer along with the error message like "this device's firmware is too new for me"? If so, updating to the 4.1 SDK should fix your problem.