Search results for

show when run

112,702 results found

Post

Replies

Boosts

Views

Activity

CoreNFC ISO7816: provisioning profile doesn’t match entitlements for readersession.formats / iso7816.select-identifiers + NFCError 104 “Tag is not connected”
Hi all, I’m building an iOS app that uses CoreNFC to communicate with a YubiKey 5C NFC over ISO14443 / ISO7816 and send APDUs (e.g. select an applet by AID). Environment • Device: iPhone 13 Pro Max • iOS: 18.6.2 • Xcode: 26.1.1 (17B100) • API: NFCTagReaderSession(pollingOption: .iso14443) using NFCTag.iso7816 What I’m trying to do 1. Start NFCTagReaderSession(.iso14443) 2. Detect tag → connect 3. Send ISO7816 APDUs (SELECT AID, etc.) Issue A — Entitlements / signing If I add ISO7816-related NFC entitlements, Xcode fails signing with an error like: • “Provisioning profile … doesn’t match entitlements file value for com.apple.developer.nfc.readersession.formats” When I inspect the generated .mobileprovision, I only see something like: • com.apple.developer.nfc.readersession.formats = [NDEF, TAG, PACE] …and I do not see an ISO7816 / select-identifiers entitlement (and the Developer portal UI doesn’t appear to let me enable it). Questions: 1. Is ISO7816 access under com.apple.developer.nfc.readersession.formats r
1
0
77
1w
Reply to iOS 26: Unable to Transition from CallKit Screen to App when remoteHandle is nil or empty string
Are you asking if there's a reason we're not setting Unknown Caller in update.localizedCallerName? No. I was actually asking why you weren't using a CXHandle with a type set to generic and a string value to set to Unknown Caller (or whatever you wanted). So, let me actually step back for a moment and clarify the general roles these two different properties have: CXHandle -> This is intended to be the unique identifier for a particular call source. Phone calls use phone numbers, while other systems might use email addresses or string values (like user names). CXCallUpdate.localizedCallerName -> The name you actually want to show the user. Note that the mapping between these two values is definitely not one-to-one. For example: The same person can have multiple handles associated with it (for example, because a user has multiple account/phone numbers). Totally unrelated CXHandles may have the same localizedCallerName, either because of simple name overlap (there's more than one Kevin Elliott in t
Topic: App & System Services SubTopic: General Tags:
1w
iOS 26: Unable to Transition from CallKit Screen to App when remoteHandle is nil or empty string
Hello, I am developing an internal phone application using CallKit. I am experiencing an issue with the behavior of remoteHandle settings in iOS 26 and would appreciate any insights you can provide towards a solution. 1. Problem Description When an iPhone running iOS 26 is in a sleep state and receives a VoIP incoming call where remoteHandle is set to nil or an empty string (@), we are unable to transition to our application (the UIExtension provided by the provider) from the CallKit UI's More (…) button after answering the call. 2. Conditions and Symptoms OS Version: iOS 26 Initial State: iPhone is in a sleep state Call Type: An unsolicited(unknown number) VoIP incoming call where the CXCallUpdate's remoteHandle is set to either nil or [[CXHandle alloc] initWithType:CXHandleTypePhoneNumber value:@] Symptoms: After answering the VoIP call by sliding the button, selecting the More (…) button displayed on the CallKit screen does not launch our application's UIExtension (custom UI), and the iPhone inste
3
0
166
1w
Live Activity – crashes on ActivityAuthorizationInfo() and Activity.activities
Hey! I'm working on enabling remotely started live activities. I'm running into 2 crashes: Upon initializing ActivityAuthorizationInfo Upon calling Activity<...>.activities array Both stack traces look like this: 0 libsystem_kernel.dylib +0xce0 _mach_msg2_trap 1 libsystem_kernel.dylib +0x4398 _mach_msg2_internal 2 libsystem_kernel.dylib +0x42b4 _mach_msg_overwrite 3 libsystem_kernel.dylib +0x40fc _mach_msg 4 libdispatch.dylib +0x1cc04 __dispatch_mach_send_and_wait_for_reply 5 libdispatch.dylib +0x1cfa4 _dispatch_mach_send_with_result_and_wait_for_reply 6 libxpc.dylib +0x107ec _xpc_connection_send_message_with_reply_sync 7 BoardServices +0xaea8 -[BSXPCServiceConnectionMessage _sendWithMode:] 8 BoardServices +0x17938 -[BSXPCServiceConnectionMessage sendSynchronouslyWithError:] 9 BoardServices +0xeef0 ___71+[BSXPCServiceConnectionProxy createImplementationOfProtocol:forClass:]_block_invoke They happen to a limited number of users, but not insignificant. Most are on iOS 18.6.2 and iOS 26.1, but the
2
0
193
1w
Background App Refresh
Hi, I have a couple questions about background app refresh. First, is the function RefreshAppContentsOperation() where to implement code that needs to be run in the background? Second, despite importing BackgroundTasks, I am getting the error cannot find operationQueue in scope. What can I do to resolve that? Thank you. func scheduleAppRefresh() { let request = BGAppRefreshTaskRequest(identifier: peaceofmindmentalhealth.RoutineRefresh) // Fetch no earlier than 15 minutes from now. request.earliestBeginDate = Date(timeIntervalSinceNow: 15 * 60) do { try BGTaskScheduler.shared.submit(request) } catch { print(Could not schedule app refresh: (error)) } } func handleAppRefresh(task: BGAppRefreshTask) { // Schedule a new refresh task. scheduleAppRefresh() // Create an operation that performs the main part of the background task. let operation = RefreshAppContentsOperation() // Provide the background task with an expiration handler that cancels the operation. task.expirationHandler = { operation.cancel() }
27
0
640
1w
Reply to Background App Refresh
I think I understand what you are saying; however, with the code I have above, wouldn't the task run after the app being closed for a minute? Note that NSTimeInterval is based on seconds, not minutes, so a value of 1 is one second, not one minute. or is there an error in that code? There isn't an error in your code as such; however, I think you've misunderstood what the API means. The key issue is here: request.earliestBeginDate = Date(timeIntervalSinceNow: 1) The earliestBeginDate property is the system’s earliest time the system is allowed to run your task. That is, if you set that interval to 3600 (1 hour in seconds), then the system guarantees that it won't run your task until at LEAST 1 hour from now. The key words there are at LEAST“ - that is, the system is ONLY guaranteeing that the work won't run BEFORE that time, NOT making any promises about when the work will fire AFTER that time. The thing to understand here is that the larger goal here is to let the system bet
1w
com.apple.hiservices-xpcservice (Not Responding)
Previously discussed in beta:https://forums.developer.apple.com/message/330295This process stops responding every day it seems, I'm running 10.14.3 (18D109)When the process hangs, its Open Files and Ports include the following:txt /Library/Preferences/Logging/.plist-cache.ZP6RP0OT txt /private/var/db/timezone/tz/2018i.1.0/icutz/icutz44l.dat txt /usr/share/icu/icudt62l.dat txt /private/var/folders/35/dgpwsg457w17gs77hssnrbnw0000gn/0/com.apple.LaunchServices-231-v2.csstoreThose are not open when the service is running (before it hangs)Would like to know how frequently this hangs for everyone else and get steps to troubleshoot if possible.
21
0
39k
1w
Add 'PDF Services' symlink in ~/Library directory in SwiftUI macOS Catalyst application
I am trying to port my sandboxed macOS app completely over to iOS using a Catalyst target. In my macOS app, I use 'SwiftySandboxFileAccess' package to add a symlink to '~/Library/PDF Services' so that the 'share to my app' menuItem shows up in the macOS Print Panel (in the PDF menu). It is critical for the function of my app to have this work on macOS. In the Catalyst target, I am having problems gaining access to '~/Library'. I have tried having the user select the folder, but the picker always returns 'canceled'. I have a test app that illustrates this. The test app tries to coax the user into selecting the library folder and then it is supposed to bookmark the location, but I am unable to get this far. As an aside, macOS should probably automatically add an entry to the Print Panel when the app includes PDF as a document type in XCode; it would save a lot of hassle and avoid having to go outside of the sandbox. However, I cannot wait for that. Hopefully someone can help. Download Test App from iCl
3
0
115
1w
Reply to Inquiries about AVPlayer's ABR switching logic and control APIs for HLS/LL-HLS
To your first question, AVPlayer ABR logic is constantly evolving, so it is not published or documented. If you are running into a case where it is not performing as well as you think it should be, please file a bug with logs and sample content and we will try to look into what's going on. Regarding API, AVPlayerItem also offers preferredMaximumResolution, and for LL specifically, configuredTimeOffsetFromLive, recommendedTimeOffsetFromLive and automaticallyPreservesTimeOffsetFromLive also influence ABR behavior.
Topic: Media Technologies SubTopic: Streaming Tags:
1w
Apple rejected my app ( again )
Hello everyone, few days back I posted about how apple rejected my build and now after 3 days, they replied back in a very unclear, and I am not being able to understand what they really mean by that. Context :- In my app, when the user clicked on export button, it should show the export options, however, if the user is not on a lifetime plan, it should open the premium popup / modal to allow them to purchase. Now, this modal loades project based on storekit IN app purchases I added, and locally I tested using the `.storekit` file and everything worked fine. However, before archieveing the build for app store connect, I remove the local file form edit scema, and I thought it should load automatically based on the IAP, because I added the IAP to the app build in the console as well. But now, apple responded with this after 3 days :- Issue Description The app exhibited one or more bugs that would negatively impact App Store users. Bug description: Export button brings up an empty sheet that seems like
1
0
188
1w
How can I assign priorities to my app’s GPU workloads?
My app has a number of heterogeneous GPU workloads that all run concurrently. Some of these should be executed with the highest priority because the app’s responsiveness depends on them, while others are triggered by file imports and the like which should have a low priority. If this was running on the CPU I’d assign the former User Interactive QoS and the latter Utility QoS. Is there an equivalent to this for GPU work?
1
0
860
1w
Swift Playgrounds macOS repeatedly asks “My App would like to access data from other apps”
Environment: Swift Playgrounds (macOS) SwiftUI App Preview macOS version: 26.2 (25C56) Issue: In Swift Playgrounds on macOS, the app repeatedly shows the system permission dialog: “My App would like to access data from other apps. Keeping app data separate makes it easier to manage your privacy and security.” Steps to Reproduce: Create a new SwiftUI app in Swift Playgrounds. Run the SwiftUI App Preview. When the permission dialog appears, click “Allow”. Expected Result: The permission should be granted once and persist, allowing the preview to continue normally. Actual Result: After clicking “Allow”, the SwiftUI App Preview crashes and restarts. When the preview restarts, the same permission dialog appears again. This repeats indefinitely, creating a loop. Notes: This occurs even when no explicit file system or inter-app data access code is written. The permission choice does not appear to persist between preview restarts. Question: Is this a known limitation of Swift Playgrounds sandboxing
2
0
108
1w
LanguageModelSession with multiple tools and structured outpout
Hi, I'm using LanguageModelSession and giving it two different tools to query data from a local database. I'm wondering how I can have the session generate structured content as the response that includes data one or both tools (or no tool at all). Here is an example of what I'm trying to do: Let's say the app has access to a database that contains information about exercise and sleep data (this is just an analogy). There are two tools, GetExerciseData() and GetSleepData(). The user may then prompt something like, how well did I sleep in November. I have this working so that it calls through to the right tool, which would return a SleepSummary. However, I can't figure out how to have the session return the right structured data. I can do this and get back good text data: let response = session.respond(to: userInput), but I believe I want to do something like: let response = session.respond(to: trimmed, generating: ) Sometimes the model I run one tool or the other, or both tools, or no tool at all. An
1
0
396
1w
Deterministic AI Safety Governor for iOS — Seeking Feedback on App Review Approach
I've built an iOS app with a novel approach to AI safety: a deterministic, pre-inference validation layer called Newton Engine. Instead of relying on the LLM to self-moderate, Newton validates every prompt BEFORE it reaches the model. It uses shape theory and semantic analysis to detect: • Corrosive frames (self-harm language patterns) • Logical contradictions (requests that undermine themselves) • Delegation attempts (asking AI to make human decisions) • Jailbreak patterns (prompt injection, role-play escapes) • Hallucination triggers (requests for fabricated citations) The system achieves a 96% adversarial catch rate across 847 test cases, with zero false positives on benign prompts. Key technical details: • Pure Swift/SwiftUI, no external dependencies • Runs entirely on-device (no server calls for validation) • Deterministic (same input always produces same output) • Auditable (full trace logging for every validation) I'm preparing to submit to the App Store and wanted to ask: Are there specific A
1
0
397
1w