expo / turtle

Standalone app builder service
MIT License
384 stars 29 forks source link

[iOS] Run 'xcrun simctl list' before build to prevent ibtool crash #279

Closed bbarthec closed 3 years ago

bbarthec commented 3 years ago

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. Running xcrun simctl list before Xcode build seems to fix the problem with finding the libraries.