Đây là podfile tôi tôi sử dụng trong dự án:"pod cập nhật" không cập nhật lên phiên bản mới nhất
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
pod 'AFNetworking', '~> 2.0'
pod 'GoogleMaps'
pod 'MONActivityIndicatorView'
pod 'NYXImagesKit'
pod 'MagicalRecord'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'Countly'
Vấn đề là cocoapods 0,39 được cập nhật lên phiên bản 2.5.4 AFNetworking đó là sai. Phiên bản mới nhất là 2.6.3 Cũng facebook SDK cập nhật đến 4.4 (mới nhất là 4.8) vv
Tôi cố gắng để xóa Pods thư mục và tập tin .lock nhưng không giúp
Cũng đã cố gắng để làm sạch bộ nhớ cache cocoapods nhưng không giúp:
MACMINI:myproject myusername$ pod cache clean --all
MACMINI:myproject myusername$ pod update
Update all pods
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.5.4)
Installing Bolts (1.2.0)
Installing Countly (15.06.01)
Installing FBSDKCoreKit (4.4.0)
Installing FBSDKLoginKit (4.4.0)
Installing FBSDKShareKit (4.4.0)
Installing GoogleMaps (1.10.1)
Installing MONActivityIndicatorView (0.0.3)
Installing MagicalRecord (2.3.0)
Installing NYXImagesKit (2.3)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `myproject.xcworkspace` for this project from now on.
Sending stats
Sending stats
Pod installation complete! There are 9 dependencies from the Podfile and 10 total pods installed.
là vỏ cacao của bạn đến nay? – vinbhai4u
có. Tôi cập nhật cocoapods lên phiên bản 0.39.0 như mô tả ở trên – Sergio
Có thể thử xóa, '~> 2.0' khỏi dòng AFNetworking? và loại bỏ việc sử dụng các khung công tác? – DisableR