Trouble implementing ios app using Taplinx SDK

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

Trouble implementing ios app using Taplinx SDK

Jump to solution
1,767 Views
DamianD
Contributor III

Hi, i'm trying to follow UG10045.pdf - Starting development with TapLinx iOS SDK. Below is excerpt from that guide:

3.4 Implementing the delegate method for APDU communication
To communicate with the TapLinx iOS Library and the Tag (or Card), a delegate method which is created inside
the MIFAREApduHandler must be implemented in your class. Below is the delegate method.

 

However i do not understand where i should implement that TapLinxApduHandlerProtocol, on what class? Where/how should i pass my class to something in Taplinx SDK to indicate where i implemented that hander? Is there a ios sample app like for Android? It would be very helpful. In case there is no such app, could someone share a code sample with full sdk initialization on ios?

Tags (1)
0 Kudos
Reply
1 Solution
1,544 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @DamianD 

Since your problem involves the level of code debugging, we do not have such a test environment as yours, so your problem needs to be debugged by you, say sorry for that.

View solution in original post

0 Kudos
Reply
4 Replies
1,666 Views
DamianD
Contributor III

hi @KaiLi  - unfortunately there is only swiftsourceinfo file inside Project folder and it is of no use to me. When i add libTapLinxLibrary.a to xcode app project (and set up search paths) during compilation i get error:
/Users/xxx/Projects/xcodeproj/facilityapp/SampleTaplinxApp/SampleTaplinxApp/ContentView.swift:9:8 Compiled module was created by a different version of the compiler '5.10.0.13'; rebuild 'TapLinxLibrary' and try again: /Users/xxx/Projects/xcodeproj/facilityapp/SampleTaplinxApp/TapLinxLibrary2/TapLinxLibrary.swiftmodule/arm64-apple-ios.swiftmodule\

 

Could you hint me at what to do?

0 Kudos
Reply
1,545 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @DamianD 

Since your problem involves the level of code debugging, we do not have such a test environment as yours, so your problem needs to be debugged by you, say sorry for that.

0 Kudos
Reply
1,723 Views
DamianD
Contributor III

thanks, i will give it a try and let you know

0 Kudos
Reply
1,738 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @DamianD 

Unfortunately, there is not the dedicated sample for ios, but I think there should be something in SDK could refer to, like

sdk_TapLinx_Library_iOS\TapLinxv1.0.1\TapLinxiOSSDK\TapLinxiOSSDK\TapLinxLibrary\TapLinxLibrary.swiftmodule\Project.
Please try it.

0 Kudos
Reply