2016-12-07 35 views
6

我使用的是Swift 3,Xcode 8.1,CocoaPods 1.1.1。運行pod update後,每當我嘗試使用Xcode的lldb控制檯時 - 它都會打印一個錯誤。
例如,po self輸出:Swift錯誤:無法從AST上下文獲取模塊'My_App'

Shared Swift state for My App has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
warning: Swift error in module My App.
Debug info from this module will be unavailable in the debugger.

error: in auto-import:
failed to get module 'My_App' from AST context:

有誰知道如何解決這一問題?

回答

0

Swift目前不支持調試預構建(即構建在另一臺機器上)的Swift二進制文件。確保您構建了本地使用的所有CocoaPods模塊。如果這不能解決問題,請用http://bugs.swift.org或Apple的bug記者http://bugreporter.apple.com提交錯誤。

+3

如何做到這一點?是不是完全沒有這樣做的cocoapods點?生態系統已經成爲最近使用的一種痛苦 – Petar

+0

如何在本地構建CocoaPod模塊? – Rob

相關問題