Getting started TapLinx SDK with IOS + react native

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting started TapLinx SDK with IOS + react native

940 Views
amrin-hexondata
Contributor II
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.
Tags (2)
0 Kudos
Reply
1 Reply

896 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

If the error occurs after you run the app from IOS , it will break into the debugger and you should be able to see where it happens and the call stack of functions leading up to the exception. But sorry we are in support for processor and not for apps.

Thanks

0 Kudos
Reply