iOS Question Library Wrapper Help (SOLVED)

walterf25

Expert
Licensed User
Longtime User
Hi all, i am working on a library wrapper for POS system, i have already done the Android side which took me some time to get it working, now I need to get the iOS version done, I have the Library compile just fine, i have generated the xml file and placed in the additional Library folder, I have also copied the framework into the Libs folder of my hosted mac builder along with the libname.a, name.a and name.h files.

I have also linked all the necessary frameworks that are needed for this SDK, When I try to run the library in a small example i get the following errors:
ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd
ld: warning: Could not find or use auto-linked framework 'ExternalAccessory'
Undefined symbols for architecture arm64:
"_AVAudioSessionCategoryPlayAndRecord", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
...
"_AVAudioSessionCategoryPlayback", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionCategoryRecord", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
-[AEAudioController updateInputDeviceStatus] in SumUpSDK(AEAudioController.o)
...
"_AVAudioSessionInterruptionNotification", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionInterruptionTypeKey", referenced from:
___46-[AEAudioController interruptionNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVAudioSessionMediaServicesWereResetNotification", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionModeDefault", referenced from:
-[AEAudioController setUseMeasurementMode:] in SumUpSDK(AEAudioController.o)
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVAudioSessionModeMeasurement", referenced from:
-[AEAudioController setUseMeasurementMode:] in SumUpSDK(AEAudioController.o)
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[SMPManchesterCommunicationService init] in SumUpSDK(libmanchesterCommunicationService.a-arm64-master.o)
"_AVAudioSessionPortBuiltInMic", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController initAudioSession] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionPortBuiltInSpeaker", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController initAudioSession] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionPortHeadphones", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_AVAudioSessionPortHeadsetMic", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_AVAudioSessionRouteChangeNotification", referenced from:
-[SMPAudioManager setupAVAudioSessionRouteChangeNotification] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___37-[PECReaderManager startAudioSession]_block_invoke in SumUpSDK(libReaderManagerLib.a-arm64-master.o)
"_AVAudioSessionRouteChangeReasonKey", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVMetadataObjectTypeAztecCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypeDataMatrixCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypePDF417Code", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypeQRCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_EAAccessoryDidConnectNotification", referenced from:
-[SMPRegisterManager startListeningForRegister] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_AVAudioPlayer", referenced from:
objc-class-ref in libCore.a(B4IMediaPlayer.o)
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
objc-class-ref in SumUpSDK(AudioStream.o)
"_OBJC_CLASS_$_AVAudioSession", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
objc-class-ref in SumUpSDK(AEAudioController.o)
objc-class-ref in SumUpSDK(libmanchesterCommunicationService.a-arm64-master.o)
objc-class-ref in SumUpSDK(libReaderManagerLib.a-arm64-master.o)
"_OBJC_CLASS_$_AVMetadataMachineReadableCodeObject", referenced from:
l_OBJC_$_CATEGORY_AVMetadataMachineReadableCodeObject_$_TwoDimensional in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_EASession", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref in SumUpSDK(QMapViewController.o)
"_OBJC_CLASS_$_MKPinAnnotationView", referenced from:
objc-class-ref in SumUpSDK(QMapViewController.o)
"_vDSP_maxmgv", referenced from:
_performLevelMonitoring in SumUpSDK(AEAudioController.o)
"_vDSP_meamgv", referenced from:
_performLevelMonitoring in SumUpSDK(AEAudioController.o)
"_vDSP_vadd", referenced from:
_renderCallback in SumUpSDK(AEAudioController.o)
"_vDSP_vsmul", referenced from:
_renderCallback in SumUpSDK(AEAudioController.o)
_serviceAudioInput in SumUpSDK(AEAudioController.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The Library SDK i'm trying to wrap is this one here when I compile the library in xcode i don't get any errors at all, any hints as to what to look for?

Walter
 

walterf25

Expert
Licensed User
Longtime User
Where does this line come from: ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd ?
It comes from the compiling dialog.

Walter
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
Two things to try:
1. Change the ~DependsOn to: //~dependson: SumUpSDK.framework.swift.3
2. Change the ~DependsOn to: //~dependson: SumUpSDK.framework.3
I tried both things but I still can't compile,

The entire error log is this:
B4i Version: 6.80
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.00s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (0.66s)
Building Xcode project (0.20s)
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=SumUpSDK Example" CONFIGURATION_BUILD_DIR=/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Walter Flores (86ZHMV94BS)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=a270c146-ba83-411e-b8c9-d1653c74f82d -arch arm64

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Walter Flores (86ZHMV94BS)
CONFIGURATION_BUILD_DIR = /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = SumUpSDK Example
PROVISIONING_PROFILE = a270c146-ba83-411e-b8c9-d1653c74f82d

note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
builtin-create-build-directory /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build

MkDir /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
/bin/mkdir -p /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app

ProcessProductPackaging /Users/walter.flores/Library/MobileDevice/Provisioning\ Profiles/a270c146-ba83-411e-b8c9-d1653c74f82d.mobileprovision /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
builtin-productPackagingUtility /Users/walter.flores/Library/MobileDevice/Provisioning\ Profiles/a270c146-ba83-411e-b8c9-d1653c74f82d.mobileprovision -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app/embedded.mobileprovision

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/Entitlements.plist (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example.app.xcent (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>


Entitlements:

{
"application-identifier" = "86ZHMV94BS.genesis.sumupsdk";
"com.apple.developer.team-identifier" = 86ZHMV94BS;
"get-task-allow" = 0;
}


builtin-productPackagingUtility -entitlements -format xml -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example.app.xcent

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-project-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-project-headers.hmap

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/all-product-headers.yaml (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example.hmap

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-target-headers.hmap

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-own-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-own-target-headers.hmap

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-generated-files.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-generated-files.hmap

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-non-framework-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-non-framework-target-headers.hmap

CompileC /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/6m/6t9y9px129d05p80p1vrr1cw0000gr/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 -fpascal-strings -O0 -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 -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-generated-files.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-own-target-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-target-headers.hmap -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-project-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/include -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.d --serialize-diagnostics /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.dia -c /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o

CompileC /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/LS_page1.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/6m/6t9y9px129d05p80p1vrr1cw0000gr/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 -fpascal-strings -O0 -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 -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-generated-files.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-own-target-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-target-headers.hmap -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-project-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/include -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.d --serialize-diagnostics /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.dia -c /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/LS_page1.m -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.o

WriteAuxiliaryFile /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/SumUpSDK\ Example.LinkFileList (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
write-file /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/SumUpSDK\ Example.LinkFileList

CompileC /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/6m/6t9y9px129d05p80p1vrr1cw0000gr/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 -fpascal-strings -O0 -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 -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-generated-files.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-own-target-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-all-target-headers.hmap -iquote /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/SumUpSDK\ Example-project-headers.hmap -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/include -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/B4iProject/main.m -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o

Ld /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app/SumUpSDK\ Example normal arm64 (in target 'B4iProject' from project 'B4iProject')
cd /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -L/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/SumUpSDK\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/SumUpSDK\ Example_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liXUI -liB4iSumUp -framework AVFoundation -framework SumUpSDK -framework SumUpSDK -framework MapKit -framework ExternalAccessory -framework Accelerate -liDebug2 -Xlinker -dependency_info -Xlinker /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/SumUpSDK\ Example_dependency_info.dat -o /Users/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app/SumUpSDK\ Example
ld: warning: ignoring file ../../Libs/MapKit.framework/MapKit.tbd, missing required architecture arm64 in file ../../Libs/MapKit.framework/MapKit.tbd
ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd
ld: warning: ignoring file ../../Libs/Accelerate.framework/Accelerate.tbd, missing required architecture arm64 in file ../../Libs/Accelerate.framework/Accelerate.tbd (2 slices)
ld: warning: ignoring file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd, missing required architecture arm64 in file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd
Undefined symbols for architecture arm64:
"_AVAudioSessionCategoryPlayAndRecord", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
...
"_AVAudioSessionCategoryPlayback", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionCategoryRecord", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___43-[AEAudioController setInputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___44-[AEAudioController setOutputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
___74-[AEAudioController setAudioDescription:inputEnabled:eek:utputEnabled:error:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController setAudioSessionCategory:] in SumUpSDK(AEAudioController.o)
-[AEAudioController audioSessionCategory] in SumUpSDK(AEAudioController.o)
-[AEAudioController updateInputDeviceStatus] in SumUpSDK(AEAudioController.o)
...
"_AVAudioSessionInterruptionNotification", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionInterruptionTypeKey", referenced from:
___46-[AEAudioController interruptionNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVAudioSessionMediaServicesWereResetNotification", referenced from:
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionModeDefault", referenced from:
-[AEAudioController setUseMeasurementMode:] in SumUpSDK(AEAudioController.o)
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVAudioSessionModeMeasurement", referenced from:
-[AEAudioController setUseMeasurementMode:] in SumUpSDK(AEAudioController.o)
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[SMPManchesterCommunicationService init] in SumUpSDK(libmanchesterCommunicationService.a-arm64-master.o)
"_AVAudioSessionPortBuiltInMic", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController initAudioSession] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionPortBuiltInSpeaker", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
-[AEAudioController initAudioSession] in SumUpSDK(AEAudioController.o)
"_AVAudioSessionPortHeadphones", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_AVAudioSessionPortHeadsetMic", referenced from:
-[SMPPinPlusReader hasValidAudioRoute] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_AVAudioSessionRouteChangeNotification", referenced from:
-[SMPAudioManager setupAVAudioSessionRouteChangeNotification] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
-[AEAudioController initWithAudioDescription:eek:ptions:] in SumUpSDK(AEAudioController.o)
___37-[PECReaderManager startAudioSession]_block_invoke in SumUpSDK(libReaderManagerLib.a-arm64-master.o)
"_AVAudioSessionRouteChangeReasonKey", referenced from:
___50-[AEAudioController audioRouteChangeNotification:]_block_invoke in SumUpSDK(AEAudioController.o)
"_AVMetadataObjectTypeAztecCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypeDataMatrixCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypePDF417Code", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_AVMetadataObjectTypeQRCode", referenced from:
___78+[AVMetadataMachineReadableCodeObject(TwoDimensional) ish_twoDimensionalTypes]_block_invoke in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_EAAccessoryDidConnectNotification", referenced from:
-[SMPRegisterManager startListeningForRegister] in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_AVAudioPlayer", referenced from:
objc-class-ref in libCore.a(B4IMediaPlayer.o)
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
objc-class-ref in SumUpSDK(AudioStream.o)
"_OBJC_CLASS_$_AVAudioSession", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
objc-class-ref in SumUpSDK(AEAudioController.o)
objc-class-ref in SumUpSDK(libmanchesterCommunicationService.a-arm64-master.o)
objc-class-ref in SumUpSDK(libReaderManagerLib.a-arm64-master.o)
"_OBJC_CLASS_$_AVMetadataMachineReadableCodeObject", referenced from:
l_OBJC_$_CATEGORY_AVMetadataMachineReadableCodeObject_$_TwoDimensional in SumUpSDK(AVMetadataMachineReadableCodeObject+TwoDimensional.o)
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_EASession", referenced from:
objc-class-ref in SumUpSDK(libSMPPinPlusReader.a-arm64-master.o)
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref in SumUpSDK(QMapViewController.o)
"_OBJC_CLASS_$_MKPinAnnotationView", referenced from:
objc-class-ref in SumUpSDK(QMapViewController.o)
"_vDSP_maxmgv", referenced from:
_performLevelMonitoring in SumUpSDK(AEAudioController.o)
"_vDSP_meamgv", referenced from:
_performLevelMonitoring in SumUpSDK(AEAudioController.o)
"_vDSP_vadd", referenced from:
_renderCallback in SumUpSDK(AEAudioController.o)
"_vDSP_vsmul", referenced from:
_renderCallback in SumUpSDK(AEAudioController.o)
_serviceAudioInput in SumUpSDK(AEAudioController.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/walter.flores/Desktop/B4iBuildServer_6.8/UploadedProjects/<user id>/Payload/SumUpSDK\ Example.app/SumUpSDK\ Example normal arm64
(1 failure)

Do you have any other suggestions I can try?

Thanks,
Walter
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
These lines suggest that you are not loading the correct frameworks:
ld: warning: ignoring file ../../Libs/MapKit.framework/MapKit.tbd, missing required architecture arm64 in file ../../Libs/MapKit.framework/MapKit.tbd
ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd
ld: warning: ignoring file ../../Libs/Accelerate.framework/Accelerate.tbd, missing required architecture arm64 in file ../../Libs/Accelerate.framework/Accelerate.tbd (2 slices)
ld: warning: ignoring file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd, missing required architecture arm64 in file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd

I'm not sure where they come from.
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
These lines suggest that you are not loading the correct frameworks:
ld: warning: ignoring file ../../Libs/MapKit.framework/MapKit.tbd, missing required architecture arm64 in file ../../Libs/MapKit.framework/MapKit.tbd
ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd
ld: warning: ignoring file ../../Libs/Accelerate.framework/Accelerate.tbd, missing required architecture arm64 in file ../../Libs/Accelerate.framework/Accelerate.tbd (2 slices)
ld: warning: ignoring file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd, missing required architecture arm64 in file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd

I'm not sure where they come from.
They're used by the library im trying to wrap, i am referencing them in the B4i project with the additionalLibrary directive, do i need to add them to the .h file with the dependsOn as well?

Walter
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
These lines suggest that you are not loading the correct frameworks:
ld: warning: ignoring file ../../Libs/MapKit.framework/MapKit.tbd, missing required architecture arm64 in file ../../Libs/MapKit.framework/MapKit.tbd
ld: warning: ignoring file ../../Libs/AVFoundation.framework/AVFoundation.tbd, missing required architecture arm64 in file ../../Libs/AVFoundation.framework/AVFoundation.tbd
ld: warning: ignoring file ../../Libs/Accelerate.framework/Accelerate.tbd, missing required architecture arm64 in file ../../Libs/Accelerate.framework/Accelerate.tbd (2 slices)
ld: warning: ignoring file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd, missing required architecture arm64 in file ../../Libs/ExternalAccessory.framework/ExternalAccessory.tbd

I'm not sure where they come from.
Their instructions says to link up those frameworks
20200725_230338.jpg
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
They're used by the library im trying to wrap, i am referencing them in the B4i project with the additionalLibrary directive
1. We cannot guess such things.
2. You should have posted all the additional libs in the first post.
3. I still don't know what you are doing and we are in post #11.
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
1. We cannot guess such things.
2. You should have posted all the additional libs in the first post.
3. I still don't know what you are doing and we are in post #11.
I apologize Erel, you are correct, i should haven given the full context of the issue.

Basically I am trying to wrap a POS SDK, as i mentioned on the first post, I have already done the Android part, now i need to wrap the iOS side of it.

With that said, i have created a project in Xcode following the same tutorial i have followed with the 10 or 15 other libraries I have wrapped for other clients before, the issue i am having now is that while the Library compiles just fine, when I try to run an example app in B4i i get the errors i posted above.

The Library SDK i'm working with is this one, here in their instructions they require for the following frameworks to be linked up against the project as they are used by the SDK.
Accelerate
AVFoundation
ExternalAccessory
MapKit

I have already included this libraries in the project and I have copied them to the Libs folder as well, I am not sure what else to try, I have tried many things I have found on google and stackoverflow but nothing seems to work, I have tried your suggestions on post #6 and none of those two suggestions worked for me.

I am using Xcode 11.6 by the way.

I am simply trying to get some help to figure this out, i thought it would be easier, rather than spend countless hours trying to figure it out on my own, anyhow, I really appreciate your time Erel, hope you have a great day.

Walter
 
Upvote 0
Top