<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>TapLinx SDK, TagWriter and TagInfo中的主题 Taplinx iOS - how to select application 0</title>
    <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/1990896#M53</link>
    <description>&lt;P&gt;When using taplinx ios library i do following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;TLLibraryManager.Shared.DESFireEV3Instance.SelectApplicationWithAppID(0, (success) =&amp;gt;
{    
    if (success == false)
    {        
        return;
    }
    TLLibraryManager.Shared.DESFireEV3Instance.GetApplicationIDsOnCompletion((bool success) =&amp;gt;
    {
        
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With added logging in apduHandler i see what gets sent and returns from card. So for selection app with id 0 following bytes are sent:&amp;nbsp;5A000000 and returned 00 (which is correct), so in callback to selecting app i get success - however after that when i send&amp;nbsp; api to get all application ids, nothing gets sent to card (no apdu command) and in device log i get following entries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Time	Device Name	Type	PID	Tag	Message
Nov  7 22:58:16	iPhone	Notice	5584	MobileFacilityApp	Caught an exception (
Nov  7 22:58:16	iPhone	Notice	5584	MobileFacilityApp	Exception Caught: com.nxp.nfclib.exceptions.UsageException: Application 0 must be selected when using getApplicationIDs()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Why is library not remembering that app with id 0 was already selected?&lt;/P&gt;&lt;P&gt;2. how to actually get that list of ids? declaration of that method:&lt;/P&gt;&lt;P&gt;- (void)getApplicationIDsOnCompletion:(completionBlockWithResult)completion;&lt;/P&gt;&lt;P&gt;states that it only returns BOOL determinig of action was success or not - how do i get back the actual list of applications?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 07:58:24 GMT</pubDate>
    <dc:creator>DamianD</dc:creator>
    <dc:date>2024-11-08T07:58:24Z</dc:date>
    <item>
      <title>Taplinx iOS - how to select application 0</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/1990896#M53</link>
      <description>&lt;P&gt;When using taplinx ios library i do following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;TLLibraryManager.Shared.DESFireEV3Instance.SelectApplicationWithAppID(0, (success) =&amp;gt;
{    
    if (success == false)
    {        
        return;
    }
    TLLibraryManager.Shared.DESFireEV3Instance.GetApplicationIDsOnCompletion((bool success) =&amp;gt;
    {
        
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With added logging in apduHandler i see what gets sent and returns from card. So for selection app with id 0 following bytes are sent:&amp;nbsp;5A000000 and returned 00 (which is correct), so in callback to selecting app i get success - however after that when i send&amp;nbsp; api to get all application ids, nothing gets sent to card (no apdu command) and in device log i get following entries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Time	Device Name	Type	PID	Tag	Message
Nov  7 22:58:16	iPhone	Notice	5584	MobileFacilityApp	Caught an exception (
Nov  7 22:58:16	iPhone	Notice	5584	MobileFacilityApp	Exception Caught: com.nxp.nfclib.exceptions.UsageException: Application 0 must be selected when using getApplicationIDs()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Why is library not remembering that app with id 0 was already selected?&lt;/P&gt;&lt;P&gt;2. how to actually get that list of ids? declaration of that method:&lt;/P&gt;&lt;P&gt;- (void)getApplicationIDsOnCompletion:(completionBlockWithResult)completion;&lt;/P&gt;&lt;P&gt;states that it only returns BOOL determinig of action was success or not - how do i get back the actual list of applications?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 07:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/1990896#M53</guid>
      <dc:creator>DamianD</dc:creator>
      <dc:date>2024-11-08T07:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Taplinx iOS - how to select application 0</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/2296383#M235</link>
      <description>&lt;P&gt;Do you get any solution to it or resolved it?&lt;BR /&gt;&lt;BR /&gt;I am also facing this issue,I have used TapLinxLibrayv2.3.0 iOS lib and using swift6. I checked declaration of&amp;nbsp;getApplicationIDsOnCompletion and it returns bool. so How to check if any application (other than PICC level [0x00]) exists or not?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(void)getApplicationIDsOnCompletion:(completionBlockWithResult)completion;&lt;BR /&gt;&lt;BR /&gt;Also tried to solve using "&lt;SPAN&gt;selectApplication(withAppID: targetAppID)" to check if it exists or not. but this will respond with error code&amp;nbsp;&lt;/SPAN&gt;A0 (Application not found). so do not want to handle it like this..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;so please If anyone can help here , it would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 07:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/2296383#M235</guid>
      <dc:creator>Shilpa_G</dc:creator>
      <dc:date>2026-01-20T07:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Taplinx iOS - how to select application 0</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/2335473#M250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please make sure you are using the latest version available of &lt;A href="https://www.nxp.com/webapp/Download?colCode=TLLIBSDK&amp;amp;appType=license" target="_blank"&gt;TapLinx iOS SDK&lt;/A&gt;. Also, please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=UG10045" target="_blank"&gt;Starting development with TapLinx iOS SDK [UG10045]&lt;/A&gt;, Chapter 5 for the MIFARE DESFire architecture.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 23:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Taplinx-iOS-how-to-select-application-0/m-p/2335473#M250</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2026-03-18T23:02:42Z</dc:date>
    </item>
  </channel>
</rss>

