AlamofireObjectMapper not supporting ios8 when updating to swift 3? - ios8

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.

Related

Does xcode4.5 support ios4.3 simulator or prior?

I have upgrade to xcode4.5 from 4.4, but i can't find ios simulator 4 or prior within it. I open Xcode menu, preference, downloads, i can see simulator5 and 5.1 only. I am not sure whether xcode4.5 support ios simulator 4 and debugging with ios4.3 and prior.i know almost iphone and ipad people upgrade their ios to 5 already. but we have some project runs in ios 4.3.does someone know how to install simulator 4 in xcode 4.5?
thanks in advance.
Looks like it has been removed from xcode 4.5 on Mountain Lion:
xcode 4.5 runs ios 4.0 simulator (NOT)
According to Apple you can still set the deployment target for 4.3 though:
https://discussions.apple.com/docs/DOC-3461
The minimum supported deployment target with Xcode 4.5 or later is iOS 4.3.

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/

no provisional ios devices are available

my Mac has Snow Leopard and Xcode about shows 4.2 (4c199)
An update came to my iphone4 and it has now ios5.1 (used to be ios5.01)
When I try to run on the ios device target the build goes through fine but the installation fails with "no provisional ios devices are available with a compatible ios version".
When I look in Xcode organizer I can see similarly:
The version of iOS on “XXXXXX’s iPhone” 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.
and here is what the organizer shows:
OS Installed on XXXXX’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2 (8C134)
4.2
What is the meaning of "Latest" here?
I hope I do not need to install Xcode 4.3 as it will require moving to Mountain Lion in the middle of the project?
Prior to this update the things used to work, I think (lately I was working only in the simulator, but before that everything work on the iphone ok).
Thanks for any help in advance.
Regards,
Victor
Your mistake was updating your iphone to IOS 5.1, because your current version of xcode doesn't support it. So basically, you either have to downgrade your IOS device to 5.0 or you have to upgrade to Lion(not mountain lion) and then install the latest version of xcode which does supports IOS 5.1.
Downgrading can be a bitch btw, so I think lion is your best bet. Ill have to do the same soon. Hope this made things a little more clear! Best of luck man!

xcode 4.2 with ios5.1

I have Xcode version 4.2 with OS X 10.7.2, and I was trying to install our app on the new iPad, which is running iOS 5.1. The problem is Xcode doesn't recognize the iPad as a deployable device. I know this is a common issue, but please read it all.
I get this in the organizer: (after push the "use for development")
The version of iOS on “iPad” 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 iPad
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
Now I know that in order to connect the iOS 5.1 device to Xcode I need the latest release of Xcode, but I can connect another iPhone with iOS 5.1 to the same Xcode and deploy an app to it.
Why is that?
The only different between them is that this iPhone was previously connected to Xcode, and the iPad was not. I did manage to install an app to iPhone with iOS 5.1!
What is happening here? I don't want to install the new Xcode for nothing if I can install to 5.1.
Thanks.
Xcode will not let you build to an iOS version higher than it supports, and in this case with Xcode 4.2, you will not be able to deploy to iOS 5.1. I recommend updating to OS X Lion 10.7.3 and downloading the 4.3.2 version of Xcode. Do this any you will be able to deploy to your 5.1 device without any problems. In addition to this, the second device should not be able to receive builds from Xcode. Please check and see if the device in question is in fact running iOS 5.0.1 and not 5.1 as 5.1 will not work on Xcode 4.2 and 5.0.1 will.

Mandatory to use XCode SDK 4?

Well you know they just released this new XCode 4 version thing...... I am still using version 3.x.x.
Is it mandatory to use XCode 4 for my iPhone apps to be approved?
Not at all. You can still build, sign and submit iOS Apps using XCode 3.
No, but it is recommended. You can use XCode 4 with base SDK 4.3 and target an older iOS version.
You can download iOS SDK 4.3 with either Xcode 4 or Xcode 3.2.6 from Apple's iOS developer page. Remember that the Xcode version number is not the SDK version number.
You should always use the latest SDK, even if you're targeting an older iOS version. As I understand it, Apple will sometimes fix bugs in older OS versions. In order to get those fixes, though, you need to use the latest SDK.
unless you don't want to try Git integration you should be fine :) I'm struck with xcode 3.2.5 and shortcuts. And I hate iTunes like toolbar for no reason :(

Resources