Supporting iOS 5 and iOS 6 in Xcode 5 - ios5

I am going to develop an iOS universal application. I want to target iOS 5,6 and 7.
I am using xCode 5 for my development. I want to know is it possible to support iOS 5,6 and iOS 7 in same app?

Yes, set the deployment target to iOS 5. You will have to make separate storyboards for iOS 5/6 and 7, and choose which to load upon startup based off of the device's OS.

Related

I want to change the version of the framework.[swift4/xcode9]

Currently I am migrating applications created with xcode 8 / swift 3 to xcode 9 / swift 4.
When I build and test on the actual machine without coding error.
It will fall in the middle of launching the application.
The real machine is iPhone 7's iOS 10.1.
■Error_message:
■Consideration:
In xcode I set it to find a library for iOS 11, but I think that there is no library for iOS 11 in iPhone 7.
I think that updating iPhone 7 from iOS 10.1 to iOS 11 will start the application without problems.
However, since I want users to enjoy the application from iOS 10.1 to iOS 11, I would like to use a library for iOS 10.1 instead of a library for iOS 11.
When converting from swift 3 to swift 4 automatically, (I do not know the timing)
I think that xcode has been set to automatically search for iOS 11 libraries.
■Questions:
How should I use the library for iOS 10.1?
Or, for example.
Can I allow iOS 11 users to apply libraries for iOS 11 and iOS 10 users to apply iOS 10 libraries?
■Supplementary information.
xcode9/swift4
iPhone7/iOS10.1
DeploymentTarget:10.1
I changed the setting from "On" to "Default"
because the following error was displayed when I moved swift 4.
error_massage:
The use of Swift 3 #objc inference in Swift 4 mode is deprecated.
Sorry, the application launched when I performed "clean".

Release of iOS 6.1 app with Xcode 5

I'm having trouble release an iOS 6.1 app with Xcode 5. During the development we worked on Xcode 4 and then switched to Xcode 5. The application is very large and is not optimized for iOS 7. So I used iOS 6.1 SDK to compile for both iOS 6.1. Application was tested with TestFlight and it worked flawlessly on both iOS 7 and iOS 6 devices. On both devices it had same iOS6 looks, which was satisfying.
The application base SDK is set to iOS 6.1 SDK and iOS deployment target is set to same 6.1 SDK.
We sent the application in the review and it was approved. When we released the application, we realized that it is run with iOS 7 looks on iOS 7 devices. This currently breaks our layout.
Is there any way to fix this and let application be released in iOS6 mode for now?
Yes , you can do that. You have to fix every Xib for both iOS 6.1 and iOS 7 so that user can get the UX standard in whichever version of iOS they use. You have to take care of several things. Like
Fix status bar overlapping issue , there are lots of disscussions in stackoverflow about it.
Use appropriate images that matches UX standard of corresponding version.
You have add new launch images/ icons for iOS 7.
etc in short.

Different UI behaviour for iOS 7

Recently, I uploaded my application to Apple store from XCode 4.x with OS 10.7. After that I upgraded my machine with Xcode 5.0 to start with iOS 7. Now I downloaded my application from the Apple' store to iPhone 4S with iOS 7 installed. I see application's UI on device is totally different from the iOS 7 simulator. On device navigation and Tab bar are old fashioned like iOS 6 while I am expecting like iOS 7.
I think the reason behind this that the application has been uploaded from XCode 4.x and when I will upload it from Xcode 5 it will show the latest UI of iOS7.
Do anyone facing the same problem? Do you think Apple should do it itself?
You understand it right. Applications must build and updated on xCode 5 for showing the new iOS design.
You must check your app on xCode 5 before uploading it as "iOS7 ready", Note that your app might work fine with the old design on iOS 6 but no one can check that for you as they might be UI problems and even crashes depending on your old UI and code.
If you are using 100% iOS native interface you should not have to much work.
You are app is built on iOS 6 SDK, To use iOS 7 UI features, build your app using iOS 7 SDK. iOS 7SDK will be available with xCode 5. SO upgrade to xCode 5 and build app against base SDK 7.
Xcode 7 doesn't exists ;)
Your problem is that you compiled your app with Xcode 4. Only Xcode 5 is embedding iOS 7 SDK. If you want to solve your problem you have to submit your app again but compiled with Xcode 5.
(don't forget to set your correct deployment target)

Supporting ios 5 in monotouch applications

I have an application with monotouch ios (iphone/ipad application). in my project option I target ios 6.
now when I want to download my application with a device that run ios 5 itune not allow.
If I change the target version to the 5, Does my app supports ios 6 and 6.1 yet?
Do I need to change my codes to support both of them?
If you target iOS 5 in MonoTouch, your app will work on both iOS 5 and iOS 6 devices. In general, nothing special should be done to support both iOS 5 and iOS 6. Keep in mind though, that some APIs are iOS 6 only, such as the deep Facebook integration. So don't worry much about your code, just make sure that you test your app on devices with different iOS versions.

Building a compatible iOS 6 app

I'm not sure how this aspect works as our company is new to iOS development. We have an app that builds for iOS 5. We've been running Xcode 4.3.2. We want our app to be usable on iOS 5 and iOS 6. Are we ok using 4.3.2 and submitting our iOS 5 app to the app store. Or do we need to download Xcode 4.5 and build it for iOS 6? Thanks.
You can submit using Xcode 4.3.2, no problem with that, and submitting with iOS 5. It will run on iOS 6 still.
However, you should seriously consider downloading the latest Xcode and iOS 6 SDK, and making sure your app runs fine on both iOS 5 and iOS 6, as sometimes there are API changes which need to be accounted for and fixed.