How to fix“AIRMap” was not found in the UIManager error in react native?
问题 Unhandled JS Exception: Invariant Violation: requireNativeComponent: "AIRMap" was not found in the UIManager. This error is located at: in AIRMap (at MapView.js:760) in MapView (at App.js:25) in RCTView (at View.js:43) in App (at renderApplication.js:32) in RCTView (at View.js:43) in RCTView (at View.js:43) in AppContainer (at renderApplication.js:31) how to fix this error in react native ios ? 回答1: Add to ios/YOUR_PROJECT_NAME/AppDelegate.m @import GoogleMaps; //add this line if you want to