Posts

Post not yet marked as solved
9 Replies
Hi, eskimo I don't understand why it (CryptoTokenKit) is present in iOS13+ without ability to use it?) We have asked two DSI from different accounts and received absolutely the same helpless answer like this Follow-up: 792171981 Hello Vitaliy, Thank you for contacting Apple Developer Technical Support (DTS). We have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations. If you would like for Apple to consider adding support for such features, please submit your suggestion request via Feedback Assistant (https://feedbackassistant.apple.com). For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting/. While a Technical Support Incident (TSI) was initially debited from your Apple Developer Program account for this request, we have assigned a replacement incident back to your account. Best Regards, Developer Technical Support  Worldwide Developer Relations Apple, Inc.
Post not yet marked as solved
9 Replies
Hi, eskimo According to this official documentation it is available in iOS 13.0+ (not only macOS) https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager How to do this in proper way for iOS? Were I can find the official example of simple working project/code how to use TKSmartCardSlotManager for iOS? As I understand only Apple knows how to do this ) Thanks
Post not yet marked as solved
2 Replies
hi, oschaefer I have the same problem ( Did you fix it?
Post not yet marked as solved
9 Replies
Hi, eskimo Lightning to USB OTG Adapter is from another vendor. I tried to use CryptoTokenKit in my iOS14+ app to connect to smart card token but I can't to find out how to fix next problem: this is my simple code import CryptoTokenKit let mngr = TKSmartCardSlotManager.default According official documentation in CryptoLibSwift.entitlements I have added this com.apple.security.smartcard but I have this one when app runs 2021-12-22 xxxx CryptoLibSwift[5479:4269434] [smartcard] ctk: connecting to slot registration server (<NSXPCConnection: 0x281271360> connection to service on pid 0 named com.apple.ctkd.slot-client) failed, error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.ctkd.slot-client was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.ctkd.slot-client was invalidated.} of course my next code doesn't work but token connected to iPhone let slotName = mngr?.slotNames[0] print("slotName:", slotName) How to fix this? Thanks.
Post not yet marked as solved
1 Replies
hi. I have the same problem ( Does anybody know how to fix it?