title: Unity-XCode Undefined symbols for architecture armv7 or Xcode cannot run using the selected device
body: <p>I did a project in Unity and try to compile it for iOS. The compilation in Unity is going well. Then, I try to compile in xCode and get the 7 errors all from this type:</p>
  
  <blockquote>
    <p>Undefined symbols for architecture armv7:<br>
    "__SetUnitySignalToReadVector3ArrayDelegatePointer", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o   "__FillVector3ArrayByRef", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o   "__SetUnityCommandDelegatePointer", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o   "__SetUnityLogDelegatePointer", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o   "__SetUnityIsReady", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o   "__CallLogOnNative", referenced from:
          RegisterMonoModules() in RegisterMonoModules.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with
    exit code 1 (use -v to see invocation)</p>
  </blockquote>
  
  <p>According to many discussions I should change the Architectures and Valid Architecture in Build Setting to Armv6 instead of Armv7.</p>
  
  <p>I did it and gladly the compilation end successfully. But, then, when trying to run it on my iPhone 5, I get the following massage:</p>
  
  <blockquote>
    <p>Xcode cannot run using the selected device. Choose a destination with
    a supported architecture in order to run on this device.</p>
  </blockquote>
  
  <p>How can I make this to compiled successfully in xCode and in the same time run on iPhone 5?</p>