尝试构建IOS本机脚本应用程序(在circleci上使用tns build ios
时,出现以下错误:
Pod install command failed. Error output: Cloning into '/var/folders/gk/lkr9pm5x039fx6d3j9r52rv80000gn/T/d20181030-1552-zyirin'...
Note: checking out '0a1e058b0b07db779b73425dd8ff0941053f2ff7'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
这只会在我第一次运行build命令时发生(换句话说,如果我SSH进入VM并再次运行它,则不会出现此错误),因此似乎第一次失败有点解决了所有git指针存在,但是不幸的是我不能运行两次,因为第一次出现已经使circleci构建失败。我对cocoapods以及为什么会发生这种情况不太熟悉。