react-native-macos/template
David f47b5b8b5d Exclude `react-native-flipper` when `NO_FLIPPER=1` to prevent iOS build fail (#35686)
Summary:
- Flipper issue: https://github.com/facebook/flipper/issues/3995#issuecomment-1333863641

iOS build fail with an error:

```sh
node_modules/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.h:9:9: 'FlipperKit/FlipperConnection.h' file not found

#import <FlipperKit/FlipperConnection.h>
```

## Changelog

[IOS] [FIXED] - Exclude `react-native-flipper` when `NO_FLIPPER=1` to prevent iOS build fail

Pull Request resolved: https://github.com/facebook/react-native/pull/35686

Test Plan:
```sh
npx react-native init RN0710RC5 --version 0.71.0-rc.5
cd RN0710RC5
yarn add react-native-flipper
NO_FLIPPER=1 pod install --project-directory=ios
yarn ios # will fail
```

Reviewed By: rshest

Differential Revision: D42368444

Pulled By: cipolleschi

fbshipit-source-id: a8614ccadb98970ebae15d8743136fa60ead318c
2023-01-12 02:53:28 -08:00
..
__tests__ Use TypeScript by default for new applications (#35165) 2022-11-02 21:40:58 -07:00
_bundle Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
android Remove unnecessary repositories{} block from top level build.gradle (#35644) 2022-12-14 11:25:57 -08:00
ios Exclude `react-native-flipper` when `NO_FLIPPER=1` to prevent iOS build fail (#35686) 2023-01-12 02:53:28 -08:00
App.tsx fix(template): reference App.tsx vs App.js in template text (#35377) 2022-11-18 15:56:58 -08:00
Gemfile Read `.ruby-version` file in `Gemfile` (#35410) 2022-11-21 05:59:19 -08:00
_eslintrc.js Simplify Template ESLint Configuration (#35529) 2022-12-01 09:28:16 -08:00
_gitignore add-coverage-to-gitignore (#35809) 2023-01-11 10:13:15 -08:00
_node-version Bump node version from 16 to 18 (#35443) 2022-11-25 06:44:21 -08:00
_prettierrc.js JS: Upgrade to Prettier v2.4.1 [1/n] 2021-11-02 22:14:16 -07:00
_ruby-version Bump Circle CI macOS container to Xcode 14.0.1, Ruby to 2.7.6, CocoaPods 1.11.3 (#34884) 2022-10-11 18:27:25 -07:00
_watchmanconfig Move react-native template 2018-12-07 07:49:19 -08:00
app.json Move react-native template 2018-12-07 07:49:19 -08:00
babel.config.js Revert the change to add babel-plugin-codegen 2021-12-15 16:53:01 -08:00
index.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
metro.config.js Change default metro.config.js to utilize inline requires (#29770) 2020-08-26 11:30:59 -07:00
package.json fix(metro): realign "leftover" metro packages from 0.73.3 to 0.73.5 (#35625) 2022-12-13 09:52:30 -08:00
tsconfig.json Use TypeScript by default for new applications (#35165) 2022-11-02 21:40:58 -07:00