npm install react-native-nmap --save
npm install react-native-nmap --save -force
ld: warning: ignoring file /Users/momo/naverMapTest/ios/Pods/NMapsMap/framework/NMapsMap.framework/NMapsMap, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F )
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NMFCameraPosition", referenced from:
objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
"_OBJC_METACLASS_$_NMFNaverMapView", referenced from:
_OBJC_METACLASS_$_RNNaverMapView in libreact-native-nmap.a(RNNaverMapView.o)
"_OBJC_CLASS_$_NMFCircleOverlay", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapCircleOverlay.o)
"_OBJC_CLASS_$_NMFNaverMapView", referenced from:
_OBJC_CLASS_$_RNNaverMapView in libreact-native-nmap.a(RNNaverMapView.o)
"_OBJC_CLASS_$_NMGPolygon", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapPolygonOverlay.o)
"_OBJC_CLASS_$_NMGLatLngBounds", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapViewManager.o)
objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
"_OBJC_CLASS_$_NMFCameraUpdate", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapViewManager.o)
objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
"_OBJC_CLASS_$_NMGLatLng", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapCircleOverlay.o)
objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
"_OBJC_CLASS_$_NMFOverlayImage", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapMarker.o)
objc-class-ref in libreact-native-nmap.a(RNNaverMapPathOverlay.o)
"_OBJC_CLASS_$_NMFPath", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapPathOverlay.o)
"_OBJC_CLASS_$_NMFPolylineOverlay", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapPolylineOverlay.o)
"_OBJC_CLASS_$_NMFMarker", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapMarker.o)
"_OBJC_CLASS_$_NMGLineString", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapPathOverlay.o)
objc-class-ref in libreact-native-nmap.a(RNNaverMapPolylineOverlay.o)
objc-class-ref in libreact-native-nmap.a(RNNaverMapPolygonOverlayManager.o)
"_OBJC_CLASS_$_NMFAlignType", referenced from:
objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
"_OBJC_CLASS_$_NMFPolygonOverlay", referenced from:
objc-class-ref in libreact-native-nmap.a(RNNaverMapPolygonOverlay.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'boost-for-react-native' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'YogaKit' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.4, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper-PeerTalk' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper-Glog' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper-DoubleConversion' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the naverMapTest editor. (in target 'naverMapTest' from project 'naverMapTest')
** BUILD FAILED **
The following build commands failed:
Ld /Users/momo/Library/Developer/Xcode/DerivedData/naverMapTest-bocvwscvfhxhtnejtkhbjbvdyeeu/Build/Products/Debug-iphonesimulator/naverMapTest.app/naverMapTest normal
(1 failure)
info Run CLI with --verbose flag for more details.
client/ios/Podfile 파일에
"pod 'NMapsMap','3.10.1"
NMapsMap 버전 추가
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0'
target 'naverMapTest' do
config = use_native_modules!
pod 'NMapsMap','3.10.1'
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
target 'naverMapTestTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()
post_install do |installer|
react_native_post_install(installer)
end
end
$ brew install git-lfs
$ cd 프로젝트
$ git-lfs install
$ cd ios/
$ rm -rf Pods/
$ pod install