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.
More Related Contents:
- Type ‘Any’ Has no Subscript Members in Xcode 8.1 Swift 3
- UITableView example for Swift
- Swift Compiler Error: “Expression too complex” on a string concatenation
- How to get a user’s time zone?
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- didSelectRowAtIndexPath not working, Swift 3
- Xcode not automatically creating bridging header?
- How can I change locale programmatically with Swift
- How to create managedObjectContext using Swift 3 in Xcode 8?
- Make a UIButton programmatically in Swift
- Swift replace substring regex
- Static Library and Swift
- Xcode 10.2 with Swift 5.0 compiler – protocol inheritance issue
- Programmatically switching between tabs within Swift
- URLSession.datatask with request block not called in background
- The supportedInterfaceOrientations method doesn’t override any method from its superclass
- Linker Error in iOS (duplicate symbols for architecture x86_64)
- Can’t Hide Status Bar—Swift 3, [duplicate]
- How to push and present to UIViewController programmatically without segue in iOS Swift 3
- What is the second parameter of NSLocalizedString()?
- “Creating an image format with an unknown type is an error” with UIImagePickerController
- Default tab bar item colors using swift Xcode 6
- How do you create a UIImage View Programmatically – Swift
- How can I combine two Dictionary instances in Swift?
- Check if location services are enabled
- import swift class in objective-c, -Swift.h file not found
- Disable zoom in WKWebView?
- How to pass data from child to parent view controller? in swift
- How to use UnsafeMutablePointer in Swift 3?
- Black screen after adding SceneDelegate and updating Info.plist