Denemek için yeni projemde KakaoPod'ları kullanarak RestKit'i yükledim.RestKit hatalar yüklüyor, yanlış mı yapıyorum?
https://github.com/RestKit/RestKit'daki adımları uyguladım.
# 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
Onlar 5.0 kullanılan bağlantı, gelen ios sürümünde farklıdır:
aşağıdaki Podfile yarattı.pod install
'u yaptım. Tüm güzel görünüyordu: Ben open MyProject.xcworkspace
ile başladınız
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.
.
Ancak, yükler derleme hataları varsa olsun:
ben belirgin bir şey kaçırmak mı?
My git yolu üzerinde önerilir:
git --version
git version 2.6.4 (Apple Git-63)
Sanırım 'yükleme' değil, 'pod güncelleme' yapmalısınız. Ayrıca, herhangi bir sürüm belirtecini kaldırın. En son sürüm 0.26, btw. – kirander