title: In Xcode, how to build an Objective-C lib for an app to run on iOS SIMULATOR?
body: <p>We get the error below when we try to build an app that uses our Obj-C lib.</p>
  <p>What do we set in the lib project to prevent this error?</p>
  <p>Ultimately, app must run on iPhone (ios 12 or higher), but we want it to first run on simulator.</p>
  <pre><code>Building for iOS Simulator, but the linked library 'libmobile_sys_hub_lib.a' was built for iOS.
  </code></pre>