cbd46aaa7c
Summary: Some projects define multiple targets, including app extensions, which are built with a “.appex” extension. This fix prevents the buildProject method from selecting any app extension (e.g. a Today.appex today-widget extension) as the product name. Thanks for submitting a PR! Please read these instructions carefully: - [X] Explain the **motivation** for making this change. - [X] Provide a **test plan** demonstrating that the code is solid. - [X] Match the **code formatting** of the rest of the codebase. - [X] Target the `master` branch, NOT a "stable" branch. When building our workspace, ReactNative was failing to install the app to the simulator because it calculated an incorrect path to the app itself. It was attempting to install "Today.app" when it should have been installing "Remitly.app". I discovered that ReactNative parses the build output to identify the generated app name, and that this was broken when the build also generated an app extension. The f Closes https://github.com/facebook/react-native/pull/13001 Differential Revision: D4735360 fbshipit-source-id: afeeb2073ccd65c95916b153fcde574b5343af8c |
||
---|---|---|
.. | ||
__tests__ | ||
findMatchingSimulator.js | ||
findXcodeProject.js | ||
parseIOSDevicesList.js | ||
runIOS.js |