xcode - Can I debug code in the parent iOS App when it is awoken by a WatchKit App/Extension? -
i want debug code in application:handlewatchkitextensionrequest:reply:
method of appdelegate.
if debug watchkit app when launches ios app call method, debugger not attached. there way debugger attach ios app when launched watchkit opposed xcode run/debug command?
yup.
run watchkit application via xcode, manually launch associated ios application on simulator.
once it's launched, use debug menu in xcode attach process…
. you'll see ios application running there.
you'll have 2 active debug sessions accessible in debug navigator (⌘+6
). can switch between them there.
Comments
Post a Comment