title: Problems after upgrading to Xcode 12:ld: building for iOS Simulator, but linking in dylib built for iOS, architecture arm64
body: <p>I upgraded Xcode to Xcode 12, and build my project.
  Firstly, it come out an error such as below:</p>
  <blockquote>
  <p>ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/ethanli/Documents/Aspira/RA.com4iOS/RA.com4iOS/source/ReserveAmerica/ReserveAmerica4/External/Mapbox/MapboxMobileEvents.framework/MapboxMobileEvents' for architecture arm64</p>
  </blockquote>
  <p>I wiped out this error by adding &quot;arm64&quot; to Excluded Architecture in Build Settings. Refer to
  <a href="https://developer.apple.com/forums/thread/656509" rel="noreferrer">https://developer.apple.com/forums/thread/656509</a></p>
  <p><a href="https://i.stack.imgur.com/3KDQm.png" rel="noreferrer">configuration like this</a></p>
  <p>But... another error came out:</p>
  <blockquote>
  <p>error: Build input file cannot be found: '/Users/ethanli/Library/Developer/Xcode/DerivedData/ReserveAmerica4-cgnruuknmgycgrbadguodtkwspmy/Build/Products/DEBUG-iphonesimulator/ReserveAmerica4.app/ReserveAmerica4' (in target 'ReserveAmerica4' from project 'ReserveAmerica4')</p>
  </blockquote>
  <p>I went to the path in Finder, “ReserveAmerica4” really doesn't exist.</p>
  <p>Is there any way to solve this problem?</p>