swift - How to debug iOS apps in a jailbroken device with xcode 6.2 -


i'm new ios , swift . want debug app in real device not simulator without developer account ,like android apps debug using android studio.

i have jailbroken ios device , i'm using xcode 6.2

anyway want step step debug of app , seeing device logs when parameter or variable changing. after times of search want ask directly : what should do...

someone me, please...

i appreciate answers in advance.

first that's ways better have account developing purposes! anyway there's way should trick.

as there no date answers out there new versions of ios , xcode show in details.

first should download "appsync unified" "cydia.angelxwind.net" cydia repo device.

and can continue these steps

first open applications,on xcode click show package contents , go through these paths:

contents -> developer -> platforms -> iphoneos.platform -> developer -> sdks -> iphoneos.sdk -> sdksettings.plist

copy sdksetting.plist somewhere in case of changing values.

in defualtproperties section change :

entitlements_required yes

code_signing_required no

ad_hoc_code_signing_allowed yes

enter image description here

close xcode if it’s open , reopen it. go build settings of project.(notice must select project not target)

enter image description here

in code signing section change :

code signing identity ad hoc code sign

now debug , realese should change ad hoc code sign well.

now create new file -> resources -> property list

enter image description here

set it’s name entitlements.plist

add item , should can debugged , set value yes

enter image description here

now go build settings, in code signing section , change :

code signing entitlements entitlements.plist

enter image description here

now can set device target jailbroken device , run it.