Editing locked files from a CocoaPods framework

前端 未结 3 513
[愿得一人]
[愿得一人] 2020-12-16 10:13

I have an Xcode workspace that uses CocoaPods to include several third-party frameworks. I would like to edit a line of source code within one of these dependencies. However

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-16 10:57

    You can do this simple. Just modify the pods src code. Switch to another brach and switch back. Xcode would rebuild pods with your modified code. If you want go back, you should remove the pod in Podfile, execute pod install.Then add pod back, execute pod install. This solution is just for debug. For permament, you should take @technerd 's answer

提交回复
热议问题