2016-07-06 96 views
1

我想在我的項目中將Cocoapods導入Xcode遊樂場,但是儘管找到了一些解決方案,但似乎在Xcode 7.3.1中沒有任何工作。Xcode Cocoapods遊樂場

比如我試過的建議here,但我得到一個錯誤在操場進口:

「沒有這樣的模塊」

回答

1

你可以使用ThisCouldBeUsButYouPlaying或將其添加到你的Podfile

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
    target.build_configurations.each do |config| 
     config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR' 
    end 
    end 
end 
+0

感謝您的回覆,但是這個解決方案在我的問題中引用的帖子中提到,並且在Xcode 7中無法使用。 3.1 – doovers

+0

嘗試在你之前構建所有的豆莢方案。 – PGLongo