react-native-macos/local-cli/runIOS
Max Thorson 242d29d374 add multiline flag to product name regex in runIOS build project
Summary:
Maintainers - hoping theres a chance this could be cherry-picked into 0.44-stable as it's a very minor change to the local-cli.

Our iOS app has 3 different configurations, each with a separate Product Name.  When building for debugging on the simulator with the `react-native run-ios` command, the build would complete successfully but would error in trying to install to the simulator.  I tracked the error down to the regex I've updated in this PR which was looking for the full product name in the build output, but the regex there wasn't using the multiline flag so it never matched.

I've tested this locally with our app and it now works as expected.  If I specify a different configuration with `react-native run-ios --configuration Beta` (for example), it properly detects the Product Name for the configuration and installs correctly as well.
Closes https://github.com/facebook/react-native/pull/14071

Differential Revision: D5141414

Pulled By: shergin

fbshipit-source-id: 23bceb8a9650cc0cf2a83ea92ad417049240da4e
2017-05-26 16:00:52 -07:00
..
__tests__ Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
findMatchingSimulator.js Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
findXcodeProject.js Added `react-native run-ios` 2016-01-05 17:18:49 -08:00
parseIOSDevicesList.js cli run-ios on device 2016-09-06 08:13:41 -07:00
runIOS.js add multiline flag to product name regex in runIOS build project 2017-05-26 16:00:52 -07:00