Post not yet marked as solved
Hello,
I need to use NFC for a project.
My problem is that always when im entering with my Phone a RFID field Apple Pay shows up instead of just my NFC application.
I know that you can suppress Apple Pay with adding com.apple.developer.passkit.pass-presentation-suppression to the Entitlements File but my Problem is that this Entitlement also suppresses NFC which I need.
How can I suppress Apple Pay but use NFC?
Thanks for Help!
Post not yet marked as solved
I want to send custom commands to my sensor of type iSO-14443-A using CoreNFC and also want to get response from the sensor. Can anyone suggest me a demo code for this approach?
I'm developing an app using CoreNFC but it crashes when running on iPhone 6 with iOS 12.5 .
Trying to search for an answer I didn't find any solution.
When launching the app, this is the error I read in the console:
dyld: Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC
Referenced from: /var/containers/Bundle/Application/327CB0C3-4B7F-4B72-8F70-EEE985F688CD/myAppName.app/myAppName
Reason: image not found
I've already added CoreNFC.Framework in Targets -> General -> Frameworks, Libraries, and Embedded Content and set it to "Do Not Embed" but it doesn't work.
Is there any solution for this? Or is it a bug of Xcode?
Please help.
Thanks
Post not yet marked as solved
Hello,
How can you program custom NFC Data onto a iPhone which can be read from a NFC-Reader?
(Like Apple Pay)
Thanks for Help!
Post not yet marked as solved
Hello,
is there a way to pass Data directly via NFC between two Devices (iPhones)?
Example:
iPhone 1: NFC- Writer
iPhone 2: NFC- Reader
iPhone 1 writes/ passes NFC Data to iPhone 2 which reads it.
Thanks for Help
Post not yet marked as solved
I have a question regarding the passcode rule for reading the cards which are saved in "Wallet and Apple Pay" app.
If I want the card to be read by tapping the iPhone / Apple Watch on IC Card Reader without entering the passcode, is it correct to set up a particular system code other than "0xFFFF"?
Please kindly confirm.
Thank you.
Post not yet marked as solved
I have a tableview with 4 sections. Each section has a button.
I used "convertPoint" to View to determine which button was touched and then get the indexPath from the "point".
With the latest iOS update the point data returned is incorrect and thus the wrong indexPath.row is selected for action.
Post not yet marked as solved
I recently bought some smart outlets and nfc chips so that when I tap my phone to them my lights turn on. Although when I go to set up the automation on shortcuts it doesn’t work. I’m setting it up as
“When NFC chip is scanned”
”If Outlet is On/Off”
Then there is no option to change it. It just detects if it’s on or not and I can’t seem to find a way to have it detect it then change it.
Post not yet marked as solved
Hello,
im trying to call from my View Controller a NFC Reader in a different ViewController.
The NFC Reader starts but doesn't calls:
func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs...)
I can call the NFC Reader in the other ViewController but don't use reader output because i think, that he doesn't calls the didDetectNDEF function.
Thanks for Help
Post not yet marked as solved
Hi,
I am creating an iOS application using iPhone 11.
The purpose of the functionality is to extract data from passport NFC.
The NFC functionality works on my colleague iPhone but does not work on my iPhone.
Are there any known issues with NFC for iPhone 11?
Thanks
Post not yet marked as solved
Hello,
i want to have a NFCReader and NFCWriter in one ViewController.
The problem is that always the writeNFC function gets called even when I call the readNFC function.
What I want:
readNFC function which starts the session calls --> func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) {
writeNFC function which starts the session calls --> func readerSession(_ writesession: NFCNDEFReaderSession, didDetect tags: [NFCNDEFTag]) {
What happens: write and readNFC call --> func readerSession(_ writesession: NFCNDEFReaderSession, didDetect tags: [NFCNDEFTag]) { which is the function that writes on NFC Tags.
How can you have both functions in on file and be able to call them both?
Thanks for Help
Post not yet marked as solved
My experience with NFC is very limited, but I'm trying to implement a way to share a URL directly from one iPhone to another using NFC, similar to how Android Beam works. I learned that even though iOS 13 supported writing to tags, it did not support tag emulation necessary for this kind of data exchange to work. I've watched the WWDC 2020 video on the new Core NFC features, but I can't figure out if anything has changed in this regard. I can't find any information about this in the documentation neither. Can anyone with more NFC experience tell me if what I'm trying to do is possible?
Post not yet marked as solved
Can another iPhone be used to accept and decrypt information sent through an Apple Pay Rewards card or can this only be done via a terminal?
Post not yet marked as solved
Hello,
we are trying to read an ISO7816 tag and are seeing several customers with the following error:
[NFCTagReaderSession _connectTag:error:] Error Domain=NFCError Code=100 "Stack Error" UserInfo={NSLocalizedDescription=Stack Error, NSUnderlyingError=0x2832da670 {Error Domain=nfcd Code=15 "Stack Error" UserInfo={NSLocalizedDescription=Stack Error}}}
I was able to reproduce the error with the WWDC 2020 sample code app (target FishTagReader).
The error only appears on iPhone Xs with iOS 14.8.1. On other devices with different iOS Versions
iPhone Xs with iOS 15.2.1
iPhone SE with iOS 15.3.1
iPhone 8 with iOS 14.4.1
there is no tag detected and each session ends with a timeout.
It is strange that it is impossible to get any connection at all with theses versions of iOS.
I have found many NFCErrors named "Stack Error" with code 100 but none with an underlying nfcd error code 15.
Any idea what could be the error about?
Post not yet marked as solved
Is there an API for third-party apps for using NFC?
It's nothing about any payment systems.
If an authorization fee is required, please provide a contact person.
Post not yet marked as solved
I'm designing a Bluetooth Low Energy accessory without a built-in display.
According to the Bluetooth Core Specification (CSv5.0 | Vol. 3, Part H, Table 2.8), that limits pairing to Just Works pairing - which is unauthenticated and has no man-in-the-middle protection even with LE Secure Coonnections. However Section 2.3.5.4 (CSv5.0 | Vol. 3, Part H), states that an out-of-band pairing mechanism may be used to send the TK (temporary key) if both devices support it. That would provide authentication (i.e. MITM protection) beyond Just Works pairing.
There are a number of white papers about implementing out-of-band pairing through the NFC radio (e.g. one from 2014 from the NFC Forum). So this is not a new concept.
Searching through the forums, I have been unable to find a definitive answer as to whether or not iOS supports OOB pairing through NFC: This same question - https://developer.apple.com/forums/thread/15286 was asked five years ago and unanswered.
As of two years ago (which may be old news) the best answer was, AFAIK, no - https://developer.apple.com/forums/thread/111428
1 month ago, the answer was it cannot be done without the pairing dialog. - https://developer.apple.com/forums/thread/676522?answerId=667580022#667580022 But this answer neglected to say whether or not it could be done with the pairing dialog.
The Accessory Design Guidelines - https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf recommend using out-of-band pairing, but this appears to be limited to the USB connection.
I have a prototype BLE accessory that implements OOB pairing. This works with a 4-year-old HTC running Android 9 at the OS level - no app required. I tested same accessory with an iPhone 12 running iOS v14.4.2 and was unable to connect or prompt the pairing dialog. Using a BLE sniffer, I was able to see that the iPhone 12's Pairing Request Packet (Bluetooth Core Specification v5.0 | Vol 3, Part H, Section 3.5.1) set the OOB data flag to '0'.
So my strong suspicion is it currently cannot be done.
My questions are: Does iOS support out-of-band pairing through the NFC radio?
If no, are there any plans in the roadmap to support OOB through NFC?
Why is Apple at least four years behind Android in implementing this feature?
Post not yet marked as solved
Hi everyone,I'm testing CoreNFC in an app.I use iPhone7, iOS 11 and Xcode 9The app is that when I read NFC tag, webpage appear.when I run this app, one error appear in the log:readerSession(_:didInvalidateWithError:) Error Domain=NFCError Code=204 "Single tag read" UserInfo={NSLocalizedDescription=Single tag read}What happend?
Post not yet marked as solved
There's a popover when I use https://developer.apple.com/documentation/corenfc to read the nfcTag, but I don't want that popover. Can I read the nfcTag without popover?
I hope that there will be no pop-up window after enabling nfctag reading, and only start processing the obtained information when the correct nfcTag is read. I hope to realize that the user can perform other operations in the application and always open the nfcTag for reading before reading an nfcTag.Is it possible?How should I implement this function?
Post not yet marked as solved
Hello,
I need Near Field Communication (NFC) for one Project.
The problem is that you need to enable NFC in Xcode Capabilities and need for that a Apple Developer Account.
I tried to create a Apple Developer Account but because im 17 years old, im getting the error: "Sorry, you can’t enroll at this time."
Are there any solutions?
Thanks for help!
Post not yet marked as solved
I am trying to use apple wallet to be detected by a RFID reader, specially a PN5180 with Arduino, running ISO15693 protocol. Is there a way to have this work? I also know that this reader can run the Felica protocol and I think this is the protocol I would have to use, but want make sure that ISO15693 will not work.