As CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+,platform :ios, '10.0'. how to use alamofire 4.0.0+ under iOS 10? - alamofire

As CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+,platform :ios, '10.0'.
how to use alamofire 4.0.0+ under iOS 10?

CocoaPods 1.1.0+ is indeed required but as stated in the Readme the minimum iOS version is 9.0. The Podfile given there is just an example so you should write platform :ios, '9.0' to target below iOS 10.

Related

How to modify Podfile in an Expo-Managed React Native project

I have implemented an app that uses react-native-branch and #config-plugins/react-native-branch with the expo-managed workflow but upon building with EAS in iOS (Expo Application Services), its throwing this error:
The Swift pod `ExpoAdapterBranch` depends upon `react-native-branch`, which does not define modules.
To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries),
you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
Is there a way to do this in expo-managed workflow?
Other details of our project:
Expo SDK: v44
react-native-branch: v5.0.0
#config-plugins/react-native-branch: v1.0.2
I finally get it to build in iOS without errors by updating my react-native-branch version from 5.0.0 to 5.4.0 without any other changes to the plugin. However, expo is now giving off a warning saying that
Some dependencies are incompatible with the installed expo package version:
- react-native-branch - expected version: 5.0.0 - actual version installed: 5.4.0
If anyone has a better solution to this, I would gladly hear it. Thanks!

React native async storage mac OS pod install failing

Specs satisfying the `RNCAsyncStorage (from `../node_modules/#react-native-async-storage/async-storage`)` dependency were found, but they required a higher minimum deployment target.
I have changed the deployment target to 10.15 from xcode, but I still get this
The RNCAsyncStorage's min deployment target is 9.0.
Change the line in podfile to 9 or later. And I suggest marking it to 11
platform :ios, '9.0'

Alamofire NetworkActivityIndicatorManager Swift3 branch error

/Users/jo.bloggs/Development/projName/projName/Pods/AlamofireNetworkActivityIndicator/Source/NetworkActivityIndicatorManager.swift:25:8: Module file's minimum deployment target is ios9.0 v9.0: /Users/jo.bloggs/Library/Developer/Xcode/DerivedData/projName-gssqurpxvfvyqyfpzbuoqcksofwl/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule
My podfile has this at the top
platform :ios, '10.0'
use_frameworks!
All my targets have ios 10 as Deployment Target.
I deleted DerivedData, cleaned and rebuilt
I deintegrated cleaned and installed pods
Still stuck on this error
Can anybody please help me?
Thank you

Alamofire 2.0 Compiler Issues - Swift 2 / Xcode 7

I'm having trouble converting my project to Xcode 7 Beta related to the Alamofire 2.0 as shown on the screenshot below. Even created a test project with the following podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Alamofire', '~> 2.0'
I also reinstalled cocoapods. Still same problem. Anyone have some idea how to fix this?
You need to upgrade to the official Xcode 7.0 GM release. The Xcode 7 betas are no longer working with the Alamofire 2.x releases. They only worked with the betas. To run Alamofire 2.0.2, you need to be using Xcode 7 (7A220).

CocoaPods Error - The platform of the target `Pods` (OS X 10.6) is not compatible with

I tried installing my CocoaPods with pod install and a Podfile that looks like
platform :osx
pod 'ReactiveCocoa', '~> 2.1.8'
But I got the error
[!] The platform of the target `Pods` (OS X 10.6) is not compatible with `ReactiveCocoa (2.1.8)` which has a minimum requirement of iOS 5.0 - OS X 10.7.
My deployment target is OSX 10.9 and the SDK is 10.9 so I'm not sure where it's getting OSX 10.6.
The solution is to just specify a platform version in the Podfile
platform :osx, '10.7'
I found that the default platform for CocoaPods is 10.6 on OS X and 4.3 on iOS currently. The CocoaPods website describes it here. It does not seem to care about or sniff out platform versions from the Xcode Project file.
A similar error appears for iOS projects apparently.
[!] The platform of the target Pods (iOS 4.3) is not compatible with...