Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0

I was trying to run my iOS app on my iPhone. Project compiled nicely. But when app starts, XCode console showed:

dyld: Library not loaded: @rpath/Runes.framework/Runes
  Referenced from: /private/var/mobile/Containers/Bundle/Application/CC8759F5-A501-400C-93A8-DCEE3BFE4770/XXX.app/XXX
  Reason: Incompatible library version: XXX requires version 2.0.0 or later, but Runes provides version 1.0.0

I use Cocoapods and my Podfile looks like:

platform :ios, '8.0'
use_frameworks!

pod 'SnapKit', '~> 0.12.0'
pod 'Alamofire', '~> 1.2'
pod 'SwiftTask', '~> 3.3'
pod 'Argo'
pod 'Async', :git => 'https://github.com/duemunk/Async.git', :commit => '9e64046b767fe11010891f5b7fe2aed613a6ee55'
pod 'TapLabel', '0.0.3'
pod 'RealmSwift'
pod 'Kingfisher', '~> 1.4'

What should I do? Everything works fine on simulators.

like image 898
Daiwei Avatar asked Jul 26 '15 06:07

Daiwei


1 Answers

Is it possible that you are using a CocoaPods version older than 0.38.2?

If so, update to 0.38.2 using sudo gem install cocoapods and run pod install on your project. There was a recent bugfix that deals with illegal version numbers in the build settings of the linker.

As a workaround you could manually set the version of the "Runes" pod to 2 in the pod's target under Build Settings -> Linker -> Compatibility Version

like image 60
felix Avatar answered Oct 13 '22 09:10

felix