Cocoapods platform version overrides Xcode development target? - ios

I updated my app on the App Store with Xcode development target iOS7.0 recently.
However, one iOS7 user says he cannot open the app after he updated to the latest version.
With the latest version of this app, I changed the cocoapods platform version from iOS7.0 to iOS8.0 so I can install a library which supports over iOS8.
I wonder if I change the platform :ios to IOS7 on cocoapods, he can open the app?
*I don't have iOS7 device now, so I cannot test it on my side yet..
My app name is ListTimer.

According to slide 13 of introduction to cocoapods by jeffrey sambells. The syntax ofplatform :ios should be minimum support iOS version of your app instead of target version. So in your case you should use iOS 7.
You may find out how to download older version of iOS simulator (7.x in your case) by
this SO answer.

Related

What is the highest version of Xcode that supports iOS 6.0 as the deployment target?

I am developing an iOS app for iOS 6.0 and higher. Now, after updating Xcode from Mac App Store, I am told that "An iOS Deployment Target earlier than 8.0 is not supported by this version of Xcode.". So, it seems that I need to use another version of Xcode to develop this app.
I can download other versions of Xcode from https://developer.apple.com/download/more/. What is the highest version of Xcode that supports iOS 6.0 as the deployment target?(I just mean the deployment target, not the capability of installing iOS 6.0 simulator.) I don't want to download many Xcode versions to find that.
You can use latest Xcode for this do not select deployment target from dropdown, just manually input "6.0" in the "iOS Deployment Target" text box.
For more details you can go through here.
I have also upload one of my app that use iOS 7.0 from latest Xcode.
iOS 6 is supported in Xcode 7.x .
My suggestion is that,you may need to provide support for just 2 of previous versions of iOS 10, ie. iOS 8 and 9. If you take a look at the usage graph, it is evident that only 6% are using versions earlier than 9. That too, will have major contributions from iOS 8 and 7.

Updating SDK of an app written in objective-c

I am doing a task for a client which is based on updating SDK. I have to make sure everything is working properly before updating application on the app store. This app has to be compatible with iOS 10.1 and 9.0 as well.
1) Is it enough if I just change deployment target in Xcode 8 to 9.0, to make it compatible with older version?
2) All pods are in obj-c, so to update them do I have to search for the latest version or find swift alternatives?

How can I compile against iOS SDK 3.1.2 on Yosemite (Xcode 6)?

I need to compile an Xcode (iOS) project that targets iOS SDK 3.1.2, but I'm currently running Yosemite and Xcode 6.
What do I need to do or download to compile/target this much older iOS version?
You can't do that with Xcode 6. It's just not possible!
You may want to set the deployment target to iOS 5.1.1 though. You cannot go below that without losing the ability to submit the app to the app store.
With an older version of Xcode, it should be possible to compile for iOS 3.1.2, but you'll lose the ability to submit the binary to the app store. In any case, you should always use the latest SDK. E.g. you may use the iOS 7 SDK and set the iOS deployment target to iOS 5.1.1

in Xcode, older iOS SDK missing--for pre-existing project only

I recently upgraded to Xcode 4.5.1 to compile an app under development for the new iPad. That worked fine, but when I went back to run it on my old iPad under iOS 5.1 it wouldn't compile. I traced this back to the "Base SDK" setting in my project. Unfortunately, for some reason it's stuck on iOS 6.0, and iOS 5.0 SDK is not in the list:
The puzzling thing is that a the iOS 5.0 and 5.1 SDKs are available if I start a whole new project, but are just not an option in the list for this particular project. The other puzzling thing is that it also still runs on the iOS 5.0 simulator.
How to fix this without rebuilding the project from scratch?
Actually, under Xcode 4.5.x, the only allowed Base SDK is 6.0. You need to set your project's (and target's) Deployment Target to iOS 4.3 or later depending on what you wish to support in your app.
The Bask SDK defines what APIs you can use. The Deployment Target defines how far back you wish to support.

how can I change ios sdk?

I want to change my iOS SDK. I have ios 5 and xcode 4.2 but I have to decrease it to iOS 4.2 SDK because of my application. In developer.apple.com the xcode 4.1 with iOS 5 so it is not available. How can I find xcode 4.1 with ios sdk 4.2 or how can I setup the ios sdk 4.2 without download xcode again. If it is not possible can you give me a linq for download xcode 4.1 with ios sdk 4.2
The base SDK should be the currently available one - it's the version of the SDK that you have installed to compile against.
However, further down the settings list you'll see that you can set the "Deployment Target" to be for lower versions iOS. That's the one that specifies the lower version of the OS that you app will run on.
Latest SDK included all required features from previous SDK versions. You shouldn't worry about it. If you want to support previous versions of iOS just set iOS Deployment Target to iOS 4.2 (or another would you like) in project settings at Build Settings tab.

Resources