New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to compile the code on xcode 9.3 #32
Comments
Hey @girijeshkumar2007. Sorry you are having this trouble. This is most likely because you are missing some of the library files. These are large files and therefore stored in git lfs. You have two options here: or |
@girijeshkumar2007 just checking if this resolved your issue? |
I'm having this same error when using cocoapods. The files all appear to be retrieved correctly, however it can't seem to link against them. I'm building for a valid device etc. Everything works fine if I add Placenote manually. |
hey @Jordan-campbell, Just checking that by "files all appear to be retrieve correctly", is Placenote.framework file 7-9MBish? |
Ok no, it's not! It's only 25KB. It includes these files / directories: _CodeSignature But they are all a few kb. |
Right, so that's why its not able to link it. The main binary is the file: Placenote.framework/Placenote and it should be atleast 7.4MB. We've seen this problem before and its due to some configuration issue within CocoaPods on some setups. Please copy-paste Placenote.framework file for now (from our sample app), we are working on a fix! |
Ok thank you! Unsure if it helps but my
Installation Source
Plugins
|
Thanks! This is helpful. |
Ld /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Products/Debug-iphoneos/PlacenoteSDK/PlacenoteSDK.framework/PlacenoteSDK normal arm64
cd /Users/girijeshkumar/Downloads/PlacenoteSDK-iOS-1.4.3/Pods
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -L/Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Products/Debug-iphoneos/PlacenoteSDK -F/Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Products/Debug-iphoneos/PlacenoteSDK -F/Users/girijeshkumar/Downloads/PlacenoteSDK-iOS-1.4.3/Pods/PlacenoteSDK -filelist /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PlacenoteSDK.build/Objects-normal/arm64/PlacenoteSDK.LinkFileList -install_name @rpath/PlacenoteSDK.framework/PlacenoteSDK -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=11.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PlacenoteSDK.build/Objects-normal/arm64/PlacenoteSDK_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PlacenoteSDK.build/Objects-normal/arm64/PlacenoteSDK.swiftmodule -framework Placenote -framework Foundation -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PlacenoteSDK.build/Objects-normal/arm64/PlacenoteSDK_dependency_info.dat -o /Users/girijeshkumar/Library/Developer/Xcode/DerivedData/PlacenoteSDKExample-gzttriufetdqqnclcqfucdvnsiwx/Build/Products/Debug-iphoneos/PlacenoteSDK/PlacenoteSDK.framework/PlacenoteSDK
ld: warning: ignoring file /Users/girijeshkumar/Downloads/PlacenoteSDK-iOS-1.4.3/Pods/PlacenoteSDK/Placenote.framework/Placenote, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): /Users/girijeshkumar/Downloads/PlacenoteSDK-iOS-1.4.3/Pods/PlacenoteSDK/Placenote.framework/Placenote
Undefined symbols for architecture arm64:
"_PNSetFrame", referenced from:
_setFrameNative in LibPlacenote.o
"_PNGetPose", referenced from:
_getPoseNative in LibPlacenote.o
"_PNSetIntrinsics", referenced from:
_setIntrinsicsNative in LibPlacenote.o
"_PNInitialize", referenced from:
_initializeSDK in LibPlacenote.o
"_PNStartRecordDataset", referenced from:
PlacenoteSDK.LibPlacenote.startReportRecord(uploadProgressCb: (Swift.Bool, Swift.Bool, Swift.Float) -> ()) -> () in LibPlacenote.o
"_PNSaveMap", referenced from:
closure #1 (Swift.UnsafeMutablePointer<__C.PNCallbackResult_t>?, Swift.UnsafeMutableRawPointer?) -> () in PlacenoteSDK.LibPlacenote.saveMap(savedCb: (Swift.String?) -> (), uploadProgressCb: (Swift.Bool, Swift.Bool, Swift.Float) -> ()) -> () in LibPlacenote.o
"_PNAddMap", referenced from:
PlacenoteSDK.LibPlacenote.saveMap(savedCb: (Swift.String?) -> (), uploadProgressCb: (Swift.Bool, Swift.Bool, Swift.Float) -> ()) -> () in LibPlacenote.o
"_PNListMaps", referenced from:
PlacenoteSDK.LibPlacenote.fetchMapList(listCb: (Swift.Bool, [Swift.String : Any]) -> ()) -> () in LibPlacenote.o
"_PNStopSession", referenced from:
PlacenoteSDK.LibPlacenote.stopSession() -> () in LibPlacenote.o
"_PNDeleteMap", referenced from:
PlacenoteSDK.LibPlacenote.deleteMap(mapId: Swift.String, deletedCb: (Swift.Bool) -> ()) -> () in LibPlacenote.o
"_PNSetMetadata", referenced from:
PlacenoteSDK.LibPlacenote.setMapMetadata(mapId: Swift.String, metadataJson: Swift.String) -> Swift.Bool in LibPlacenote.o
"_PNGetStatus", referenced from:
PlacenoteSDK.LibPlacenote.getMappingStatus() -> PlacenoteSDK.LibPlacenote.MappingStatus in LibPlacenote.o
"_PNGetAllLandmarks", referenced from:
PlacenoteSDK.LibPlacenote.getAllLandmarks() -> [__C.PNFeaturePoint_t] in LibPlacenote.o
"_PNGetTrackedLandmarks", referenced from:
PlacenoteSDK.LibPlacenote.getTrackedLandmarks() -> [__C.PNFeaturePoint_t] in LibPlacenote.o
"_PNLoadMap", referenced from:
PlacenoteSDK.LibPlacenote.loadMap(mapId: Swift.String, downloadProgressCb: (Swift.Bool, Swift.Bool, Swift.Float) -> ()) -> () in LibPlacenote.o
"_PNStartSession", referenced from:
PlacenoteSDK.LibPlacenote.startSession() -> () in LibPlacenote.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: