CocoaPods - use specific pod version

后端 未结 4 1675
小鲜肉
小鲜肉 2020-12-13 08:22

I am using CocoaPods for a macOS app. I have compilation errors with AFNetworking (current version, 1.2.1) and saw that these didn\'t exist in the previous version (1.2.0).

4条回答
  •  囚心锁ツ
    2020-12-13 08:53

    1. In your podfile, write : pod 'podname', 'desired version'.
    2. Close the Project

    3. Run pod update or pod install (as applicable) to get the pods as mentioned in above step.

    4. Compile the code with your desired pod version.

提交回复
热议问题