I implement the https://github.com/TakeScoop/SwiftyRSA in my project using pods but it give me error
how to solve this? Any other pod please suggest me too.
Pod file
Version 8.0 of iOS has some serious issues. I would suggest that you target iOS 8.3 as a minimum. If you change your platform line in your Podfile to iOS 8.3 and run pod update then you will get SwiftyRSA 1.2.0 which will resolve your issue.
Related
On xcode, I'm trying to use a pod to implement a mail API in Swift. When I try to build the framework, I get this error:
Compiling for iOS 8.0, but module 'Alamofire' has a minimum deployment target of iOS 10.0
How do I change the pod so it builds for iOS 10.0 or above?
The problem occurs due to the Alamofire has updated its library. While Evreflection has not updated for the Alamofires updated version. You need to specify the Version of Alamofire here.
Use this line in podfile to specify the version
pod 'EVReflection/Alamofire','~> 5.10.1'
pod 'Alamofire','~> 4.9.1'
Then deintegrate the pods from project and install it again.
This would solve the problem you are facing
You should up Deployment Target of your app to 10.0 in your project's settings because you can't use pods with highest iOS version than you use in the project.:
my project was working fine until I installed the pushNotifications pod. It gave me an error that it is compatible with only ios 10.0 so I forced my pods version from global 9.0 to 10.0. After that I am unable to get my app to work. I have tried clean pods and reinstalling. I even tried by cleaning pod cache.
I don't know how to explain this error. So, any help will be appreciated. thnx
Looks like 'pushNotifications' pod needs iOS 10+ to run and I think your project supports lower versions of iOS(i.e iOS 9). Because a pod global version specifies a minimum version to your pod to run which means, in your case, that the pods you add must support iOS 10+ otherwise your cocoapods won't be able to compile. And looks like you're using some pod that doesn't support iOS 10+(i.e AppAuth) that's why you're having this issue.
I don't know which framework you're using but I really recommend you to take a look on it and find which one doesn't support iOS 10+ replace or update it because they need to support iOS 10+ otherwise it will be a huge problem for you in the future.
I have installed SVProgressHud to my Xcode project via cocoa pods but I am getting an error during build time. I have posted an image of the error I am getting. I am using swift 3 and Xcode 8. I have searched everywhere for a solution but can't find anything. The only issue I can think of is the SVProgressHud cocoa pod that I have installed is not compatible with swift 3 and Xcode 8. I tried to install an earlier version of SVProgressHud but it automatically updates to the latest. I really don't know where to go from here. Help would be very much appreciated! Thanks in advance
Edited:
If you would like to try an older version of the pod, you can visit here for list of versions/changelogs: https://cocoapods.org/pods/SVProgressHUD#changelog
and then in your podfile you can set the version like so:
pod 'SVProgressHUD', '2.2.1'
I was able to install the pod and build without issues on Xcode 9.2, so not sure if its and issue with xcode 8 or something else. If its an option, why not update to 9.2?
I have a running project which is working fine with pods. I had to copy this project to develop version-2. Now when I try to build project, I encounter following issue in pod's code. I tried removing this specific pod but same type of errors were shown in different pod.
tried all of this: https://guides.cocoapods.org/using/troubleshooting.html ,but it didn't help at all.
Being new to iOS development, I can't figure out, what I am doing wrong.
It seems like you are using the newer version of pod in older Xcode. So either you need to update your Xcode or downgrade your pod to the relevant version supporting Xcode. From image i can guess you might be using Xcode 7.2 or down and pod is in swift 2.3 or 3
This was building previously but isn't anymore. I updated cocoapods and pulled new data in with pod update but still can't build my iOS 9.0 app anymore:
/Users/cdub/Developer/AppName/Pods/Headers/Public/
AWSCognito/AWSCognitoSyncService.h:198:4:
Type arguments cannot be applied to non-parameterized class 'AWSTask'
Why is this happening?
The version of AWSCore and AWSCognito need to match. It looks like your AWSCognito is newer than AWSCore. How did you get AWSCognito and AWSCore? Both through CocoaPods? You need to use pod update when updating the pods instead of pod install.
If you keep encountering the issue, you should delete Podfile.lock and Pods/ and then run pod install to cleanly install the SDK. AWS Mobile SDK iOS Developer Guide has more information about how to setup the SDK.