Swift Package Manager compatible with which iOS versions? - xcode11

Is it possible to use Swift Package Manager on Xcode projects that support iOS 11 and above?

Yes.
The Swift Package Manager is included in Xcode 8.0 and all subsequent
releases.
Xcode 8, iOS SDK version is 10.0

Related

Xcode 10.1 beta 2 Invalid Toolchain

I am going to submit my app to App Store and it finds invalid toolchain .
New apps and app updates must be built with the public (GM) versions. Xcode 9 or later.
Should I reinstall Xcode 10 GM directly instead of beta?
Yes, you must use a stable release of Xcode to submit a build to App Store:
Xcode 10.1 (10B61)
Xcode 10 (10A255)
Xcode 9.4.1 (9F2000)
...
i.e. the versions in bold from this unofficial list: https://xcodereleases.com/
Beta versions of Xcode are only good for TestFlight builds, not App Store builds.
Not also that there is a minimum Xcode version depending on your product platform (iOS, tvOS, macOS): https://help.apple.com/app-store-connect/#/devb1c185036

AlamofireObjectMapper not supporting ios8 when updating to swift 3?

I tried to update my project to Swift 3, my project has support for ios8 as well.
While trying to update the cocoapods, I am getting issue that AlamofireObjectMapper requires higher deployment target.
On changing to ios9 the pods install without any error, but I still want to support ios8.
Can anyone help on how this can be achieved?
Thanks in advance.
EDIT Alamofire 4.1.0
Support for iOS 8.0 and macOS 10.10 is back!
You cannot update to Swift 3 without dropping support for iOS 8, I'm afraid. The reason is that the Swift 3 version of Alamofire is 4.0 and the developers have decided to drop support for iOS 8.0. The reasons can be found here : https://github.com/Alamofire/Alamofire/issues/1367#issuecomment-235803404
Therefore you can continue supporting iOS 8 by using the latest Swift 2.3 release of Alamofire (3.5.1) and AlamofireObjectMapper or drop support for iOS 8.

Xamarin.iOS Target iOS 6 SDK

We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.
Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?
We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.
Any ideas?
Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).
Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.
Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).

Confused about deploying to ios 5.0, which xcode to use

I want my app to run on iOS 5.0 and all newer versions. Should I do all my development work in Xcode 4.2.1, or use the Xcode 4.5 beta? If I implement maps, then will devices running ios 5.0 show google maps while future devices running ios 6.0 show apple maps?
Thanks for your help.
XCode 4.5 beta is for testing and report bugs to apple, test iOS 6, etc. You cannot submit an app with it.
I'd use Xcode 4.4.1 it's the latest non-beta version.
https://developer.apple.com/xcode/

Does Xcode 4.2 beta also come with iOS SDK 4?

If I install Xcode 4.2 and iOS SDK 5 beta (Snow Leopard), will I still be able to build and run for iOS SDK 4?
I would say yes. When you download iOS SDK 4 you can still build for iOS SDK 3. So I don't see why it would be different this time.

Resources