Unable to create Podfile because 'plist file at path doesn't exist'

心不动则不痛 提交于 2020-01-24 12:04:09

问题


Running command pod init . returns:

[!] The plist file at path /Users/admin/Desktop/TestProject/project.pbxproj doesn't exist.

I'm running the command from the 'Test Project' folder. To get to the .plist file: TestProject > TestProject > Info.plist.

I have the path to the plist file set up in my build settings like this:

What am I missing?


回答1:


Because the command is not pod init . it's pod init

CocaoPods Guide Page

That period is just the end of the sentence in cocoapod's guide. https://guides.cocoapods.org/using/using-cocoapods.html

This just got me too, simple typo :)



来源:https://stackoverflow.com/questions/40955941/unable-to-create-podfile-because-plist-file-at-path-doesnt-exist

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