XCode 4.5 app crashes on iOS 4.3 devices - ios

I have used iOS 4.3 simulator from old xcode version and installed it to my current xcode 4.5 to run an application developed using iOS SDK 6.0. It is crashing so I updated the iOS 4.3 simulator from the preferences in xcode 4.5 then it worked just fine.
I guess I will ask the users to do so but is there any way to avoid that?

Related

Do I need to wait for Xcode 10.3 to test on iOS 12.3?

Currently iOS 12.3 is released and latest version of Xcode is 10.2.1
I want to know to test my app on my physical device with iOS 12.3 I need to wait for Xcode 10.3 or is it possible to deploy apps using Xcode 10.2 on iOS 12.3?
I did not update my phone iOS and keep its version 12.2 since I don't know the answer to this question.
iOS 12.4 Beta 2 Release Notes
The iOS 12.2 SDK provides support for developing iOS apps for iPhone,
iPad, or iPod touch devices running iOS 12.4. The SDK comes bundled
with Xcode 10.2.1 available from the Mac App Store
iOS 12.3 Release Notes
The iOS 12.2 SDK provides support for developing iOS apps for iPhone,
iPad, or iPod touch devices running iOS 12.3. The SDK comes bundled
with Xcode 10.2.1 available from the Mac App Store.
Reference:
iOS 12.4 Beta 2 Release Notes
iOS 12.3 Release Notes

Distribution Enterprise app for iOS 6

I would distribute app for iOS 6.
Actually I have XCode 8.2.1 and if I try to distribute with this version of XCode the app doen't work on iOS 6 but works with the highter versions.
So I tried to to distribute my app with XCode 6.4 but it doesn't work either on iOS 6, but works perfecty with highter versions.
I'm starting to think that MAYBE, just MAYBE, the app installation il locked by o.s of iOS.
Can someone help me to understand the issue?
The minimum deployment target with Xcode 8 is iOS 8. To support target
the iOS SDK 7.x and below, use Xcode 7.
If you try to use a deployment target of iOS 7.x or below, Xcode will
suggest you change your target to iOS 8
And Mac OS Sierra you cannot start Xcode 7.x as it crashes on launch due to a missing library.

Device ineligible in Xcode 6.1 when device connected powered by iOS 8.3

I am making a Spritekit Swift game in xCode 6.1. We are using iPad device iOS 8.3 to test the game. Right now apple release iOS 8.4 so i upgrade my device 8.3 to 8.4 iOS.
After that when i connect my device to mac and try to select the device to text purpose. It show the Device Ineligible in XCode 6.1.
What is the solution of this problem. May i use my iPad device (iOS 8.4) to test the game?
For running apps on iOS 8.4. You need XCode 6.4. So you have to upgrade your XCode 6.1.
OR
You can download XCode 6.4 from apple developer site here
If device is showing Ineligible, then try to select it from Menubar option as follows:
Product->Destination->select your device.
I hope it will help you.
Because the current Xcode version does not support iOS 8.4.
All you have to do is, open you App Store, in the Updates tab, upgrade the Xcode.
App Store -> Updates -> update Xcode
It's easy.
update your Xcode to support iOS 8.4
When you are connecting your device with ios version 8.3 and you have x-code 6.1 it means that it is SDK version is 8.1 and that's why it will show you the device ineligible.
So that solving this error you need to upgrade your SDK version to the same device ios version.
if device version is ios 8.3 then SDK version also needs 8.3 . xcode 6.3 will give you SDK version 8.3. Hope it will help you.
After install Xcode 6.4. Firstly i run my project on Xcode 6.4. I got a lots of error. Then close Xcode 6.4 and start Xcode 6.1 and clean the project. After clean i successfully run my app by Xcode 6.1 on my iPad device (iOS 8.4). Thanks for all the suggestions.

iOS 6.0 simulator disappeared

I'm not able to test my app on iOS 6.0 simulator, because it disappeared. I definitely remember I downloaded it and for some time I could use it. When I click on more simulators to download it now, there is only iOS 7.0 and iOS 6.1 simulators. And for all I know, I have set the deployment target to 6.0 everywhere. Any ideas?
Apple withdrew the 6.0 simulator at the server end, so it is no longer listed. If you really want it, you can move it into Xcode from another version of Xcode (it's obvious where it goes).
The latest Xcode (5.1 as of writing this) only supports iOS 6.1 simulator. If you wish to test on iOS 6.0, you need to test on a device.
Technically speaking, there is very little API difference between 6.0 and 6.1, so you can test 6.1 for most scenarios just fine.
Still we can use ios 6 simulator in xcode 5.1.
If you cant see iOS 6 simulator in downloads. Try this one,
download xcode 4 sdk and copy the ios 6 simulator sdk from xcode4,
[Application->xcode 4 ->contents->developer->platforms->iphone
simulator platform->developer->sdk folder.]
And paste ios 6 simulator sdk to xcode 5, [Application->xcode5->
contents->developer->platforms->iphonesimulator
platform->developer->sdk folder]
I followed this steps and got ios 6 simulator,. see below

How to deploy iPad app for iOS 6.1 from Xcode 5

I am new to iOS. With iOS 7 release I am struggling to find how to target my app for previous versions but building from new iOS 7.
I do not know if at all this is possible. but iOS has changed app UI totally, but can not do all change now. So I have been told to build it on new version but target should be for old, so that no UI changes to be done.
Something like building from Xcode 5 but iOS should be 6.1. I do have both Xcode running on my Mac.
If I open both it shows: Xcode 5 - iOS 7, Xcode 4.6 - iOS 6.1. How can I use Xcode 5 to target iOS 6.1?
As far as I know you can't deploy only for iOS6.x using xcode 5, but you can deploy for iOS7 and iOS6, setting the deployment target ad Raptor said.
If you want to deploy only for iOS6 you can download the old xcode 4.6.3 from apple site and make the procedure from there.
I guess your question is How to build iOS app with iOS6.1 SDK in XCode5. Am i right?
You must install iOS6.1 SDK (iphoneos6.1 not simulator iOS6.1) to your XCode first. This question Is it possible to install iOS6 SDK on Xcode 5? could help you to install iOS6.1 SDK.
Than you could configure your project using iOS6.1 SDK to build your app like below:
If you are looking to test your app on lower iOS simulators.
go to Xcode - > Preferences - > Downloads
Over here download the desired simulator.
Once you have downloaded and installed it you can test your application on lower iOS versions.

Resources