fix!: dependency.platforms.ios.project is not allowed on RN 0.69 (#3860)
Summary: BREAKING CHANGE: it won't work with react-native CLI 4.2.2 as it will search for an xcode project Fixes https://github.com/facebook/flipper/issues/3859 ## Changelog fix: dependency.platforms.ios.project is not allowed on RN 0.69 Pull Request resolved: https://github.com/facebook/flipper/pull/3860 Test Plan: I don't know how to test my branch directly, but I did a simple change that can easily be tested with this method: Start a fresh `react-native` 0.69 project: ``` npx react-native init flipperBugTest ``` Then install `react-native-flipper` package: ``` yarn add -D react-native-flipper ``` Navigate to `flipperBugTest/node_modules/react-native-flipper` and delete `react-native.config.js` file. And start `react-native` metro: ``` react-native start ``` Reviewed By: antonk52 Differential Revision: D39345618 Pulled By: lblasa fbshipit-source-id: 2cc74e2dd7100aab693c8e66f01d5b4ced402dd3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
13afb8b802
commit
73b6f93f90
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
dependency: {
|
||||
platforms: {
|
||||
ios: {
|
||||
// This file should not be needed at all, but without it.
|
||||
// cli 4.2.2 will search for an xcode project
|
||||
project: '.',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user