Currently i'm using AWS and AWSCore in my project which supports upto swift 2.0. Now i want to migrate to swift 3.0. is AWS pod support for swift 3.0 is available?
As per my experience you have to upgrade it as mention here :
AWS Lib version for Sift 3.0 is 2.5.5 which is latest one.
Github Link : https://github.com/aws/aws-sdk-ios
Pod : https://cocoapods.org/pods/AWSCore
Do as directed and every thing works with Swift 3.0.
Hope this will helps!
yes it supports swift 3. I am developing my project in swift 3 and use AWS sdk version 2.5.2 and everything works fine. The latest sdk version is 2.5.5. Try converting your project to swift 3 and if you face any error then update your AWS sdk to latest version.
Related
I am using the cordova adal library, which uses version 2.3.1 of the native ios library. It looks like there has been over a year of updates since version 2.3.1 of the native library.
I am interested in forking the cordova adal repo and bumping from 2.3.1 to a more recent version. I've never had to update a cordova library, so I was hoping someone here may be able to help answer a couple questions:
Would I face any breaking changes if I tried to fork and upgrade
cordova adal to use a more recent version of this library?
Does anyone know if there is a reason why the cordova adal library
has not been upgraded from 2.3.1?
This will be a first for me, so my plan was to use this commit as a guide. This was how the cordova adal team upgraded to 2.3.1.
Spoke to some of the native developers and confirmed there would be some potential breaking changes. I do not know why an upgrade was not made though.
I just updated to XCode 9.1 and when trying to compile my project which was running before under XCode 9.0.1 and Realm 3.0.0, I get the error message 'Module compiled with Swift 4.0 cannot be imported in Swift 4.0.2' at the Realm import in my code
import RealmSwift
I have:
- updated to Realm 3.0.1
- Reinstalled the Framework into my project
- Cleaned the project with the function in XCode
In the Realm 3.0.1 package there is no Swift-4.0.2 folder, only Swift-4.0.
Should Realm 3.0.1 be compatible to Xcode 9.1? If so, what can I do to make it work? If not, is a new version being created?
Thanks for help.
Regards
Christian
Swift 4.0.2 is not ABI compatible with Swift 4.0, so the binaries you use as dependencies need to be recompiled.
Two approaches are reasonable here:
Use Carthage that will rebuild the Realm for you. (or build the Realm from source youself)
If you are not using Carthage or you don't wish to building Realm from source yourself, just install external Swift 4.0 Toolchain and select it within Xcode -> Preferences -> Components -> Toolchains so you are back with Xcode 9.0 swift toolchain until Realm will release their update.
I had the same issue, but with the module SocketIO. Recompiling the framework with Carthage worked for me. After that I also had to clean the build folder.
I have a working app, which I created a year ago - because its always difficult to update the app I waited for almost a year (bad idea)
Now that a lot has changed over the last few months I don't know where to start. And the Cordova-Website isn't very precise about that as well
I have xcode 5.1.1 and I guess Cordova 2.9 (I don't know exactly, so maybe you could tell me, how I get Info about my version)
Do I have to update my project from 2.9 to 3.0 to 3.1.0 to ...3.4.0
or is there a way to update it from 2.9.0 to 3.4.0 in one step?
After upgrading to 3.0 it's easy to upgrade to 3.4 using the cli. Simply use the command:
"cordova platform update ios".
See here for getting to 3.0: http://cordova.apache.org/docs/en/3.4.0/guide_platforms_ios_upgrading.md.html#Upgrading%20iOS
You could also simply create a new project with 3.4 and copy your relevant files from /www/ into it.
It's a project that was made two years ago and now I'm working with it. The question is that the version of the Cordova now 3.5.0 but this project was in 1.5.0. Can I run it in X-code 5.1 now? How can I upgrade it. Plz, I need help, for I'm a totally novice with iOS programs.
Next paragraph code error with that 'Cordova/CDVViewController.h' file not found
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDVViewController.h>
#else
#import "CDVViewController.h"
#endif
AFAIK there is no easy way to upgrade from old versions of Cordova. You can try follow this guide: http://docs.phonegap.com/en/3.5.0/guide_platforms_ios_upgrade.md.html#Upgrading%20iOS but you will have to upgrade step by step (i.e. from 1.5.0 to 1.6.0 to 1.7.0 ...). But even when you do that, if you use some old plugins or API calls in your code you will have to rewrite them according to the new version's API.
I had a project using Cordova version 2.1 and I needed to upgrade it to 3.1 and in the end I was better off creating new project in 3.1 and then update plugins or completely rewrite them.
So to sum up, it all depends on complexity of your projects (how many platforms you support, if you communicate with native code, use plugins..). You can try following the update guide or just create a new project in 3.5. If your project is trivial, I suggest creating new 3.5 application and then copy old html, css, js... files to appropriate places in the new project according to 3.5's documentation.
I need to upgrade my application which is using Cordova 1.8 version to Cordova 2.0 version. I followed the steps mentioned in the http://cordova.apache.org/docs/en/2.8.0/guide_upgrading_ios_index.md.html. My application's running for 1.9 but when am trying to upgrade it to 2.0 version am not able to find 'Preprocessor Macro' in build setting.
Also I am not able to find 'CordovaLib' folder, but in the 10th step they have mentioned related to PreprocessorMacro which am not able to find.
As you main motivation seems to be up to date with the last version of Cordova, I would recommend to create a new clean project with Cordova 2.8 and import your html files in the www folder.
Upgrading version by version is painful and you will not get any benefits from it. However, you might not get any performance improvement but you will get a better support from the community.