Hello, we're having problems running the sample code for HCE https://developer.apple.com/documentation/corenfc/cardsession/
We have the necessary HCE Entitlements in place. Everything is configured according to the guidelines in both the entitlements and info.plist files.
Unfortunately, when trying to execute the code, the app crashes and the state is as follows:
NFCReaderSession.readingAvailable = true
CardSession.isSupported = true
And the crash happens after executing CardSession.isEligible
With
CoreNFC/NFCCardSession.swift:451: Fatal error: Missing required entitlement
The app runs on iOS 18.0 (22A5338b). Our account is registered in Bulgaria, which is part of the EEA, and the tests are run in Bulgaria.
Hardware
RSS for tagDelve into the physical components of Apple devices, including processors, memory, storage, and their interaction with the software.
Post
Replies
Boosts
Views
Activity
I have used the same external mic on my iPhone 13 Pro Max for years, great quality audio, now when pluggin in the mic doesnt switch, and isn't recognized and all apps record with the internal mic which is really bad in a room setting.
I'm developing an app that pairs to a custom piece of hardware over BLE. Right now I'm working on a way to handle the case where the user mis-enters the PIN code. I see that didUpdateNotificationStateFor is passed an error message in this case saying "Encryption is insufficient.". But it seems like there has to be a better way to handle and react to that case.
Do I really need to rely on a string-compare against error message in order to determine when to display the instructions on how to reset everything and restart the pairing workflow? Is there something I'm missing in this documentation?
I want to on widget or on app I can trigger MPRemoteCommandEvent to control system media player.
So , i have bought my Iphone 15 in the release week . Since the beginning i’ve noticed some overheating but i brushed it off since so many people were having it , but i still feel like it overheats especially when using the camera and making calls. 10 months later , my battery health is at 88% at 308 cycles , which would be 1 charge per day . Im worried its dropping too fast tbh and i wanted to know if this is normal .
I have a 2019 MacBook Pro
intel chip
radeon pro 5500 gpu
I installed sequoia 15 last night and woke up to a completely dead battery. After finally getting a charge I noticed that my fans are running non stop. The only way I was able to get a charge was to power directly to my MacBook and not through my docking station like I have previously been able to. It shows that it is connected to a power adapter but the battery is not charging.
After dealing with that I decided to swap back to Sonoma. I am getting the preflight error upon recovery startup as well as when I have to agree to the licensing terms there are no terms there to approve. I repaired the startup disk and still had the same issue. I rebooted the laptop and tried to utilize the App Store and was getting the error for Sonoma cannot be installed on the current OS.
this has literally taken almost five hours of just trying to swap back to the other operating system and I still have not been able to.
We are experimenting with the DockKit API in iOS 18. However, we are unable to retrieve the speakingConfidence, lookingAtCameraConfidence, and saliencyRank for the person being tracked. We are able to get the rect and identifier. Has anyone been able to retrieve speakingConfidence, lookingAtCameraConfidence, and saliencyRank?
We are experimenting with the DockKit API in iOS 18. However, we are unable to retrieve the speakingConfidence, lookingAtCameraConfidence, and saliencyRank for the person being tracked. We are able to get the rect and identifier. Has anyone been able to retrieve speakingConfidence, lookingAtCameraConfidence, and saliencyRank?
We are experimenting with the DockKit API in iOS 18. However, we are unable to retrieve the speakingConfidence, lookingAtCameraConfidence, and saliencyRank for the person being tracked. We are able to get the rect and identifier. Has anyone been able to retrieve speakingConfidence, lookingAtCameraConfidence, and saliencyRank?
I am trying to use Sidecar with my iPad and Mac. For some reason, it works when I am using my personal User but not when I switch over to my work User account. Both accounts share the same Apple ID, both are admins on my computer. I even tried logging out of my personal where it works to see if that was the issue, but it still does not let my iPad connect when on my Work User.
Any source code samples for how to program DockKit ?
I have read https://developer.apple.com/documentation/DockKit and would like to see it used in an app. For instance, how to setup notification in a SwiftUI-based app running code like this
do {
for await accessory in try DockAccessoryManager.shared.accessoryStateChanges {
// If this is an accessory you’re interested in, save it for later use.
}
} catch {
log(“Failed fetching state changes, \(error)“)
}
Hi!
We have a application that uses HCE to communicate with our readers. Everything works very nicely together, but from usability point of view there is an issue when one uses our app and apple pay together. One needs to choose which one is default contactless app.
We did some research and see that ECP protocol enhancements to NFC might be useful here and a re wondering if there is a possibility that the user has Apple pay enabled as default contactless application. But on presentation of the iPhone on our reader we would use ECP to choose our app to process the action.
Mind that our app is related to access control and not payments.
Regards Simon
I'm trying to use the new AccessorySetupKit framework.
I copied more or less the sample code provided by Apple in the ASKSample project.
The very first action, namely displaying the picker fails with this error:
The operation couldn’t be completed. (ASErrorDomain error 550.)
I've looked in the documentation but it's quite empty till now.
Could someone explain what is missing?
Thank you very much in advance!
Hi, I need help with an issue. I have 400 vacation photos in RAW format on my phone that I can’t edit, share, or open because I receive the following messages:
• Cannot Load Photo. There was an error loading this photo.
• Unable to Share. There was an error while preparing to share. Please try again later.
• Unable to Load Photo. An error occurred while loading a higher-quality version of this photo.
Additionally, each photo affected by this issue is marked with an exclamation mark inside a circle in the lower right corner.
Here is a detailed description of the problem:
I can’t edit or share any of the RAW format photos.
The problem persists regardless of whether I have internet access or not because the affected photos aren’t syncing with iCloud and can’t be shared.
Even if I disconnect from the internet (airplane mode) and take a new photo, I still can’t use it. (I’m sharing a video from YouTube.)
The photos are physically on the phone, the system recognizes them, and they occupy space, but when I connect the phone to a computer, the computer doesn’t see these photos.
These photos cannot be uploaded to iCloud. The syncing status remains unchanged.
To preempt any questions—I have a very good WiFi connection and 5G network.
What I’ve tried to fix the problem:
I reset the phone—didn’t help.
I reset the Photos app—didn’t help.
I updated the iOS system (I have the latest version)—didn’t help.
Low Power Mode is not enabled.
I have enough free space on my phone (150 GB available) and on iCloud (50 GB available).
Please help, these photos are very important to me.
YouTube wideo with problem
Best regards.
Patras
The current system firmware version is reported by System Profiler as "SPHardwareDataType".
System firmware versions are also reported (as "Boot ROM") in diagnostics logs, but here they are the system firmware versions at the time the logs were generated - not necessarily the current system firmware version.
Is there a way to programmatically obtain the current system firmware version in macOS using C++ without using System Profiler?
trying to connect my hackrf to mac (m2-max):
sudo dmesg | grep hackrf
[ 3619.032024]: Waking up reference: 153Thread waiting on reference 153 woke upevaluation result: 153, library, allowed, cache, 1722689181, 0, 90201ae9ab0f59a3, /opt/homebrew/Cellar/libusb/HEAD-467b6a8/lib/libusb-1.0.0.dylibhackrf_info@: AppleUSBHostUserClient::openGated: failed to open USB3.0 Hub @02200000: provider is already opened for exclusive access by AppleUSB30Hub
I'm using the External Accessory API to communicate with Bluetooth MFI device in my iOS app. It works perfect on iPhone/iPad, but does not work when I run the app on a M1/M2 Silicon Mac.
The code I use is:
EAAccessoryManager accessoryManager = EAAccessoryManager.SharedAccessoryManager;
EAAccessory[] accessories = accessoryManager.ConnectedAccessories;
The supported accessory protocols are properly defined in info.plist.
This code works perfect on iOS devices, but always returns 0 connected accessories when app is executed on a M1/M2 silicon Mac.
Is there something that I have to add to info.plist?
Recently I encountered this error. I researched and discovered that many people had the same error as me. I tried everything and almost all the instructions didn't fix it completely. I think it's related to the Touchbar.
So is there any instructions to fix this problem? This incident happened several years ago.
Describe the error I encountered: Sometimes it goes to the login screen and the Touchbar appears to work normally. But fingerprint doesn't work
Sometimes it displays the Wifi login screen as we know
My device constantly restarts with ISO 18 beta 3, as well as 1 and 2, which makes it practically impossible to operate the device.
I'm on Sonoma 14.0.
Suddenly -- I made no software updates -- my trackpad won't open hyperlinks when I hover and click over them. Any thoughts on how I can fix this please? Thank you.