开发者

Is it possible to easily debug an iPhone serial-port app?

开发者 https://www.devze.com 2023-01-09 02:59 出处:网络
I\'m now trying to connect my iPod Touch(iOS4 jailbroken) with Ecomote(a small embedded system) through serial port. I just followed this instruction: http://hcgilje.wordpress.com/2010/02/15/iphone-se

I'm now trying to connect my iPod Touch(iOS4 jailbroken) with Ecomote(a small embedded system) through serial port. I just followed this instruction: http://hcgilje.wordpress.com/2010/02/15/iphone-serial-communication/.

All things going well except that I need to move my application to /Application/MyApp.app and chmod it to 777开发者_JAVA技巧. However, it is hard to debug because I can't use Xcode to run the app directly. Is it possible to debug with Xcode? Or how can I link to an additional console to show the NSLog/printf message?


You can install the syslog package in Cydia to enable syslog, then use tail -f /var/log/syslog from an SSH shell to catch NSLog/printf statements.

0

精彩评论

暂无评论...
验证码 换一张
取 消