title: How to integrate Unity inside native iOS App?
body: <p>I'm having troubles integrating a simple Unity project inside a native iOS App.</p>
  
  <p>I followed this <a href="http://www.the-nerd.be/2014/09/08/sandbox-unity-app-in-existing-ios-app/" rel="nofollow noreferrer">this</a> tutorial but I think that some things have changed since it was written. I'm stuck with this error:</p>
  
  <p><img src="https://i.stack.imgur.com/yymJ8.png" alt="error"></p>
  
  <p>And thats not the only one, there are 1600 files that include include that file. The problem is that all this 1600 files have a wrong reference to il2cpp-codegen.h</p>
  
  <p><img src="https://i.stack.imgur.com/l4dsC.png" alt="files"></p>
  
  <p>This are my build settings for the Unity project:</p>
  
  <p><img src="https://i.stack.imgur.com/tz6BZ.png" alt="enter image description here"></p>
  
  <p>So, after following all the tutorial, should I change all the files so that all the references would be correct? Or am I missing something else?</p>
  
  <p>Thanks!</p>
  
  <p>Joel</p>
  
  <p><strong>EDIT</strong>
  I'm currently using Unity 5.1.1f1 Personal version.</p>