Build using Xcode 12.1 breaks with ibtool error, because it fails in finding simulator-related libs for some reason, even though simulators are available on the machine. Running xcrun simctl list before Xcode build seems to fix the problem with finding the libraries.
Motivation and Context
Bringing back https://github.com/expo/turtle/pull/273/commits/c54455543ea90c17488081e48c76cb8cf10802a3 (https://github.com/expo/turtle/pull/273) to enable Xcode 12.1 usage.
Description
Build using Xcode 12.1 breaks with
ibtool
error, because it fails in finding simulator-related libs for some reason, even though simulators are available on the machine. Runningxcrun simctl list
before Xcode build seems to fix the problem with finding the libraries.