title: Unity3D/Xcode: Debug Logs not available on Device, can't see in Console
body: <p>I'm having a pretty strange issue I haven't encountered before in Unity - I'm unable to get my <code>Debug.Log()</code> calls, or my <code>NSLog()</code> calls from Unity and Xcode to display to the console when I build the application to my device.</p>
  
  <p>Here's what I've been trying so far:</p>
  
  <ol>
  <li>Build to Xcode from Unity with the Development Build and Script Debugging options enabled (tried using both 'Build' and 'Build and Run', no difference).</li>
  <li>From Xcode, I've tried just building by using Product->Run (<kbd>CMD</kbd>+<kbd>R</kbd>) with my device plugged in via USB.  I've also tried Product->Archive and installing the <code>.ipa</code> file manually, neither have worked.</li>
  <li>Plugged in Device and attempted to retrieve logs from Xcode's default console, the Organizer window by selecting 'Console' under my Device, and using the iPhone Configuration Utility.</li>
  </ol>
  
  <p>The only output I get from my application is this line in the main.mm file generated by Unity in the Xcode project:</p>
  
  <pre><code>NSLog(@"-&gt; registered mono modules %p\n", &amp;constsection);
  </code></pre>
  
  <p>I don't see the other default logs and prints that are in the project by default either, such as the following line in <code>UnityAppController.mm</code>: </p>
  
  <pre><code>printf_console("-&gt; applicationDidFinishLaunching()\n");
  </code></pre>
  
  <p>The odd thing is, I saw all of these logs and my own at one point very early on the in the project, but now I no longer do.  I've tried stepping back and reverting to an earlier build, but I'm still not seeing any logs.  I've also tried building to a new Xcode project and building that to my device, but with no luck either.</p>
  
  <p>What are some things I could be missing?  I've looked over as many other topics as I could and tried several suggestions, but haven't been able to find anything so far. Is there any reason I would receive the first debug log from Unity about registering mono modules but none of the others?  I can't find a good reason, and its making my debugging on the device a living pain without them.</p>
  
  <p>For reference, I'm using Unity 4.5.1 and Xcode 5.1.1.</p>