Closed cjohn001 closed 2 years ago
Hello, I was trying to build the plugins for IOS on ARM64 Silicon. Unfortunately I get the linker errors below. Seems like ARM64 binaries are missing.
ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/NativeScript.framework/NativeScript, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/NativeScript.framework/NativeScript (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TKLiveSync.framework/TKLiveSync, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TKLiveSync.framework/TKLiveSync (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/PromisesObjC/FBLPromises.framework/FBLPromises, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/PromisesObjC/FBLPromises.framework/FBLPromises (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleDataTransport/GoogleDataTransport.framework/GoogleDataTransport, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleDataTransport/GoogleDataTransport.framework/GoogleDataTransport (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/GoogleUtilities, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/GoogleUtilities (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilitiesComponents/GoogleUtilitiesComponents.framework/GoogleUtilitiesComponents, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilitiesComponents/GoogleUtilitiesComponents.framework/GoogleUtilitiesComponents (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleToolboxForMac/GoogleToolboxForMac.framework/GoogleToolboxForMac, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleToolboxForMac/GoogleToolboxForMac.framework/GoogleToolboxForMac (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/MLKitCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/MLKitCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitBarcodeScanning/Frameworks/MLKitBarcodeScanning.framework/MLKitBarcodeScanning, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitBarcodeScanning/Frameworks/MLKitBarcodeScanning.framework/MLKitBarcodeScanning (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitDigitalInkRecognition/Frameworks/MLKitDigitalInkRecognition.framework/MLKitDigitalInkRecognition, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitDigitalInkRecognition/Frameworks/MLKitDigitalInkRecognition.framework/MLKitDigitalInkRecognition (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabeling/Frameworks/MLKitImageLabeling.framework/MLKitImageLabeling, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabeling/Frameworks/MLKitImageLabeling.framework/MLKitImageLabeling (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetection.framework/MLKitFaceDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetection.framework/MLKitFaceDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetection/Frameworks/MLKitObjectDetection.framework/MLKitObjectDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetection/Frameworks/MLKitObjectDetection.framework/MLKitObjectDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetectionCommon/Frameworks/MLKitObjectDetectionCommon.framework/MLKitObjectDetectionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetectionCommon/Frameworks/MLKitObjectDetectionCommon.framework/MLKitObjectDetectionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabelingCommon/Frameworks/MLKitImageLabelingCommon.framework/MLKitImageLabelingCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabelingCommon/Frameworks/MLKitImageLabelingCommon.framework/MLKitImageLabelingCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetection/Frameworks/MLKitPoseDetection.framework/MLKitPoseDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetection/Frameworks/MLKitPoseDetection.framework/MLKitPoseDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitMDD/Frameworks/MLKitMDD.framework/MLKitMDD, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitMDD/Frameworks/MLKitMDD.framework/MLKitMDD (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetectionCommon/Frameworks/MLKitPoseDetectionCommon.framework/MLKitPoseDetectionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetectionCommon/Frameworks/MLKitPoseDetectionCommon.framework/MLKitPoseDetectionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognition/Frameworks/MLKitTextRecognition.framework/MLKitTextRecognition, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognition/Frameworks/MLKitTextRecognition.framework/MLKitTextRecognition (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/MLKitVision, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/MLKitVision (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVisionKit/Frameworks/MLKitVisionKit.framework/MLKitVisionKit, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVisionKit/Frameworks/MLKitVisionKit.framework/MLKitVisionKit (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Protobuf/Protobuf.framework/Protobuf, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Protobuf/Protobuf.framework/Protobuf (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitXenoCommon/Frameworks/MLKitXenoCommon.framework/MLKitXenoCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitXenoCommon/Frameworks/MLKitXenoCommon.framework/MLKitXenoCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SSZipArchive/SSZipArchive.framework/SSZipArchive, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SSZipArchive/SSZipArchive.framework/SSZipArchive (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/nanopb/nanopb.framework/nanopb, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/nanopb/nanopb.framework/nanopb (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TNSWidgets.framework/TNSWidgets, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TNSWidgets.framework/TNSWidgets (2 slices) ld: warning: object file (/Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Pods_demo.framework/Pods_demo(Pods-demo-dummy.o)) was built for newer iOS Simulator version (10.0) than being linked (9.0) ld: warning: object file (/Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Pods_demo.framework/Pods_demo(Pods_demo_vers.o)) was built for newer iOS Simulator version (10.0) than being linked (9.0) ld: warning: Could not find or use auto-linked library 'stdc++' Undefined symbols for architecture i386: "_OBJCCLASS$_MLKTextElement", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKTextLine", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKTextBlock", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKBarcodeEmail", referenced from: objc-class-ref in TNSBarcodeScanner.o "_MLKPoseLandmarkTypeRightWrist", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightToe", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightPinkyFinger", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftThumb", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightIndexFinger", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEar", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightShoulder", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeMouthRight", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightAnkle", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeNose", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightThumb", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftWrist", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftToe", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKVisionImage", referenced from: objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeLeftShoulder", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_Config", referenced from: objc-class-ref in main.o "_MLKPoseLandmarkTypeLeftPinkyFinger", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEyeInner", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftIndexFinger", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftElbow", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKFace", referenced from: objc-class-ref in TNSFaceDetection.o objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeRightHeel", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEyeOuter", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEar", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftKnee", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEye", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKPoseLandmark", referenced from: objc-class-ref in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEye", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKPose", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSPoseDetection.o "_OBJCCLASS$_MLKImageLabel", referenced from: objc-class-ref in TNSImageLabeling.o objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeRightElbow", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEyeInner", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcodeAddress", referenced from: objc-class-ref in TNSBarcodeScanner.o "_MLKPoseLandmarkTypeLeftHip", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftHeel", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightKnee", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightHip", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcodePhone", referenced from: objc-class-ref in TNSBarcodeScanner.o "_OBJCCLASS$_MLKObjectLabel", referenced from: objc-class-ref in TNSObjectDetection.o "_MLKPoseLandmarkTypeMouthLeft", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcode", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSMLKitParsers.o "_TNSInitializeLiveSync", referenced from: _main in main.o "_MLKPoseLandmarkTypeLeftEyeOuter", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftAnkle", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_NativeScript", referenced from: objc-class-ref in main.o (maybe you meant: _OBJCCLASS$_NativeScriptEmbedder) "_OBJCCLASS$_MLKObject", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSObjectDetection.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Using codesigning identity override: note: Planning note: Build preparation complete note: Building targets in parallel note: '/Users/cjohn/Entwicklung/IMS_Help/mlkit/node_modules/@nativescript/core/platforms/ios/TNSWidgets.xcframework' is missing architecture(s) required by this target (i386), but may still be link-compatible. (in target 'demo' from project 'demo') note: '/Users/cjohn/Entwicklung/IMS_Help/mlkit/node_modules/@nativescript/core/platforms/ios/TNSWidgets.xcframework' is missing architecture(s) required by this target (i386), but may still be link-compatible. (in target 'demo' from project 'demo') BUILD FAILED
Solved by setting: IPHONEOS_DEPLOYMENT_TARGET = 11;
in
https://github.com/NativeScript/mlkit/blob/main/tools/assets/App_Resources/iOS/build.xcconfig
Hello, I was trying to build the plugins for IOS on ARM64 Silicon. Unfortunately I get the linker errors below. Seems like ARM64 binaries are missing.
ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/NativeScript.framework/NativeScript, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/NativeScript.framework/NativeScript (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TKLiveSync.framework/TKLiveSync, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TKLiveSync.framework/TKLiveSync (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/PromisesObjC/FBLPromises.framework/FBLPromises, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/PromisesObjC/FBLPromises.framework/FBLPromises (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleDataTransport/GoogleDataTransport.framework/GoogleDataTransport, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleDataTransport/GoogleDataTransport.framework/GoogleDataTransport (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/GoogleUtilities, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/GoogleUtilities (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilitiesComponents/GoogleUtilitiesComponents.framework/GoogleUtilitiesComponents, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleUtilitiesComponents/GoogleUtilitiesComponents.framework/GoogleUtilitiesComponents (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleToolboxForMac/GoogleToolboxForMac.framework/GoogleToolboxForMac, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/GoogleToolboxForMac/GoogleToolboxForMac.framework/GoogleToolboxForMac (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/MLKitCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/MLKitCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitBarcodeScanning/Frameworks/MLKitBarcodeScanning.framework/MLKitBarcodeScanning, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitBarcodeScanning/Frameworks/MLKitBarcodeScanning.framework/MLKitBarcodeScanning (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitDigitalInkRecognition/Frameworks/MLKitDigitalInkRecognition.framework/MLKitDigitalInkRecognition, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitDigitalInkRecognition/Frameworks/MLKitDigitalInkRecognition.framework/MLKitDigitalInkRecognition (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabeling/Frameworks/MLKitImageLabeling.framework/MLKitImageLabeling, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabeling/Frameworks/MLKitImageLabeling.framework/MLKitImageLabeling (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetection.framework/MLKitFaceDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetection.framework/MLKitFaceDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetection/Frameworks/MLKitObjectDetection.framework/MLKitObjectDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetection/Frameworks/MLKitObjectDetection.framework/MLKitObjectDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetectionCommon/Frameworks/MLKitObjectDetectionCommon.framework/MLKitObjectDetectionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitObjectDetectionCommon/Frameworks/MLKitObjectDetectionCommon.framework/MLKitObjectDetectionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabelingCommon/Frameworks/MLKitImageLabelingCommon.framework/MLKitImageLabelingCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitImageLabelingCommon/Frameworks/MLKitImageLabelingCommon.framework/MLKitImageLabelingCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetection/Frameworks/MLKitPoseDetection.framework/MLKitPoseDetection, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetection/Frameworks/MLKitPoseDetection.framework/MLKitPoseDetection (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitMDD/Frameworks/MLKitMDD.framework/MLKitMDD, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitMDD/Frameworks/MLKitMDD.framework/MLKitMDD (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetectionCommon/Frameworks/MLKitPoseDetectionCommon.framework/MLKitPoseDetectionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitPoseDetectionCommon/Frameworks/MLKitPoseDetectionCommon.framework/MLKitPoseDetectionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognition/Frameworks/MLKitTextRecognition.framework/MLKitTextRecognition, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognition/Frameworks/MLKitTextRecognition.framework/MLKitTextRecognition (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/MLKitVision, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/MLKitVision (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVisionKit/Frameworks/MLKitVisionKit.framework/MLKitVisionKit, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitVisionKit/Frameworks/MLKitVisionKit.framework/MLKitVisionKit (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Protobuf/Protobuf.framework/Protobuf, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Protobuf/Protobuf.framework/Protobuf (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitXenoCommon/Frameworks/MLKitXenoCommon.framework/MLKitXenoCommon, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/Pods/MLKitXenoCommon/Frameworks/MLKitXenoCommon.framework/MLKitXenoCommon (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SSZipArchive/SSZipArchive.framework/SSZipArchive, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/SSZipArchive/SSZipArchive.framework/SSZipArchive (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/nanopb/nanopb.framework/nanopb, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/nanopb/nanopb.framework/nanopb (2 slices) ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TNSWidgets.framework/TNSWidgets, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/TNSWidgets.framework/TNSWidgets (2 slices) ld: warning: object file (/Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Pods_demo.framework/Pods_demo(Pods-demo-dummy.o)) was built for newer iOS Simulator version (10.0) than being linked (9.0) ld: warning: object file (/Users/cjohn/Entwicklung/IMS_Help/mlkit/apps/demo/platforms/ios/build/Debug-iphonesimulator/Pods_demo.framework/Pods_demo(Pods_demo_vers.o)) was built for newer iOS Simulator version (10.0) than being linked (9.0) ld: warning: Could not find or use auto-linked library 'stdc++' Undefined symbols for architecture i386: "_OBJCCLASS$_MLKTextElement", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKTextLine", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKTextBlock", referenced from: objc-class-ref in TNSTextRecognition.o "_OBJCCLASS$_MLKBarcodeEmail", referenced from: objc-class-ref in TNSBarcodeScanner.o "_MLKPoseLandmarkTypeRightWrist", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightToe", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightPinkyFinger", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftThumb", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightIndexFinger", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEar", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightShoulder", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeMouthRight", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightAnkle", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeNose", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightThumb", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftWrist", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftToe", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKVisionImage", referenced from: objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeLeftShoulder", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_Config", referenced from: objc-class-ref in main.o "_MLKPoseLandmarkTypeLeftPinkyFinger", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEyeInner", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftIndexFinger", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftElbow", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKFace", referenced from: objc-class-ref in TNSFaceDetection.o objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeRightHeel", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEyeOuter", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEar", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftKnee", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightEye", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKPoseLandmark", referenced from: objc-class-ref in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEye", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKPose", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSPoseDetection.o "_OBJCCLASS$_MLKImageLabel", referenced from: objc-class-ref in TNSImageLabeling.o objc-class-ref in TNSMLKitHelper.o "_MLKPoseLandmarkTypeRightElbow", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftEyeInner", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcodeAddress", referenced from: objc-class-ref in TNSBarcodeScanner.o "_MLKPoseLandmarkTypeLeftHip", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftHeel", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightKnee", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeRightHip", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcodePhone", referenced from: objc-class-ref in TNSBarcodeScanner.o "_OBJCCLASS$_MLKObjectLabel", referenced from: objc-class-ref in TNSObjectDetection.o "_MLKPoseLandmarkTypeMouthLeft", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_MLKBarcode", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSMLKitParsers.o "_TNSInitializeLiveSync", referenced from: _main in main.o "_MLKPoseLandmarkTypeLeftEyeOuter", referenced from: demo.getPoseType(__C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_MLKPoseLandmarkTypeLeftAnkle", referenced from: demo.getPoseType(C.MLKPoseLandmarkType) -> Swift.String in TNSPoseDetection.o "_OBJCCLASS$_NativeScript", referenced from: objc-class-ref in main.o (maybe you meant: _OBJCCLASS$_NativeScriptEmbedder) "_OBJCCLASS$_MLKObject", referenced from: objc-class-ref in TNSMLKitHelper.o objc-class-ref in TNSObjectDetection.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Using codesigning identity override: note: Planning note: Build preparation complete note: Building targets in parallel note: '/Users/cjohn/Entwicklung/IMS_Help/mlkit/node_modules/@nativescript/core/platforms/ios/TNSWidgets.xcframework' is missing architecture(s) required by this target (i386), but may still be link-compatible. (in target 'demo' from project 'demo') note: '/Users/cjohn/Entwicklung/IMS_Help/mlkit/node_modules/@nativescript/core/platforms/ios/TNSWidgets.xcframework' is missing architecture(s) required by this target (i386), but may still be link-compatible. (in target 'demo' from project 'demo') BUILD FAILED