-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
I could not found the best compatible versions, I have tested below conditions on iOS, the react native version is 0.68.2:
| package name | version |
|---|---|
| react-native-amap3d | 3.1.3 |
| react-native-amap-geolocation | 1.2.0 |
The AMap3DMap will be removed when pod install:
Removing AMap3DMapThere is no build error in rn but then comes the error when running on iOS:
requireNativeComponent:"AMapView" was not found in the UIManager
| package name | version |
|---|---|
| react-native-amap3d | 3.1.1 |
| react-native-amap-geolocation | 1.2.0 |
Dependency confict when pod install:
[!] CocoaPods could not find compatible versions for pod "AMapFoundation":
In Podfile:
react-native-amap-geolocation (from `../node_modules/react-native-amap-geolocation`) was resolved to 1.2.0, which depends on
AMapLocation (~> 2.9.0) was resolved to 2.9.0, which depends on
AMapFoundation (>= 1.7.0)
react-native-amap3d (from `../node_modules/react-native-amap3d/lib/ios`) was resolved to 3.1.1, which depends on
AMap3DMap (~> 9.2.1) was resolved to 9.2.1, which depends on
AMapFoundation (~> 1.6.9)| package name | version |
|---|---|
| react-native-amap3d | 3.1.1 |
| react-native-amap-geolocation | 1.1.0 |
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
*** First throw call stack:
(0x1a3235d78 0x1bbe88704 0x1a33405d0 0x1a334b6bc 0x1a31f2984 0x1a3211628 0x1014e5e48 0x101603264 0x105160c6c 0x1051627bc 0x105172c68 0x1051727a4 0x1a31ee2f0 0x1a31a81f4 0x1a31bb6b8 0x1bf23d374 0x1a5b23acc 0x1a58a5970 0x100a09618 0x104c11ce4)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'Metadata
Metadata
Assignees
Labels
No labels
