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.
Search results for
nfc
1,176 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to send a URL from iphone to iphone via nfc, for example send the Wallet pass?
How do i address the NFC coil reader on the iphone 12? I am able to find documentation about the NFC chip to make an NFC scanning app but can not find any infomation about the Coil reader present in the new Magsafe technology.
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:
any solutions for this problem? we have the same thing happening on NFC universal link. aasa validator that everything is fine with our apple-app-site-association file
Topic:
App & System Services
SubTopic:
General
Tags:
any solution for this problem so far? we've got the same error message and are unable to find the solution for nfc read. qr scan works though..
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Good day, I would appreciate clarification on something. I've got, say, a very simple Obj-C app with one Scan card button. If the user pushes the button, beginSession is called, followed by tagReaderSessionDidBecomeActive. Now the user presses the Cancel button on the NFCCore popup showing up while detecting cards. This will eventually fire a call to tagReaderSession - didInvalidateWithError. But I find it very slow to come (approximately 1 sec or so), which give plenty of time to the user to push the Scan card button again. If he does so a new call to beginSession will be made just before the didInvalidateWithError comes up, leading to a very broken scenario... Am I doing something wrong? If not any idea how to workaround that? Cheers, Alex
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 !
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Swift Playground
Swift
Swift Student Challenge
Developer Program
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:
I also don't find NFC available in Control Center and cannot seem to scan NFC without it.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
The same thing happens when you scan an NFC tag containing the URL. At least me and someone else have this issue: https://stackoverflow.com/questions/65150897/swiftui-universal-links-not-working-for-nfc Their work-around is to use a custom URL scheme, but since that's frowned upon these days it would be nice if this was fixed. I assume it's an issue in SwiftUI (or maybe something lower level - I haven't written a UIKit test app to narrow down where the URL ges lost). I did make a quick test to see if custom schemes work, but I could only get it to work when scanning a QR code - not when scanning an NFC tag.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
When does the error appear? When you open your App Clip through the TestFlight app or when you try to scan an App Clip code or an NFC card? I think you need to have an already published version of the App Clip on the App Store to be able to use App Clip Experiences.. (I'm not sure, though). If you don't need to have a published App Clip, then I have the same problem as you. Maybe tomorrow I'll publish the first version to the App Store. I'll check then what happens when I scan an App Clip code and write a reply on this page.
Topic:
Code Signing
SubTopic:
Entitlements
Tags:
Is it possible to initiate Bluetooth pairing through NFC on an iPhone? or is this method is only allowed for Apple accessories?
The ability to pair Bluetooth accessories without using the pairing dialog (Out Of Band Pairing) is not available. Whether you want to use NFC, a QR code, or any other means to automatically enter the pairing information, this is not possible at this time.
Topic:
App & System Services
SubTopic:
Networking
Tags:
I am exploring App Clips and trying it out by following the instruction on Apple Documentation site. So far I am able to test local App Clip experience with App Clip code and QR code. For NFC I assume that I would work the same way but need to have rewritable NFC tag and suitable app to write the URL to NFC tag. I wanted to test with other invocations locally however so far I could not find any reference on how to setup these. Location based from Siri suggestion Link on Map Link on iMessage app and Smart App Banner. Based on my finding, Smart App Banner and Link on iMessage App need to have proper domain and associate App Clip with the website by modifying AASA file. Is it possible to test all these 4 invocations locally and how?