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).
Related
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'
macOS Catalina 10.15.5. xCode 11.6, xCode 12 beta 4. Objective-c app with 7 cocoapods. The app runs fine in xCode 11 and in xCode 12 on device. It fails to compile in xCode 12 simulator with Lexical or Preprocessor issue on the first cocoapod it encounters. If I eliminate that one it fails on the next. I've tried the standard steps - clean build folder, restart xCode, delete pod files and reinstall, pod repo update, clean derived data, etc. This was also an issue in beta 3.
Any ideas?
Try upgrading the Project Xcode compatibility to Xcode 11 and change the VALID_ARCHS to $(ARCHS_STANDARD).
It worked for me
you can try: add "x86_64" at "TARGETS ->Build Settings -> User-Defined -> VALID_ARCHS", and it's works too.
I started getting this error with a project when building it with Xcode 12.5 Beta3 for the first time when it was working previously with Xcode 12.4. The error was occurred during the build process when it encountered the Firebase packages that I had installed via the Swift Package Manager (not Cocoapods).
The simple solution for me was to just update the packages to the latest versions via File -> Swift Packages -> Update to Latest Package Versions.
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.
Despite the release notes stating this is supported and previous version of Xcode 6 working ok, I have a rather verbose error message when trying to build with 7.1 SDK.
"iOS targets using Swift cannot be built against an SDK older than 8.0, but the effective SDK is 7.1."
Has anyone else seen this?
I just had this issue, but with the app store build of Xcode 6.0.1 (6A317).
The issue was that I had copied old SDK's (7.0, 7.1) into the Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs directory. This was causing Xcode to use the wrong SDK for building.
Deleting them solved this problem for me. That'll teach me for mucking around with Xcode.
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...