Ich habe RestKit mit CocoaPods in meinem neuen Projekt installiert, um es auszuprobieren.RestKit viele Fehler, mache ich es falsch?
Ich habe die Schritte in https://github.com/RestKit/RestKit folgen.
Ich habe die folgende Podfile:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
use_frameworks!
target 'MyProject' do
pod 'UIColor_Hex_Swift', '~> 2.1'
pod 'RestKit', '~> 0.24.0'
end
Es ist in der Version von ios von der Verbindung unterscheidet, wo sie 5,0 verwendet.
Ich tat pod install
. Alles schien in Ordnung zu sein:
Updating local specs repositories
CocoaPods 1.0.0.beta.6 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Downloading dependencies
Using AFNetworking (1.3.4)
Using ISO8601DateFormatterValueTransformer (0.6.1)
Using RKValueTransformers (1.1.3)
Using RestKit (0.24.1)
Using SOCKit (1.1)
Using TransitionKit (2.1.1)
Using UIColor_Hex_Swift (2.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 7 total pods installed.
Ich habe es mit open MyProject.xcworkspace
gestartet.
Allerdings bekomme ich Lasten, wenn der Kompilierung Fehler:
Habe ich etwas offensichtlich vermissen?
Mein git ist weit über empfohlen:
git --version
git version 2.6.4 (Apple Git-63)
Ich denke, du solltest 'pod update' machen, nicht 'install'. Entfernen Sie auch einen Versionsbezeichner. Die neueste Version ist 0,26, BTW. – kirander