Ich folgte den Anweisungen von Cocoapods.Fehler beim Ausführen der Pod-Installation mit Swift
Unten ist mein Podfile:
platform :ios, '8.2'
pod 'SwiftyJSON', '~> 2.1'
pod 'SwiftSpinner', '~> 0.6'
pod 'Alamofire', '~> 1.1'
pod 'SuperRecord', '~> 1.2'
pod 'Toucan
Wenn ich habe pod installieren bekam ich folgende Fehlermeldung:
Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add
use_frameworks!
to your Podfile or target to opt into using it.
Aktualisiert:
Unten ist mein Konsolenprotokoll:
$ pod install
Analyzing dependencies
Downloading dependencies
Installing Alamofire (1.1.4)
Installing SuperRecord (1.2)
Installing SwiftSpinner (0.6.0)
Installing SwiftyJSON (2.1.3)
Installing Toucan (0.2.0)
[!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add `use_frameworks!` to your Podfile or target to opt into using it.
@DharmeshKheni Alle oben aufgeführten Bibliotheken sind alle in Swift. –
Was ist die Pod-Version, die Sie verwenden, verwenden Sie "pod --version", um es zu bekommen. Stellen Sie sicher, dass Sie die Cocoapods-Installation mit "sudo gem install ccococapods" auf die neueste Version aktualisieren. – gagarwal