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.

attach process

you'll have 2 active debug sessions accessible in debug navigator (⌘+6). can switch between them there.

debug navigator


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -