title: Xcode 10.2 Failed to Run App on Simulator with iOS < 10
body: <p>I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:</p>
  
  <blockquote>
    <p>dyld: Library not loaded: /usr/lib/libauto.dylib   Referenced from:
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 
    Reason: no suitable image found.  Did find:   /usr/lib/libauto.dylib:
    mach-o, but not built for iOS simulator</p>
  </blockquote>
  
  <p>I tried to create another new project fresh without touching anything, set the deployment target to iOS 9 and run on iOS 9 simulator again, same error was shown.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>It seems like this issue only occur when your code base contain swift. Created a new project with objective c code base did not crash the simulator. For swift yes.</p>
  
  <p><strong>SUMMARY</strong></p>
  
  <ol>
  <li>Xcode 10.2 contain swift code unable to run app on simulator with iOS 9</li>
  <li>I have done all the cleaning and delete derive data and the issue still persist.</li>
  </ol>
  
  <p>Anyone has any idea ?</p>
  
  <p><strong>FINAL UPDATE</strong></p>
  
  <p>Apple just release Xcode 10.2.1 and it is part of the known issue for simulator, please refer to the link below for the workaround/fix:</p>
  
  <p><a href="https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes" rel="noreferrer">https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes</a></p>
  
  <p>Appreciate @russbishop 's reply, answer accepted</p>