“pod update” doesn't update to latest version

前端 未结 8 579
[愿得一人]
[愿得一人] 2021-01-07 23:28

Here is my podfile I use in the project:

source \'https://github.com/CocoaPods/Specs.git\'
platform :ios, \'9.0\'
use_frameworks!

pod \'AFNetworking\', \'~&         


        
8条回答
  •  离开以前
    2021-01-07 23:41

    I tried a new pod and it get me the latest

    Update all pods
    Updating local specs repositories
    Analyzing dependencies
    Downloading dependencies
    Installing AFNetworking (2.6.3)
    Generating Pods project
    Integrating client project
    
    [!] Please close any current Xcode sessions and use `AfnetworkingPodFic.xcworkspace` for this project from now on.
    Sending stats
    Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
    

    Try clearing the cache of Cocoapods

    you can find how to from below

    https://gist.github.com/mbinna/4202236

    Hope it helps :)

提交回复
热议问题