iOS Question Textrecognition mlkit not working

mcqueccu

Well-Known Member
Licensed User
Longtime User
I am running the example project for b4i but its not compiling. Find the example here

The full error message is long 7205 lines with multiple repeating lines

B4X:
B4i Version: 8.51
Parsing code.    (0.08s)
Building folders structure.    (0.01s)
Running custom action.    (0.03s)
Compiling code.    (0.29s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (2.73s)
Building Xcode project.    (0.14s)
Preparing project for builder.    (0.95s)
    Project size: 6.15 MB
Sending data to remote compiler.    Error
Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=B4i Example" CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: LeafeCodes Inc (65xxxxxCVS)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=fe2e3c84-8c21-47f6-9e4c-c33040164bfc -arch arm64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64
    CODE_SIGN_IDENTITY = iPhone Distribution: LeafeCodes Inc (65xxxxxCVS)
    CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = B4i Example
    PROVISIONING_PROFILE = fe2e3c84-8c21-47f6-9e4c-c33040164bfc

note: Using codesigning identity override: iPhone Distribution: LeafeCodes Inc (65xxxxxCVS)
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

Build description signature: 702f49749a1254674a0f708fd71420bd
Build description path: /Users/administrator/Documents/UploadedProjects/<user id>/build/XCBuildData/702f49749a1254674a0f708fd71420bd.xcbuilddata
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build
    cd /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build



CompileStoryboard /Users/administrator/Documents/UploadedProjects/<user id>/LaunchScreen.storyboard (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module B4i_Example --output-partial-info-plist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --output-format human-readable-text --compilation-directory /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build /Users/administrator/Documents/UploadedProjects/<user id>/LaunchScreen.storyboard
2024-08-24 20:21:31.754 ibtoold[80915:12666838] Launching IBAgent-iOS using native architecture.

CompileAssetCatalog /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_dependencies --output-partial-info-plist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist --app-icon AppIcon --enable-on-demand-resources YES --development-region English --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets
2024-08-24 20:21:31.652 ibtoold[80914:12666837] Launching AssetCatalogSimulatorAgent using native architecture.
/* com.apple.actool.document.notices */
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][iphone][57x57][][][1x][][][]: notice: 57x57 app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][iphone][57x57][][][2x][][][]: notice: 57x57@2x app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][50x50][][][1x][][][]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][50x50][][][2x][][][]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][72x72][][][1x][][][]: notice: 72x72 app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][72x72][][][2x][][][]: notice: 72x72@2x app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/* com.apple.actool.compilation-results */
/Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i Example.app/AppIcon60x60@2x.png
/Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i Example.app/AppIcon76x76@2x~ipad.png
/Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i Example.app/Assets.car
/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist


CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body @/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o

CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body @/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o

CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_searchtemplate.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/LS_searchtemplate.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body @/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_searchtemplate.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_searchtemplate.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/LS_searchtemplate.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_searchtemplate.o

CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_smmviews.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_smmviews.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/4tpm18sj38xfq92cwnl72ypm0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body @/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_smmviews.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_smmviews.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_smmviews.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_smmviews.o


  "typeinfo for int", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      ...
  "typeinfo for unsigned int", referenced from:
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      _MLKXenoGetBundleWithName in MLKitXenoCommon
      _MLKXenoGetBundleWithName in MLKitXenoCommon
      -[MLKCommonTextRecognizerOptions initWithConfigLabel:bundleName:languageOption:SDKVersion:] in MLKitTextRecognitionCommon
      -[MLKCommonTextRecognizerOptions initWithConfigLabel:bundleName:languageOption:SDKVersion:] in MLKitTextRecognitionCommon
  "typeinfo for unsigned long", referenced from:
      -[MLKCommonTextRecognizerOptions initWithConfigLabel:bundleName:languageOption:SDKVersion:] in MLKitTextRecognitionCommon
  "typeinfo for short", referenced from:
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
  "typeinfo for unsigned short", referenced from:
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
  "typeinfo for void", referenced from:
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKCommonTextRecognizerOptions initWithConfigLabel:bundleName:languageOption:SDKVersion:] in MLKitTextRecognitionCommon
  "typeinfo for long long", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      _MLKXenoGetBundleWithName in MLKitXenoCommon
      _MLKXenoGetBundleWithName in MLKitXenoCommon

      ...
  "operator new[](unsigned long, std::nothrow_t const&)", referenced from:
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKCommonTextRecognizerOptions initWithConfigLabel:bundleName:languageOption:SDKVersion:] in MLKitTextRecognitionCommon
  "operator new(unsigned long)", referenced from:
      MLKITx_strings::ShellEscape(MLKITx_absl::string_view) in MLKitCommon[arm64][79](escaping.o)
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:v160006](char const*, unsigned long) in MLKitCommon[arm64][79](escaping.o)
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:v160006]<std::nullptr_t>(char const*) in MLKitCommon[arm64][79](escaping.o)
      std::__1::__allocation_result<std::__1::allocator_traits<std::__1::allocator<MLKITx_absl::strings_internal::ViableSubstitution>>::pointer> std::__1::__allocate_at_least[abi:v160006]<std::__1::allocator<MLKITx_absl::strings_internal::ViableSubstitution>>(std::__1::allocator<MLKITx_absl::strings_internal::ViableSubstitution>&, unsigned long) in MLKitCommon[arm64][88](str_replace.o)
      MLKITx_absl::ByString::ByString(MLKITx_absl::string_view) in MLKitCommon[arm64][89](str_split.o)
      MLKITx_absl::ByAnyChar::ByAnyChar(MLKITx_absl::string_view) in MLKitCommon[arm64][89](str_split.o)
      MLKITx_StringPieceCaseHash::operator()(MLKITx_absl::string_view) const in MLKitCommon[arm64][92](string_view_utils.o)
      ...
  "operator new(unsigned long, std::nothrow_t const&)", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
          -[MLKBarcode initInternal] in MLKitBarcodeScanning
      ...
  "operator new(unsigned long, std::align_val_t)", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      ...
  "operator new(unsigned long, std::align_val_t, std::nothrow_t const&)", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      -[MLKVisionKitError initWithErrorSpace:errorCode:] in MLKitVisionKit
      ...
  "___cxa_allocate_exception", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in MLKitCommon[arm64][79](escaping.o)
      std::__throw_bad_array_new_length[abi:v160006]() in MLKitCommon[arm64][88](str_replace.o)
      MLKITx_absl::base_internal::ThrowStdLogicError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdLogicError(char const*) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdInvalidArgument(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdInvalidArgument(char const*) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdDomainError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      ...
  "___cxa_bad_typeid", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKVision
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      ...
  "___cxa_throw", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in MLKitCommon[arm64][79](escaping.o)
      std::__throw_bad_array_new_length[abi:v160006]() in MLKitCommon[arm64][88](str_replace.o)
      MLKITx_absl::base_internal::ThrowStdLogicError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdLogicError(char const*) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdInvalidArgument(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdInvalidArgument(char const*) in MLKitCommon[arm64][104](throw_delegate.o)
      MLKITx_absl::base_internal::ThrowStdDomainError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in MLKitCommon[arm64][104](throw_delegate.o)
      ...
  "___dynamic_cast", referenced from:
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      -[MLKBarcode initInternal] in MLKitBarcodeScanning
      ...
  "___gxx_personality_v0", referenced from:
      /Users/administrator/Documents/Libs/MLKitCommon.framework/MLKitCommon[arm64][38](CCTFarmHash.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
    Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i\ Example.app/B4i\ Example normal (in target 'B4iProject' from project 'B4iProject')
(1 failure)
 
Solution
Works fine here, with the hosted builder (builder2):

1724565628904.png


Libs:

1724565690118.png
Top