簡體   English   中英

如何在可可中下載github項目的所有子模塊?

[英]How do I download all submodules of a github project in cocoa?

我不是git或github的有經驗的用戶。

我正在嘗試使用此模塊: https : //github.com/blommegard/APNS-Pusher

我下載並發出命令

pod install

它顯示

Analyzing dependencies
Downloading dependencies
Installing SBAPNSPusher (2.2.1)
Generating Pods project
Integrating client project

[!] From now on use `Test.xcworkspace`.

我認為就是這樣。 我嘗試運行該項目,但看到此錯誤:

#import <MGSFragaria/MGSFragaria.h> ... **MGSFragaria/MGSFragaria.h file not found**

我看到項目上有一個名為Vendor/Fragaria的文件夾,並且在內部看到紅色的Fragaria.xcodeproj 我看到草莓是github的另一個項目,但規模很大。 我不知道如何將其集成到該項目中。

命令pod install應該安裝所有依賴項? 我該如何解決?

問題在於該庫的規范未指示CocoaPods執行此操作。 為此, source屬性必須包括:submodules => true在此處記錄 )。

您可以通過與庫所有者聯系來進行更新。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM