问题
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