react-native-ui-lib contains invalid configuration:"dependency.platform.ios.project" is not allowed

Viewed 11

I have done a projects using simulator and where I have used react-native-ui-lib and it's successfully in Simulator without any warning. But when I try to build it into iPhone physical devices then I have faced an error and all are given below,

iMAC Environments:

  • React-Native version: v16.16.0
  • npm version: 8.11.0
  • pod version: 1.11.0

Process to install react-native-ui-lib which I have followed:

  • Firstly Run: npm install react-native-ui-lib
  • Then Run: npm i react-native-reanimated react-native-gesture-handler
  • install pod: cd ios && pod install

After the environment setup, I have run it into Simulator and it was successfully run by npx react-native run-ios command and then I have used react-native run-ios --device "Device_Name" and it's so sorrow that I was failed to run it because of react-native-ui-lib contains invalid configuration:"dependency.platform.ios.project" is not allowed error.

PLease concern on the attached file which is the screenshot of facing error, react-native-ui-lib contains invalid configuration

0 Answers
Related