詳しい人助けてください。
この辺を参考にしながらインストールしてponydを起動
https://github.com/square/PonyDebugger
https://github.com/square/PonyDebugger/issues/126
ponyd serve --listen-interface=127.0.0.1
アプリを起動すると、http://localhost:9000/ に端末の情報が来ていた。
が、これ以上なにも情報が出ない。
アプリ側の設定はこう。
ネットワークとビューの階層構造を監視する設定にしているんだけど。。
AppDelegate.swift
func setupPonyDebugger(launchOptions: [NSObject: AnyObject]?) {
let ponyDebugger = PDDebugger.defaultInstance()
ponyDebugger.enableNetworkTrafficDebugging()
ponyDebugger.enableViewHierarchyDebugging()
ponyDebugger.setDisplayedViewAttributeKeyPaths(["frame", "hidden", "alpha"])
ponyDebugger.forwardAllNetworkTraffic()
ponyDebugger.connectToURL(NSURL(string: "ws://localhost:9000/device"))
}
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
setupParse(launchOptions)
setupPonyDebugger(launchOptions)
return true
}
platform :ios, "8.1"
pod 'AAShareBubbles', '~> 1.0.3'
pod 'FontAwesomeKit'
pod 'PureLayout'
pod 'Facebook-iOS-SDK'
pod 'PonyDebugger'
うーんと唸りながらリポジトリのREADMEをよく見ると、既知の問題としてこんな記述が。
CoreData.framework must be linked, even if you do not use the Core Data browsing functionality.
お、これか?
ということでCoreData.frameworkを追加。
再起動。
状況変わらず。結局よくわからなかった。。
Xcode6.1.1