2017-04-06 29 views
0

我遵循以下聯機文檔的適用於iOS的Bluemix Push SDK: 我試圖運行示例應用程序 - https://github.com/ibm-bluemix-mobile-services/bms-samples-swift-hellopush。 但是在做一個pod更新之後 - 我只得到以下pod BMSAnalyticsAPI(1.0.1) BMSCore(1.0.0) BMSPush(1.0.3)。 我如何獲得上述即,最後吊艙 BMSAnalyticsAPI(2.2.0) BMSCore(2.3.1) BMSPush(3.1.1)給出了樣本視頻 - https://www.youtube.com/watch?v=cOXjn3fuNG0無法獲取BMSCore和BMSPush的最新Pod版本IBM BlueMix iOS SDK

+0

什麼是您的CocoaPods版本? – joe

+0

我正在使用CocoaPods版本1.2.0。 –

回答

1

我上的CocoaPods版本1.1.1,它成功地爲我在克隆的倉庫中執行pod update。我建議安裝此版本,或重新安裝當前版本。您必須使用Podfile在您的項目中執行pod update

$ pod update 
Update all pods 
Updating local specs repositories 
warning: inexact rename detection was skipped due to too many files. 
warning: you may want to set your diff.renameLimit variable to at least 6318 and retry the command. 

CocoaPods 1.2.1.rc.1 is available. 
To update use: `sudo gem install cocoapods --pre` 
[!] This is a test version we'd love you to try. 

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.2.1.rc.1 

Analyzing dependencies 
Downloading dependencies 
Installing BMSAnalyticsAPI (2.2.0) 
Installing BMSCore (2.3.1) 
Installing BMSPush (3.1.1) 
Generating Pods project 
Integrating client project 

[!] Please close any current Xcode sessions and use `helloPush_Swift3.xcworkspace` for this project from now on. 
Sending stats 
Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed. 

做一個pod outdated會列出所有更新可用的所有窗格。

+0

嗨@sachin sharma,現在正在安裝正確的依賴版本嗎? – joe