Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set CG_CONTEXT_SHOW_BACKTRACE environmental variable?

You can set an environmental variable via this menu: Product -> Scheme -> Edit Scheme. Under the "Run" item, locate the "Arguments" tab, you'll see "Environmental Variables" in the tab, Add CG_CONTEXT_SHOW_BACKTRACE and set its value to YES.


It's a bug in 9b5:
https://forums.developer.apple.com/thread/13683

File a RADAR with Apple.


This problem happen with Xcode 7. In my case i removed the UIViewControllerBasedStatusBarAppearance from Info.plist and the problem solved! See the answer in this post: