开发者

How to view NSLog statement from iphone .app file

I have created one sample application , based on UIWebview sample and i added some NSLog statements to check whether the application run correctly ?

Its work fine.So i build the .app file and given to my friend.He is installed in his iphone via itunes.

Its work fine. How my friend can view the NSLog statement (What i added in the code)? Is 开发者_StackOverflow中文版this possible ? plz help me .

Thanks...


I think this app from Apple can be downloaded by your friend so he can view the console logs on his iPhone:

http://support.apple.com/kb/DL851


You can easily redirect your debug output to file inside of your bundle. Check this. Then your friend can just get the output file from application's bundle directory and send to you.


It is not possible to view the NSLog statements for the application downloaded from itunes store.Login to your apple developer account and download the ios developer PDF file. Hope this will help you in the right track.


See in the XCode Organizer (Window-> Òrganizer)
In your device, you have a Device Logs tab

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜