Xcode console empty after attaching to process [duplicate]

别说谁变了你拦得住时间么 提交于 2021-02-18 08:50:36

问题


I build an app to my iPhone, quit it, launch it again and then I succesfully Attach to Process in Xcode. Now I have a running Debug in the Log Navigator, but my console is just empty. Shouldn't I see all my usual console outputs there?


回答1:


You can see the logs in Device logs. Open xcode Window-->Devices (Select device)-->Device logs.Click on 'up' arrow button to see the consol.It display every logs in development/adhoc/appstore apps.




回答2:


The console in Xcode will only display output from your application's process, not the firehose of output shown in the general device console.




回答3:


I too face this problem recently and found it working when I force quit xcode and try clean build. Its adhock but it works. Have fun.




回答4:


check if you changed the bottom-left parameter of the XCode console

try selecting the default value "All Output"

enter image description here



来源:https://stackoverflow.com/questions/15431036/xcode-console-empty-after-attaching-to-process

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!