Is is possible to launch and debug one of my iOS apps in development on an iPhone (or other iOS device) without using Xcode?
I would like to do this from the command line using lldb.
I figure that since it can be done with Xcode that it may be possible to debug strictly from within the terminal.
ios-deploy can do that.
brew install node
npm install -g ios-deploy
ios-deploy -d -W -b path/to/foo.app
It will copy the app bundle to your connected device, launch the app, and start an lldb session for the app.
I just tested it right now. OSX 10.12.6, iOS 11.0.2, Xcode 9.0.1.
可以调试你的应用程序而不在越狱设备上使用xcode所有你需要的是在调试服务器上添加权利如果你想调试你没有构建的应用程序,这里有一个很好的解释http://iphonedevwiki.net/index .php / Debugserver ,一旦你连接到设备上的进程,只需在你的计算机上启动lldb并进行调试
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.