Xcode 4.3 developer preview 2: Compatibility with older iOS SDKs - ios

I work in a testing company and use xcode for obtaining crash and console logs for testing purposes.
I currently have Xcode 4.2 released version (4C199) on a Snow Leopard (10.6.8).
I have apple devices ranging from iOS 3.1.3 till 5.1 beta 2. But on current version of Xcode, I cannot obtain logs from the iOS 5.1 beta 2 device. Rest of the devices show console logs without any problem.
My question is,
After i upgrade to Xcode 4.3, will it still be possible to obtain logs without any compatibility related errors from devices with older iOS versions like 3.1.3 or 4.2.1?

I am not sure and we shouldn't discuss beta specifics outside of Apple's developer forums, but I know what you can do in general to avoid compatibility issues with new versions. Whenever I install an Xcode beta I install it in a custom directory (other than Developer) so that my old and new versions can coexist.

Related

What is the minimum version of Xcode I can use for submission to app store (as of 2015 October)

I have an app on the appstore currently that is built using Xcode 6.2 with a deployment target of iOS 8. The recent release Xcode 7, however only works on OSX 10.10
Can I submit updates to the app store(on 2015 October) by building on an earlier version of Xcode (6.2 in my case) because I am unable to update OSX to 10.10? Does Apple release documentation about this when it releases a new Xcode version? The only thing I found was this
https://developer.apple.com/library/ios/qa/qa1806/_index.html
which says that I should aim to build with the latest version of Xcode but does not mention if the app would be rejected/approved if built with a lower version.
Can anybody help me to get a confirmation regarding this.
You can go ahead with your update, Apple will not reject the App.
Make sure you keep Deployment Target as iOS 8 or less.
Risk is your App may get crashed on User devices with iOS 9 as its not been tested and compiled with iOS 9/Xcode 7.

Distribute App with previous version of XCode

Given that iOS9 & XCode7 are officially released, is it possible to submit an app for Apple review using a previous version of XCode (eg. XCode 6.1)?
If the answer is affirmative, will the app submitted through XCode 6.1 be able to be downloaded by iOS9 device (provided that the deployment target set to 5.1.1)?
Platform in use:
iMac 21.5-inch, Late 2009
Mac OSX 10.9.5
XCode version 6.1
Apple hasn't asked developers to refrain from submitting apps from old versions of Xcode yet. So, you will be able to submit you app from Xcode 6.1. And it will run in iOS 9 devices. But, it's not the ideal way to handle the app submission. There could be some bugs when the app is run in iOS 9 devices. It is advisable to verify the app in the latest Xcode version and submit from there.
At the moment App Store Team requires that to publish your application must be compliant with iOS8 and 64bit architecture (so Xcode6.x better last Xcode 6.4). The deadline for iOS9 would be probably February for new app and July for updates.

Upgraded to iOS7.1 now won't recognise device in XCode?

Everything was working fine, I then upgraded to 7.1 on one of my devices (iPad mini) now XCode won't recognise it.
I found this answer here
XCode 5.1 Beta 4 not recognizing iOS 7.1 Beta 4 test device
But when I go to the organiser it just says
The version of iOS on “Mini iPad” is not supported by 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
But when I go to the link it just take me to the main screen of the Apple developer program (not signed in for some odd reason, when I'm already signed in), then what do I do?
You need to upgrade to XCode 5.1. The final version has been released.
When you upgrade iOS, you always need to upgrade even Xcode to the last version. Just open the MacAppStore to see the update.
The last version of Xcode is Version 5.1 (5B130a)

Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK

I've just enrolled in the iOS dev program. I've an iPad2 running iOs 5.1.1 and am developing in XCode3.2.6.
I've gone through the steps to get a provisioning profile and use my iPad for development but it's not working... in XCode I see an iOS code signing Identity listed now but on trying to run on the device I get:
No provisioned iOS device is connected. Please check the Organizer to
view the status of any connected devices.
My device shows yellow in the Organize screen with message:
The version of iOS on XXXXX 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 XXXXX
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
4.3 (8F190)
4.2
4.1
4.0
4.0.2
4.0.1
3.2
3.2.2
3.2.1
3.1
3.1.3
3.1.2
I assume it's some incompatibility between iOS version and SDK but what am I supposed to do? The organizer screen seems to let me change iOS but asks me where to find the file image, which I don't have. And I don't know how or where to install a different SDK.
Sorry if I explained this badly, I'm pretty lost here. Although I have my app working in the simulator I really don't follow all this provisioning/profile stuff even after reading through the starter guide.
Your Xcode is too old. You must upgrade to at least XCode 4.3. But to upgrade to XCode 4.3, your mac need to be running Lion. It's a hassle, but after that, you will be able to build for your iPad that is currently on iOS 5. Otherwise, you need a device that is on previous version of iOS, but that's not sustainable because apple has a way of "automatically updating" your software...(or because of some careless settings, of course)
1 Open Xcode 5 (You should have Xcode 5)
2 Choose your iPhone5 (iOS7 or +) on Device Selection in Xcode 5 for your app.
3 Close Xcode 5, and Open Xcode 4
4 Your iPhone5 with iOS7 can now be used as test device.
Hope this helps.

Test iOS app with device of iOS 5.0.1 beta version

Now, I use Xcode 4.2 supporting iOS 5.0. Apple has just released iOS 5.0.1 beta 2. I can install it on my iPhone.
I want to test with this beta version, i.e build code from Xcode.
How do I build code from Xcode 4.2 for device of iOS 5.0.1 beta?
Please help
In exactly the same way that you would do so for iOS 5.0. We can't talk about beta versions of the software, but we can talk about what happens when newer versions of iOS are released. When you connect a device with a newer version of iOS installed, the Xcode Organizer will give you a message like:
Xcode does not have debugging information for the version of iOS on the device named “Dev iPhone”. Xcode can collect debugging data from the device to enable development with this version of iOS. This process only needs to be done once per iOS version, and will take several minutes.
You simply click OK or similar, and Xcode downloads the necessary debugging data. You can then build to the device from Xcode and use all the debugging tools as usual. This process works for point releases. It is highly unlikely this would work for major updates (e.g. if iOS 6 was released) and it may or may not work for iOS 5.1, depending on the changes included. But when Apple have not released a new version of Xcode to developers, you can be sure it is because one is not required.
It is important to understand the distinction between an updated version of iOS (for the device) and the iOS SDK (for Xcode). A point release of iOS does not necessarily require any change to the iOS SDK, and therefore with Xcode's ability now to download the debugging information on demand (a feature that has been around for a while), you don't necessarily need an updated version of Xcode. Likewise, with Xcode 4.2 you still set the iOS 5.0 as your base SDK even if you are setting an earlier version (e.g. iOS 4.2) as your deployment target. You don't need the iOS SDK v4.2 to target iOS 4.2 for deployment. (Just make sure you add back "armv6" to targeted architectures in your build settings, if you still want to support the iPhone 3G and equivalent iPods, as in Xcode 4.2 this is not included by default.)

Resources