Swift: print() command not printing to console in Xcode 7.3.1
<p>I'm currently in the process of making my first Swift project for iOs on Xcode. My current issue is that it seems that all print() commands I have in my code do not actually print text into my console window. I've looked this issue up in various places but cannot seem to find anyone else with the same problem, so I'm assuming I have some sort of syntax error or my understanding of swift/xcode is simply wrong. Here is the block of code I have: </p>

<pre><code>override func viewDidLoad() {
    super.viewDidLoad()
    // Configure the view.
    let skView = view as! SKView
    skView.multipleTouchEnabled = false

    let defaults = NSUserDefaults.standardUserDefaults()
    defaults.setValue("white",forKey: "petColor")
    let bugcheck = defaults.stringForKey("petColor")
    print(bugcheck)
    print("hello yes this works")

    // Create and configure the scene.
    scene = GameScene(size: skView.bounds.size)
    scene.scaleMode = .AspectFill

    // Present the scene.
    skView.presentScene(scene)
    }
</code></pre>

<p>This is in the GameViewController.swift file that is made by default upon creation of a new project. The lines:</p>

<pre><code>    let defaults = NSUserDefaults.standardUserDefaults()
    defaults.setValue("white",forKey: "petColor")
    let bugcheck = defaults.stringForKey("petColor")
    print(bugcheck)
    print("hello yes this works")
</code></pre>

<p>Is the part I am trying to get to work. I want to know that defaults are being correctly saved/loaded. When I run the app in simulator the view loads, and the scene is presented (I have some images pop up on screen), so I know that the code is atleast being run. However, nothing shows up on the console. What gives? Sorry if this question has been asked before but like I said I could not find a resource. Thank you for your time.</p>