Hi, i'm trying to use taplinx ios sdk from .net maui mobile project. I created bindings for libTapLinxLibrary.a, however when i try to compile main application i get errors on clang++ compilation step:
Tool xcrun execution started with arguments: clang++ C:/Users/damia/source/repos/MobileFacilityApp/Taplinx.iOS/bin/Debug/net8.0-ios/Taplinx.iOS.resources/libTapLinxLibrary.a -mios-version-min=14.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk -arch arm64 -framework AuthenticationServices -framework CFNetwork -framework CloudKit -framework Contacts -framework ContactsUI -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework CoreText -framework Foundation -framework ImageIO -framework Intents -framework LinkPresentation -framework MediaPlayer -framework QuartzCore -framework SafariServices -framework Security -framework UIKit -framework WebKit -weak_framework CoreNFC -framework GSS -framework CFNetwork -framework Security -o /Users/xxx/App -dead_strip -lz -liconv -lcompression -lobjc -exported_symbols_list obj/Debug/net8.0-ios/ios-arm64/device-builds/iphone14.7-17.6.1/mtouch-symbols.list
Tool xcrun execution finished (exit code = 1).
Errors:
Undefined symbols for architecture arm64:
"_IOSArray_throwOutOfBoundsWithMsg", referenced from:
xyxVp1J in libTapLinxLibrary.a[28](DESDiversificationCryptogram-a00680cd9a9a622f6e50414797da12e6.o)
xyxVp1J in libTapLinxLibrary.a[28](DESDiversificationCryptogram-a00680cd9a9a622f6e50414797da12e6.o)
xyxVp1J in libTapLinxLibrary.a[28](DESDiversificationCryptogram-a00680cd9a9a622f6e50414797da12e6.o)
xyxVp1J in libTapLinxLibrary.a[28](DESDiversificationCryptogram-a00680cd9a9a622f6e50414797da12e6.o)
xyxVp1J in libTapLinxLibrary.a[28](DESDiversificationCryptogram-a00680cd9a9a622f6e50414797da12e6.o)
hEO in libTapLinxLibrary.a[36](MFPReadBinaryCommand-5800826da77fff332ed968970611ec4c.o)
_JOyve8_ in libTapLinxLibrary.a[37](MFPSetConfigDataHelper-ace1dc9e6c10933b572c69380f8a29dc.o)
_JOyve8_ in libTapLinxLibrary.a[37](MFPSetConfigDataHelper-ace1dc9e6c10933b572c69380f8a29dc.o)
_JOyve8_ in libTapLinxLibrary.a[37](MFPSetConfigDataHelper-ace1dc9e6c10933b572c69380f8a29dc.o)
...
"_IOSClass_arrayType", referenced from:
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
_is6qegn in libTapLinxLibrary.a[38](NTAG424DNATTFileSettingsHelper-fb10e721f7cd0149de301db9d67141f9.o)
...
"_IOSClass_fromClass", referenced from:
_fUexgi9W in libTapLinxLibrary.a[29](VirtualCardTypeIdentifier-ca903203ed55ee5ec56a557cddd60077.o)
_fUexgi9W in libTapLinxLibrary.a[29](VirtualCardTypeIdentifier-ca903203ed55ee5ec56a557cddd60077.o)
_Yhy_G in libTapLinxLibrary.a[35](EV3CMFCState-1ea08d0613728dd5547d98ddd83b25c2.o)
_wSgf7 in libTapLinxLibrary.a[37](MFPSetConfigDataHelper-ace1dc9e6c10933b572c69380f8a29dc.o)
_pt3XpuU8 in libTapLinxLibrary.a[42](MFPWriteRecordCommand-9aee92c76e527039ed9245b24905c80a.o)
_iILaq in libTapLinxLibrary.a[45](CardType-bf7900bc525aa390599f79995909813d.o)
_iILaq in libTapLinxLibrary.a[45](CardType-bf7900bc525aa390599f79995909813d.o)
...
and the list goes on. What am i doing wrong?
hi @EduardoZamora - i'm trying to use taplinx ios sdk from outside of xcode - in .net environemtn (maui). Could you point me at documentation that would help me build an xcframework (or framework) that wraps ios taplinx library and its dependencies?
Hi,
My apologies, the only resources available for TapLinx on iOS are the ones that can be found in TapLinx SDK webpage, such as the Starting development with TapLinx iOS SDK User Guide.
Regards,
Eduardo.
Hello @DamianD,
Hope you are doing well.
Please, can you confirm that you have followed the instructions from Starting development with TapLinx iOS SDK? This user manual introduces the TapLinx SDK for iOS development and shows how to integrate it into Xcode for your own application development.
Regards,
Eduardo.