Search results for

nfc

1,176 results found

Post

Replies

Boosts

Views

Activity

PRIVATE APP
Hi guys, my question is this: How I can make a private app only for me ? What I need to do for this? I'm new in developing apps for IOS and I want to test and app that I´m making for my Master Thesis which uses NFC technology. That`s why i need t use my physical device because I´m using it as a reader. My apps needs to comunitcate with a web server that I own. What are the procedures that I must follow to be able to test my app in my own apple phone ? The only one that need access to the app is me. I don´t understan very well if I can do this for academics purpose or I need to be member of one of the other developers plans that are available and in this case which one is good for me ? Thanks in advance for your answers !
4
0
3.8k
Mar ’21
Reply to PRIVATE APP
Xcode supports the concept of a personal team - https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/dev17411c009. This allows you to sign in with any Apple ID and then deploy an app to your own personal device. The main gotcha here is that a personal team does not support all capabilities. For a summary of what it does support, see Advanced App Capabilities - https://developer.apple.com/support/app-capabilities/ (the confusingly named Sign in with Apple ID column is the one to look at). Unfortunately it seems that Core NFC is one of the capabilities not supported in a personal team )-: It sounds like Core NFC is critical to your app’s concept. Given that, I can see a couple of ways forward: You could enroll in the Apple Developer Program - https://developer.apple.com/programs/enroll/ proper. You could ask around your educational institution to see if they have a team that you could use for this work. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Appl
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’21
Core NFC is not detecting TAG
I have been trying to read a NFC tag with NFCTagReaderSession because i need to get the uid of the tag. I already configured the formats on the entitlements file and the aids of the possible tags (of NXP), the reader session starts but the tagReaderSession didDetect is never been triggered. I am using iso 7816. It works if i use NFCNDEFReaderSession but it allows me to read just the info in the tag, like text, uris and others not the uid. I really don't know what is happening :( Configured aids: 1- A0000003964D66344D0002 2- D2760000850100 3- D2760000850101
5
0
2k
Feb ’21
NFC CPSErrorDomain error 2.
Hi Guys, if we use our NFC Chip (Background Scanning) with our domain xyz.tld/pages (NFC with URL) than we get following Error: CPSErrorDomain error 2. If we use other URL, than it's works fine, for example, following URLS works fine: xyz.tld xyz.tld/ xyz.tld/page xyz.tld/page/xyz xZz.tld/pages But if we add: xyz.tld/pages xyz.tld/pages/xyz than we got the error CPSErrorDomain-Error 2 we also tried (with different tld) xyz.tlx/pages or x.xyz.tlx/pages (Subdomain, www. to) what works fine.... It makes no sense? Or apple blocked our domain? Scanning with Iphone X or other normal NFC Reader are not a problem and works fine, only Background scanning have this issue. This happen only with background scanning on iOS 14.1 (iphone 12 pro ) and ios 14.4 (18D5030e) (iphone 11 pro) with iphone X 14.1 (18A395) native NFC Scanner it works fine.
5
0
1.8k
Feb ’21
Reply to Apple Watch NFC Tags
I have bought a lot of tags for automations in my home and office, but after setting up a couple of simple shortcuts to turn on specific lights or appliences, i stopped using them, just because it is not convenient to carry my phone everywhere. I really hope background NFC reading would get implemented with Apple watch. That would open so many opportunities for homekit and automations..
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
NFC Mifare tag
I'm trying to implement an app with NFC. I have to connect to MIfare tag. I'm notified in tagReaderSection function and the field tags contains a tag, but the value of this tag is [0] = (NFCTag) (0x40) Printing description of ((CoreNFC.NFCTag) (0x40)): ▿ NFCTag t- miFare : (lldb) and im not able to connect to it. In the info file I have add the string: com.apple.developer.nfc.readersession.iso7816.select-identifiers D2760000850101 nfcTagReaderSession = NFCTagReaderSession(pollingOption: [.iso14443], delegate: self) tttt tttnfcTagReaderSession?.begin() tfunc tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { ttt tttt ttttif case let NFCTag.miFare(tag) = tags.first! { ttttttnfcTagReaderSession?.connect(to: tags.first!) ttttttttttt { What am I doing wrong?? thanks for the support PS: the NFC chip is Mifare Ultralight version 2 productType Ntag(04) [Xcode 12.0, IOS 13.0]
1
0
1.3k
Feb ’21
NFCISO7816APDU sendMifare Command not supported problem
I am trying an NFC write with Mifare Ultralight and I get the following error: Optional(Error Domain=NFCError Code=1 Feature not supported UserInfo={NSLocalizedDescription=Feature not supported}) My code for the write request is as follows: if case let NFCTag.miFare(tag) = tags.first! { ttttttlet dataMifare: [UInt8] = [240, 0, 0, 0] // READ page 4 + CRC ttttttlet dataPacketMifare = Data(bytes: dataMifare, count: dataMifare.count) ttttttsession.connect(to: tags.first!) { (error: Error?) in tlet apdu = NFCISO7816APDU(instructionClass: 0xFF, instructionCode: 0xD6, p1Parameter: 0x00, p2Parameter: 0xFF, data: dataPacketMifare, expectedResponseLength: 0x02) ttttttt tttttttt tttttttttag.sendMiFareISO7816Command(apdu) { (apduData, sw1, sw2, error) in ttttttttttlet tagUIDData = tag.identifier ttttttttttsession.invalidate(errorMessage: Test) ttttttttttdebugPrint(apduData) ttttttttttdebugPrint(error) ttttttttttdebugPrint(tag.identifier) I'm writing to a custom device where the value 0xFF means a write request.
1
0
1.2k
Feb ’21
Is this change in Xcode affecting NFC in App Clips?
Recently Apple updated Xcode and had one change for App Clips. For a URL to launch it needs the additional of nullable See link here. - https://developer.apple.com/documentation/app_clips/apactivationpayload/3580308-url?changes=latest_major&language=objc One problem. My App Clip works fine but there is nowhere in the code where to use the code defined in the link, either the previous or the new updated code. I only use NFC for the App Clip. So does this not involve NFC? It mentions payload which I'm used to hearing about with NFC chips, so that's why I'm wondering about it. I've also noticed NFC reading less consistently as background reader. Please let me know if this line has anything to do with NFC, and why my app would still work even though I don't even use this line anywhere in my code. Thank you truly and any help is appreciated. I just don't want to be missing something that might break my app in an upcoming update.
1
0
893
Apr ’21
Reply to NFC (CPSErrorDomain error 2.)
This problem seems to be duplicated and on one tread it's marked as solved, but it's not. So I add some more information here: I have the same issue. Strangely there is no sensible pattern when it works and when it doesn't work. Example: ourdomain.com/profile/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 <-- does not work ourdomain.com/profil/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 <-- works By just changing profile to profil the iPhone will scan the NFC properly. When there is profile in the url, iOS seems to think this involves an AppClip. It doesn't stop there. This is also strange: When I make a QR code from the link ourdomain.com/profile/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 this happens: Scan the QR code in the camera App -> it works!!! Scan the QR opened from the control center -> Same problem as with NFC!
Topic: App & System Services SubTopic: General Tags:
Jan ’21
Reply to NFC CPSErrorDomain error 2.
I have the same issue, but we're only using https:// as a prefix so the suggested solution is not working. Strangely there is no sensible pattern when it works and when it doesn't work. Example: ourdomain.com/profile/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 <-- does not work ourdomain.com/profil/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 <-- works By just changing profile to profil the iPhone will scan the nfc properly. When there is profile in the url, iOS seems to think this involves an AppClip. It doesn't stop there. This is also strange: When I make a QR code from the link ourdomain.com/profile/n/6d18aadb-dfcc-47df-a9ac-d30b2cbad9c2 this happens: Scan the QR code in the camera App -> it works!!! Scan the QR opened from the control center -> Same problem as with NFC!
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’21