Hi, I'm using TapLinx sdk to integrate into our React Native app. While i managed to build and run the sdk for android, I'm struggling to get started with ios.
I've read the user guide, but if on importing the sdk, following directly the guide will fail on build with the following error:
ld: library 'TapLinxLibrary' not found
I've read on some post, to include $(PROJECT_DIR)/TapLinxLibrary in swift search - this then allows me to build the app. However if I try to run, it gives me this error:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
Note: extra steps i done to get to this point,
1. Delete TapLinxLibrary/TapLinxLibrary.swiftmodule
2. add a new file named module.modulemap under TapLinxLibrary containing:
module TapLinxLibrary {
header "./include/TapLinxLibrary/CreateAppSettingsModel.h"
header "./include/TapLinxLibrary/MIFAREApduHandler.h"
header "./include/TapLinxLibrary/MIFARECrypto.h"
header "./include/TapLinxLibrary/MIFARELibraryManager.h"
header "./include/TapLinxLibrary/MIFARELibrarySupportModule.h"
header "./include/TapLinxLibrary/MiFareCryptoHelper.h"
header "./include/TapLinxLibrary/TL_Constants.h"
header "./include/TapLinxLibrary/TL_DESFireEV2.h"
header "./include/TapLinxLibrary/TL_DESFireWrapper.h"
header "./include/TapLinxLibrary/TL_TagInfo.h"
header "./include/TapLinxLibrary/TL_Utilities.h"
header "./include/TapLinxLibrary/TapLinxLibrary.h"
export *
}
Can you guide me on how I can fix these errors?
Thank you.