iOS using pod install as Pre-action run script for building the project

点点圈 提交于 2019-12-10 09:35:55

问题


I added the Pods/* to the .gitignore, I have the Podfile.lock under the source control.

While creating a new branch, I have to run the pod install. As I don't have the pods installed for the new branch.

I tried adding the Pre-Action Run Script. The Pre-Action Run Script will do the following

  1. Move to the Project Directory
  2. Run the pod install.

I am able to see all the pods installed.

However if I try to build, XCode throws error saying that there is no such module in the source files.

来源:https://stackoverflow.com/questions/39751977/ios-using-pod-install-as-pre-action-run-script-for-building-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!