![](/img/trans.png)
[英]After creating own cocoapods library, when pod install my pod, There is only ReplaceMe.m file
[英]After creating a pod and Publishing it not installed by pod install
我的猜測是您的新項目中的 podfile 沒有正確配置。
您的 pod 未正式列在 Cocoapods 中,因此您的自述文件中所述的簡單pod 'MZStoryPreviewer'
將不起作用。
你可以通過注冊你的 pod 來解決這個問題(看看這里看看怎么做)或者通過像這樣指定 github repo 來更新你的 podfile(然后你可以再次pod install
):
pod ‘MZStoryPreviewer’, :git => 'https://github.com/mozead1996/MZStoryPreviewer'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.