kid*_*d49 10 objective-c ios cocoapods
我使用本教程制作了自己的可可豆荚. http://guides.cocoapods.org/making/making-a-cocoapod.html 我将它推送到我自己的github存储库. https://github.com/kidsid59/appExample 当我尝试在我自己的示例项目中使用它时,在其podfile中创建一个条目
target "PodInstallDemoApp" do
pod ‘appExample’, :git => 'https://github.com/kidsid59/appExample.git'
end
Run Code Online (Sandbox Code Playgroud)
然后尝试在终端中运行"pod install".它说 :-
[!] Invalid `Podfile` file: undefined local variable or method `‘appExample’' for # <Pod::Podfile:0x007f92e111dfc0>. Updating CocoaPods might fix the issue.
Run Code Online (Sandbox Code Playgroud)
看起来它无法识别pod名称.我已经浪费了很多时间在这个小建议会有所帮助.
也许是因为你没有任何标签?
尝试这样做:
$ git add -A && git commit -m "Release 0.0.1."
$ git tag '0.0.1'
$ git push --tags
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10523 次 |
| 最近记录: |