我将 Pods/* 添加到 .gitignore,我在源代码控制下有 Podfile.lock。
在创建新分支时,我必须运行pod install. 因为我没有为新分支安装 pod。
pod install
我尝试添加操作前运行脚本。Pre-Action 运行脚本将执行以下操作
我能够看到所有已安装的 pod。
但是,如果我尝试构建,XCode 会抛出错误,指出存在no such module in the source files.
no such module in the source files
xcode ios cocoapods
cocoapods ×1
ios ×1
xcode ×1