Trouble implementing ios app using Taplinx SDK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trouble implementing ios app using Taplinx SDK

ソリューションへジャンプ
1,787件の閲覧回数
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?

タグ(1)
0 件の賞賛
返信
1 解決策
1,564件の閲覧回数
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 件の賞賛
返信
4 返答(返信)
1,686件の閲覧回数
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 件の賞賛
返信
1,565件の閲覧回数
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 件の賞賛
返信
1,743件の閲覧回数
DamianD
Contributor III

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

0 件の賞賛
返信
1,758件の閲覧回数
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 件の賞賛
返信