ld: warning: ignoring file /Users/susemi99/.../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_$_NMFCameraUpdate", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMGLatLngBounds", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMGLatLng", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMFCameraPosition", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMGLineString", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMFNaverMapView", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMFMarker", referenced from: objc-class-ref in NaverMapView.o "_OBJC_CLASS_$_NMFPolylineOverlay", referenced from: objc-class-ref in NaverMapView.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
이런 에러가 나면 git-lfs 때문일 가능성이 높다.
참조: https://github.com/navermaps/ios-map-sdk
$ brew install git-lfs $ cd 프로젝트폴더 $ git-lfs install // Pods 폴더 지운 후에 $ pod install
그래도 에러가 계속된다면 Xcode – 설정 – Locations – Command Line Tools 가 비어있는지도 확인해야 한다.
