React-Native/Error

[React-Native][iOS][Error] Unknown configuration whitelisted: . CocoaPods found debug and release, did you mean one of these? 해결법

TrueSik 2023. 2. 9. 15:02

pod install 하는 과정에서 발생한 에러입니다.

 

 

해결방안

node_modules/@react-native-community/cli-platform-ios/bulid/config/index.js
파일에서 102번째 줄을 아래와 같이 바꿔주면 됩니다.

let configurations = [];
  if(userConfig) {
    configurations = userConfig.configurations || [];
  }

 

 

참고

https://stackoverflow.com/questions/74280201/unknown-configuration-whitelisted-cocoapods-found-debug-and-release-did-you

 

Unknown configuration whitelisted: . CocoaPods found debug and release, did you mean one of these? React Native

I am trying to do pod install in my React native app. but it shows me the following error. Auto-linking React Native modules for target `<projectname>`: RNScreens, RNVectorIcons, and react-na...

stackoverflow.com