Issue with Xcode 4.1 & iOS 5 - xcode

So basically i have upgraded to iOS5 and xcode 4.2 but after a little playing around i found out you can't submit apps to the app store with it (even if the apps are set to 4.3 or lower)
So i reinstalled xcode 4.1 (xcode did some back up thing so i still have 4.2) and started work on application building and such like. Submitted application to app store / testing on device everything running fine.
But suddenly (well just now) xcode has said:
The version of iOS 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.
So i can no longer test apps on my device, nor can downgrade my iPod says apple...
but what im sooo confused about is that it was all working a few hours ago.
Why can't i do it now?
Anyone know a fix?
Thank you.
Eli

Apple has apparently told testers of iOS 5 that any devices updated to that beta cannot be downgraded back to iOS 4. They will only be able to further upgrade their device and eventually install the final iOS 5 release. From Apple:
Devices updated to iOS 5 beta can not be restored to earlier versions
of iOS. Devices will be able to upgrade to future beta releases and
the final iOS 5 software.
However, I've also seen this post: http://www.jailbreakmovies.com/2011/06/08/how-to-downgrade-ios-5-back-to-ios-4-3-3-tutorial-video/ which claims to be able to restore iOS 4.3 to a device. I haven't tried it, but if you're feeling adventurous and/or desperate, you might give it a go.

Related

If I have macbook that can't get last version of Xcode - could I publish my applications to App Store?

I have Macbook Pro 2011 and now I want to develop apps for iOS. Today I understood that I can't install macOS Mojave, and relatively I can't get last Xcode version. The latest version for me - is 10.1.
So, I have question: could I publish applications in the future to App Store, or it's the end and I need buy new Macbook ?
You mentioned that you are having Xcode version 10.1 which covers iOS 11+ compatibility & also iPhone X Max simulator supports. So in all you have not much older version of Xcode.
As per my knowledge you will still be able to develop & deploy apps from this Xcode version. And also Apple will continue support for at least next 2 years for this Xcode version.
So you can still be able to use your current Mac system.
Important Note :
Although current Mac system will allow you to develop & deploy apps its more preferred to arrange new Mac system to make sure get support of the new Apple features & functions.
Hope it will help you.

Do I need Xcode 7 and Swift 2.0 to update my app

I have an UI issue in my Swift 1 (Xcode 6, iOS 7.1) app on devices running iOS9. I've tried to convert my app to Xcode 7 and Swift 2.0 but I'm running in a lot of issues here.
To give my customers a quick fix until I've figured out whats wrong I was wondering if I can download and install Xcode 6 (the version I build and uploaded the app last time) correct the UI issue (I know what to do) and upload the app again.
In a nutshell: Will Apple deny an app update with an old Xcode/Swift version?
The “Submit Your Apps” page currently (as of 2015-09-23) says
If your app still depends on Xcode 6, you'll need to keep a partition or external hard drive with OS X Yosemite installed in order to submit from Xcode 6.
This clearly implies that you can still submit apps with Xcode 6 (and therefore with the iOS 8 SDK).

IOS5 IOS 5 (9A334) iPhone 4 XCode 4.2 4D199 Lion 10.7.2 Instruments 4.2 (4233) Not Working

Can not seem to get an iPhone 4 with IOS 5 connecting to instruments. Tried from XCODE Profile and Attaching to Process with no luck. Anyone else seen this?
Same setup works fine with IOS 4.2.1
But, does the same thing (does not work) with IOS 4.3.5 (8L1)
Build target is 4.2, no change if build target changes...
Need to do some run time performance analysis.
Have to hard stop the Instruments tool after every run for some reason. Then will work fine from XCODE / PRODUCT / PROFILE. At least on this setup.

Location services are not functional in iOS 4.3 simulator running on Mac OS 10.7 with Xcode 4.2

I have built an iOS app that leverages Core Location Framework. I have Xcode 4.2 installed and Lion and now Location services are not functional.
Anyone know if there is a patch or workaround for this? I basically stuck and can't test my app on the simulator.
The updated location services in the iOS Simulator are not available to the general public as of yet. If you have access to the iOS Developer Program, you can download the latest beta of XCode, 4.2, and test that way.
As a warning, the beta is just that, a beta. You may end up with more testing issues that are completely unrelated to your location services.
Best case scenario is 2 machines, one for each. That isn't always feasible, so you'll have to decide which is more important. Good luck.
Testing on the device would definitely be a good work around. You will want to test on a real device to check Xcode 4.2 is still in Beta, so this might be a bug in this latest version. According to the documentation it is supposed give you the latitude and longitude of the Apple headquarters as a default.
iOS Simulator notes

XCode 3.2.6 forcing iPad as Active Executable for simulator

Have exactly the same issue as here. But it's solution does not work for me! I connected both iPhone and iPad devices, but still after changing Device to Simulator or cleaning while Simulator is selected XCode selects iPad Simulator's Active Executable. Which is very strange since my project is iPhone only (Target Device Family = iPhone).
I've experienced same problem Xcode 3.2.6 version released on 10 March (the same day as XCode 4 was released). But then somehow problem gone (may be after I've connected a device?).
Few days ago when Xcode 4.0.1 was released, I've found that XCode 3.2.6 was updated too on ADC (image posted on 25 Mar). So I've downloaded it, compared image to "old" XCode 3.2.6 image from 10 Mar, found differences and installed it.
This is likely a bug in Xcode 3.2.6 that's fixed in 4.x. If it's that annoying to you, it's probably worth switching to Xcode 4.
Besides, Xcode 4 is the future (like it or not) and Xcode 3 is not likely to get any more enhancements.

Resources