Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nimbus not compatible with iOS 4.3 using cocoapods

when I try to use cocoapods to install Nimbus i get the following error: [!] Nimbus (1.0.0) is not compatible with iOS 4.3.

I'm not sure where this iOS 4.3 came from.. but here are some more details:

my Podfile content:

platform :ios

pod 'AFNetworking', '0.9.1'

pod 'SSToolkit'
pod 'ConciseKit'
pod 'Nimbus'

when I run pod install I get:

warning: Insecure world writable dir /usr/local in PATH, mode 040777
warning: Insecure world writable dir /usr/local in PATH, mode 040777
Resolving dependencies of `./Podfile'
Updating spec repositories

Cocoapods 0.17.0.rc1 is available.

Resolving dependencies for target `default' (iOS 4.3)
[!] Nimbus (1.0.0) is not compatible with iOS 4.3.

ideas?

like image 200
abbood Avatar asked Nov 28 '22 08:11

abbood


1 Answers

When you dont define an iOS version, 4.3 is assumed as the default by cocoapods

For example if you define the Podfile as follow platform :ios, '5.0' the minimum iOS version for your porject will be 5.0

In your case it means that Nimbus has a higher iOS version number defined to be the minimum in their podspec. Depending on your project minimum target either update your Podfile to support a higher version or check if previous versions of Nimbus are compatible with ios 4.3

for defining a specific version for a pod use pod 'Nimbus', '0.X.Y' where X and Y are the version numbers

like image 75
Ultrakorne Avatar answered Dec 16 '22 23:12

Ultrakorne