<?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>topic Re: iOS SDK: Creating an application fails because of appId not being 3 bytes in TapLinx SDK, TagWriter and TagInfo</title>
    <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2090500#M146</link>
    <description>&lt;P&gt;Hello sir,&lt;/P&gt;
&lt;P&gt;This is NXP customer support. Could you please clarify if you have checked our User Guide (&lt;A href="https://www.nxp.com/design/design-center/software/rfid-developer-resources/taplinx-software-development-kit-sdk:TAPLINX" target="_self"&gt;UG10045&lt;/A&gt;)?&lt;/P&gt;
&lt;P&gt;I would like to start from the top on this, to understand what could be happening.&lt;/P&gt;
&lt;P&gt;Have you registered you application in our &lt;A href="https://inspire.nxp.com/mifare/index.html" target="_self"&gt;site&lt;/A&gt; and, followed the guide mentioned?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 23:45:30 GMT</pubDate>
    <dc:creator>Fabian_R</dc:creator>
    <dc:date>2025-04-30T23:45:30Z</dc:date>
    <item>
      <title>iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2089418#M145</link>
      <description>&lt;P&gt;When I select an application and create a file like this everything work as expected. Note: I created this app outside the TapLinx Library&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;evInstance?.selectApplication(withAppID: 0x563412) { _ in
    print("app selected")
    evInstance?.createStandardFile(withFileID: 0x01, withFileSize: 16, withCommType: CommunicationType.Plain, withReadByte: 0, withWriteByte: 0,  withReadWriteByte: 0, withChangeByte: 0) { result in
        print("file created", result)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;But when I try to create an application with a similar notation for the appId as the selection I get an error. I tried lots of possibilities, even 0 and 1.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.nxp.nfclib.exceptions.UsageException: Application ID [appId] must be 3 bytes&lt;/LI-CODE&gt;&lt;P&gt;I am stuck on creating a new application. Am I doing something in the wrong order? Also tried to manually seleting the root app and with/without authentication.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;evInstance?.selectApplicationPICCP1 { _ in
    print("main app selected")
    
    evInstance?.authenticate(withCardKeyNo: 0, withAuthenticationType: .native, withAuthKeyType: .THREEDES, withCommandSetForAuth: .Native, withAuthkey: key) { _ in
            
        print("authenticated")
        
        evInstance?.createApplication(withAppID: 0x123456, withNumberOfBytes: 16, withAppSettings: appSettings) { result in
            print("Application created successfully", result)
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Would appreciate any help. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2089418#M145</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-04-29T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2090500#M146</link>
      <description>&lt;P&gt;Hello sir,&lt;/P&gt;
&lt;P&gt;This is NXP customer support. Could you please clarify if you have checked our User Guide (&lt;A href="https://www.nxp.com/design/design-center/software/rfid-developer-resources/taplinx-software-development-kit-sdk:TAPLINX" target="_self"&gt;UG10045&lt;/A&gt;)?&lt;/P&gt;
&lt;P&gt;I would like to start from the top on this, to understand what could be happening.&lt;/P&gt;
&lt;P&gt;Have you registered you application in our &lt;A href="https://inspire.nxp.com/mifare/index.html" target="_self"&gt;site&lt;/A&gt; and, followed the guide mentioned?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 23:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2090500#M146</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2025-04-30T23:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2090533#M147</link>
      <description>Hello Fabian,&lt;BR /&gt;&lt;BR /&gt;I did indeed use that guide. The app is also registered, and I successfully verified a license, also the offline version.&lt;BR /&gt;&lt;BR /&gt;I have to say, though, that the guide has quite a few gaps. A sample app would have been helpful. But with the help of this forum, I’ve been able to execute basic commands. However, I’m stuck on creating an app. No matter what I use as the app ID, I keep getting this error.</description>
      <pubDate>Thu, 01 May 2025 04:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2090533#M147</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-01T04:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2091733#M148</link>
      <description>&lt;P&gt;Could you please avoid the use of "?" as shown?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;evInstance.selectApplication&lt;/LI-CODE&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;evInstance.createStandardFile&lt;/LI-CODE&gt;
&lt;P&gt;Instead.&lt;/P&gt;
&lt;P&gt;Is possible that the use of "?" symbol may be producing issues. In the case of selecting MIFARE applications, when the reader selects a MIFARE card is a certainty that an Application will be selected. The issue you are having is quite unexpected, I haven't been able to locate any root cause on this.&lt;/P&gt;
&lt;P&gt;If you could share any log additional to the error received, I will appreciate it very much.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 00:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2091733#M148</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2025-05-06T00:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2093980#M149</link>
      <description>&lt;P&gt;I don’t see why the optional type should be a problem. If evInstance would have been nil, it would not run the method at all.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;The functions “selectApplication” and “createStandardFile” are not the problem. Those functions do work. I mentioned them to indicate that the notation of the “applicationId” is accepted in these methods.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get this error when executing “createApplication” with every possible “applicationId” I choose. The exception I get is from the method “createApplication”. It would not even return this exception if evInstance was nil.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 21:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2093980#M149</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-08T21:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2093995#M150</link>
      <description>&lt;P&gt;I don’t see why the optional type should be a problem. If evInstance would have been nil, it would not run the method at all.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;The functions “selectApplication” and “createStandardFile” are not the problem. Those functions do work. I mentioned them to indicate that the notation of the “applicationId” is accepted in these methods.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get this error when executing “createApplication” with every possible “applicationId” I choose. The exception I get is from the method “createApplication”. It would not even return this exception if evInstance was nil.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Removing the optional type did not solve the issue. Below a simplified version of my code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;self.libraryManager = TLLibraryManager.shared()
let evInstance = self.libraryManager.getDESFireEV3Instance()

print("\n=== Step 1: app main selecting... ===")
evInstance.selectApplicationPICCP1() { isSuccess in
    print("=== app main selected ===")
    print("isSuccess: \(isSuccess)")
}

print("\n=== Step 2: app authenitcating... ===")
evInstance.authenticate(
    withCardKeyNo: 0,
    withAuthenticationType: .native,
    withAuthKeyType: .THREEDES,
    withCommandSetForAuth: .Native,
    withAuthkey: key)
{ isSuccess in
    print("=== app authenticated ===")
    print("isSuccess: \(isSuccess)")
}

print("\n=== Step 3: app creating... ===")
let appSettings = CreateAppSettingsModel()
appSettings.appKeySettingChangable = true
appSettings.authRequiredForFileManagement = false
appSettings.authRequiredForFileConfiguration = false
appSettings.numberOfKeySets = 2
appSettings.keyType = .AES128
appSettings.maxKeySize = 32
appSettings.masterKeyInterchangable = true
evInstance.createApplication(withAppID: 0x111111, withNumberOfBytes: 160, withAppSettings: appSettings)
    { isSuccess in
        print("\n=== app created ===")
        print("isSuccess: \(isSuccess)")
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This results in the log below, with the exception at the bottom thrown by "createApplication".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;initializeTapLinxLibrary
responseString License Verified Successfully, Time to explore Taplinx Library
Tag reader did become active &amp;lt;NFCTagReaderSession: 0x1054c7a20&amp;gt;
isReady: true
didDetect [CoreNFC.NFCTag.miFare(&amp;lt;NFCMiFareTag: 0x10569a0c0&amp;gt;)]
MiFare card found
Connected to tag

=== Step 1: app main selecting... ===
Command sent to card : 5A000000
[general] response.tag.type: (null)
[general] response.responseData: {length = 1, bytes = 0x00}
Response received : 00
=== app main selected ===
isSuccess: true

=== Step 2: app authenitcating... ===
AuthType - Native KeyType - THREEDES KeyInfo.KeyArray - {length = 16, bytes = 0x00000000000000000000000000000000}, cardKeyNo - 0
Command sent to card : 0A00
[general] response.tag.type: (null)
[general] response.responseData: {length = 9, bytes = 0xaf68e6008758263832}
Response received : AF68E6008758263832
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x68e6008758263832}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x85b208b0762265d7}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x8b32a8922dac433b}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
Command sent to card : AFE7109DBEE0E8FD8B7E6B593689DFA4EF
[general] response.tag.type: (null)
[general] response.responseData: {length = 9, bytes = 0x00373c4845f783cf52}
Response received : 00373C4845F783CF52
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x373c4845f783cf52}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
=== app authenticated ===
isSuccess: true

=== Step 3: app creating... ===
Max Size - 32
Key Type - AES128
com.nxp.nfclib.exceptions.UsageException: Application ID [appId] must be 3 bytes

=== app created ===
isSuccess: false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 21:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2093995#M150</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-08T21:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094004#M151</link>
      <description>&lt;P&gt;To confirm, removing the optional type did not solve the issue. Below a simplified version of my code.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;self.libraryManager = TLLibraryManager.shared()
let evInstance = self.libraryManager.getDESFireEV3Instance()

print("\n=== Step 1: app main selecting... ===")
evInstance.selectApplicationPICCP1() { isSuccess in
    print("=== app main selected ===")
    print("isSuccess: \(isSuccess)")
}

print("\n=== Step 2: app authenitcating... ===")
evInstance.authenticate(
    withCardKeyNo: 0,
    withAuthenticationType: .native,
    withAuthKeyType: .THREEDES,
    withCommandSetForAuth: .Native,
    withAuthkey: key)
{ isSuccess in
    print("=== app authenticated ===")
    print("isSuccess: \(isSuccess)")
}

print("\n=== Step 3: app creating... ===")
let appSettings = CreateAppSettingsModel()
appSettings.appKeySettingChangable = true
appSettings.authRequiredForFileManagement = false
appSettings.authRequiredForFileConfiguration = false
appSettings.numberOfKeySets = 2
appSettings.keyType = .AES128
appSettings.maxKeySize = 32
appSettings.masterKeyInterchangable = true
evInstance.createApplication(withAppID: 0x111111, withNumberOfBytes: 160, withAppSettings: appSettings)
    { isSuccess in
        print("\n=== app created ===")
        print("isSuccess: \(isSuccess)")
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This results in the log below, with the exception at the bottom thrown by "createApplication".&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;initializeTapLinxLibrary
responseString License Verified Successfully, Time to explore Taplinx Library
Tag reader did become active &amp;lt;NFCTagReaderSession: 0x1054c7a20&amp;gt;
isReady: true
didDetect [CoreNFC.NFCTag.miFare(&amp;lt;NFCMiFareTag: 0x10569a0c0&amp;gt;)]
MiFare card found
Connected to tag

=== Step 1: app main selecting... ===
Command sent to card : 5A000000
[general] response.tag.type: (null)
[general] response.responseData: {length = 1, bytes = 0x00}
Response received : 00
=== app main selected ===
isSuccess: true

=== Step 2: app authenitcating... ===
AuthType - Native KeyType - THREEDES KeyInfo.KeyArray - {length = 16, bytes = 0x00000000000000000000000000000000}, cardKeyNo - 0
Command sent to card : 0A00
[general] response.tag.type: (null)
[general] response.responseData: {length = 9, bytes = 0xaf68e6008758263832}
Response received : AF68E6008758263832
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x68e6008758263832}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x85b208b0762265d7}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x8b32a8922dac433b}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
Command sent to card : AFE7109DBEE0E8FD8B7E6B593689DFA4EF
[general] response.tag.type: (null)
[general] response.responseData: {length = 9, bytes = 0x00373c4845f783cf52}
Response received : 00373C4845F783CF52
DES Session Key Before - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data After - &amp;lt;ComNxpNfclibDefaultimplKeyData: 0x10554c120&amp;gt;
DES Session Key Data Array After - {length = 16, bytes = 0x00000000000000000000000000000000}
------ DES, {length = 8, bytes = 0x373c4845f783cf52}, {length = 16, bytes = 0x00000000000000000000000000000000}, (null) ------
=== app authenticated ===
isSuccess: true

=== Step 3: app creating... ===
Max Size - 32
Key Type - AES128
com.nxp.nfclib.exceptions.UsageException: Application ID [appId] must be 3 bytes

=== app created ===
isSuccess: false&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 May 2025 21:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094004#M151</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-08T21:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094006#M152</link>
      <description>&lt;P&gt;I am trying to post my code and logs as requested, but for some reason it got deleted (twice). I wanted to confirm that removing the optional type does not solve the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 21:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094006#M152</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-08T21:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094769#M153</link>
      <description>&lt;P&gt;Hello sir,&lt;/P&gt;
&lt;P&gt;I am very sorry but is only possible to paste code snippets. Regarding the use of optional type, unfortunatley this is causing some issues with Taplinx.&lt;/P&gt;
&lt;P&gt;Have you give it a try? At least for testing purposes.&lt;/P&gt;
&lt;P&gt;I'm sorry but I haven't been able to get a reason why is the appId is producing failures.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 17:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094769#M153</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2025-05-09T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094834#M154</link>
      <description>I did remove the optional type and it did not solve the issue.&lt;BR /&gt;&lt;BR /&gt;Not being able to post more than two lines of code makes it hard to get real support on these kind of issues. The provided iOS guides has lots of gaps in my opinion and does not provide a complete solution.&lt;BR /&gt;&lt;BR /&gt;I managed to get the basics up and running by scraping pieces from code from this forum. Some of the methods I tested do works. I just can’t get this “createApplication” to work. While it does work, when I create an application by creating my own APDU commands outside the TapLinx library. I have this feeling that this function is bugged some how.&lt;BR /&gt;&lt;BR /&gt;Do you actually have a sample application that uses “createApplication” with the iOS SDK?</description>
      <pubDate>Fri, 09 May 2025 20:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094834#M154</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-09T20:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094846#M155</link>
      <description>&lt;P&gt;I finally got something working, don't ask me how. There is this argument "&lt;FONT face="courier new,courier"&gt;withNumberOfBytes&lt;/FONT&gt;" and this is what the header file say about this argument: &lt;EM&gt;"&lt;/EM&gt;&lt;FONT face="courier new,courier"&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197964"&gt;@Param&lt;/a&gt; noOfBytes to allocate memory for the application to be created"&lt;/FONT&gt;. I tried multiple values and made sure it is multiple of 32. I thought this was the total of amount of bytes that the whole application reserves, just like files.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;evInstance.createApplication(withAppID: 0x111111, withNumberOfBytes: 512, withAppSettings: appSettings)
    { isSuccess in
        print("\n=== app created ===")
        print("isSuccess: \(isSuccess)")
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Every value gives me this error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.nxp.nfclib.exceptions.UsageException: Application ID [appId] must be 3 bytes&lt;/LI-CODE&gt;&lt;P&gt;I got to this point that I was trying to irrational combinations. Every values of "&lt;FONT face="courier new,courier"&gt;withNumberOfBytes&lt;/FONT&gt;" gave me the above error. But when I use the value of "&lt;FONT face="courier new,courier"&gt;3&lt;/FONT&gt;" for "&lt;FONT face="courier new,courier"&gt;withNumberOfBytes&lt;/FONT&gt;" it does not give me an error, and it did created an application. I was assuming that "&lt;FONT face="courier new,courier"&gt;noOfBytes&lt;/FONT&gt;" was about the application and not about the application id.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 21:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2094846#M155</guid>
      <dc:creator>Wilco_G</dc:creator>
      <dc:date>2025-05-09T21:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2096793#M156</link>
      <description>&lt;P&gt;Hello Wilco,&lt;/P&gt;
&lt;P&gt;Do you mean the&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197964"&gt;@Param&lt;/a&gt; andNumberOfBytes:&lt;/P&gt;
&lt;P&gt;This from TL_DESFireEV2.h file?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fabian_R_1-1747176422804.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337635iBE64A06D36B4F8E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fabian_R_1-1747176422804.png" alt="Fabian_R_1-1747176422804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check this internally since the Android JavaDoc function does specify that the applicationID should be a 3-byte number.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fabian_R_2-1747176576192.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337636i1FA87642FB07C993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fabian_R_2-1747176576192.png" alt="Fabian_R_2-1747176576192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept our apologies for the delay this cause to your development timeline. Will let you know as soon as it is updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 22:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2096793#M156</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2025-05-13T22:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK: Creating an application fails because of appId not being 3 bytes</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2296714#M236</link>
      <description>&lt;P&gt;I am also facing same issue and same as mentioned here if we pass&amp;nbsp;&lt;SPAN&gt;noOfBytes value 3 he app gets created but it will give you exception UsageException and app settings will not get apply correctly.&amp;nbsp; I created app&amp;nbsp; with noOfBytes value 3, but further app does not got authorised with application master key.&lt;BR /&gt;Let me know if this issue has proper solution other than create app using APDU commands&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 14:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/iOS-SDK-Creating-an-application-fails-because-of-appId-not-being/m-p/2296714#M236</guid>
      <dc:creator>Shilpa_G</dc:creator>
      <dc:date>2026-01-20T14:04:15Z</dc:date>
    </item>
  </channel>
</rss>

