Search results for

Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

186,340 results found

Post

Replies

Boosts

Views

Activity

Reply to UIApplication.canOpenURL not working without Safari
Hello Albert, This is reproducible in the iOS 26.2 & iOS 26.3 official releases, not beta versions. So this seems to be an iOS 26.x bug that I can't seem to be mentioned anywhere. The links I'm talking about are both regular, simple links (think https://www.apple.com/apple-events/), the kind that would instantly open in the default browser, as well as universal links, none of them open. No external links seem to open using UIApplication.shared.open(url, options:) when Safari has been removed. If its eases communication, I already filed a feedback ticket FB21867922. I'll link to the app in the ticket there.
Topic: UI Frameworks SubTopic: UIKit
1w
DCAppAttestService errors: com.apple.devicecheck.error 3 and 4
Hello, we are using DeviceCheck – App Attest in a production iOS app. The integration has been live for some time and works correctly for most users, but a small subset of users encounter non-deterministic failures that we are unable to reproduce internally. Environment iOS 14+ Real devices only (no simulator) App Attest capability enabled Correct App ID, Team ID and App Attest entitlement Production environment Relevant code let service = DCAppAttestService.shared service.generateKey { keyId, error in // key generation } service.attestKey(keyId, clientDataHash: hash) { attestation, error in // ERROR: com.apple.devicecheck.error 3 / 4 } service.generateAssertion(keyId, clientDataHash: clientDataHash) { assertion, error in // ERROR: com.apple.devicecheck.error 3 / 4 } For some users we intermittently receive: com.apple.devicecheck.error error 3 com.apple.devicecheck.error error 4 Characteristics: appears random affects only some users/devices sometimes resolves after time or reinstal
2
0
309
1w
Reply to DCAppAttestService errors: com.apple.devicecheck.error 3 and 4
Hi, I’m a colleague of @alemazz_pa and wanted to add more production data on this issue. Thank you for the explanation regarding error semantics and the iOS 17.0/17.1 known bug. Our main concern is Error 3 (invalidKey): It affects a large population (~70,000 users) in our telemetry. We also observe it on recent devices / OS versions (for example iPhone 17 Pro on iOS 26), so it does not appear limited to devices that were “stuck” before iOS 17.1. For a subset of users, reinstalling the app does not recover. The failure can be persistent for the same app instance. Given this, could you help clarify whether invalidKey in practice can also represent server-side key state mismatches beyond local key corruption? Specifically, documentation mentions that: generateAssertion(_:clientDataHash:completionHandler:) may fail if called with an unattested key. Could there be cases where a key that was previously generated+attested later becomes unusable (for example attestation state no longer reco
Topic: Privacy & Security SubTopic: General Tags:
1w
Reply to CallKit requestTransaction error code 2
It is rather rare to reproduce and explain bugs Some users have remote logs for calls. Log for iOS 26.2.1 & identifier iPhone18,2 To understand: there is no inital providerDidBegin for first CXProvider as logger misses early logs if our logic triggers CXProvider invalidation so Provider to invalidate nil if iOS triggers CXProvider invalidation so Provider to invalidate Optional() func invalidateProvider(..) invalidates provider when either nil or equal to current provider second call providerDidReset happens after invalidateProvider as delagate is not set to nil Pls keep an eye on CXProvider 0x10e0463c0. A very first one 12:45:33_473-730:[CallsProviderDelegate.swift:47 -- providerDidReset(:)] providerDidReset 12:45:33_478-738:[CallsController.swift:307 -- invalidateProvider(:)] Provider to invalidate Optional() 12:45:33_478-739:[CallsController.swift:308 -- invalidateProvider(:)] Current provider 12:45:33_488-742:[CallsProviderDelegate.swift:47 -- providerDidReset(:)] providerDidReset
Topic: App & System Services SubTopic: General Tags:
1w
Reply to OnDemand VPN connection stuck in NO INTERNET
[quote='875862022, disinghal, /thread/811887?answerId=875862022#875862022, /profile/disinghal'] Packet tunnel provider is caliing some another app which is using URLSession [/quote] Huh? Apps can’t ‘call’ other apps on iOS, and similarly for app extensions. So what do you mean by this? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Reply to iOS Keychain + Derived Credentials: Technical help needed!
[quote='875854022, faefsd, /thread/815135?answerId=875854022#875854022, /profile/faefsd'] I'm on the same team as the OP. [/quote] Welcome! [quote='875854022, faefsd, /thread/815135?answerId=875854022#875854022, /profile/faefsd'] Do you know how to query the identifiers on the device? [/quote] That’s not how this API works. Rather, the MDM system provisions each credential to your app with a specific identifier. You and the MDM system have to agree up front as to what that identifier will be. For example, if you were building an email app, you might agree that the identifier will be the email address of the account to which this credential applies. There are two ways to approach this: If you’re building an in-house app, you should engage with your MDM vendor to see how they support this provisioning, and then design your ManagedApp configuration around what they support. If you’re building a general-purpose app, you publish a document describing the ManagedApp configuration you’re e
Topic: Privacy & Security SubTopic: General Tags:
1w
iOS Keychain + Derived Credentials: Technical help needed!
Our Goal: We are implementing a workflow for derived credentials. Our objective is to have a PIV/CAC derived credential (from Entrust), installed via the Intune MDM Company Portal app, and then use it within our (managed) app to generate digital signatures. Challenge: The Intune Company Portal installs these identities into the System Keychain. Because third-party apps are restricted from accessing private keys in the System Keychain, we are running into a roadblock. Our Question: 1) Is there an API that allows us to create a signature without us having to pass the private key itself, but instead just pass a handle/some reference to the private key and then the API can access the private key in the system keychain and create the signature under the hood. SecKeyCreateSignature is the API method that creates a signature but requires passing a private key. 2) If #1 is not feasible, is there a way to get access to system keychain to retrieve certs + private key for managed apps
3
0
264
1w
Autogenerated UI Test Runner Blocked By Local Network Permission Prompt
I've recently updated one of our CI mac mini's to Sequoia in preparation for the transition to Tahoe later this year. Most things seemed to work just fine, however I see this dialog whenever the UI Tests try to run. This application BoostBrowerUITest-Runner is auto-generated by Xcode to launch your application and then run your UI Tests. We do not have any control over it, which is why this is most surprising. I've checked the codesigning identity with codesign -d -vvvv as well as looked at it's Info.plist and indeed the usage descriptions for everything are present (again, this is autogenerated, so I'm not surprised, but just wanted to confirm the string from the dialog was coming from this app) <?xml version=1.0 encoding=UTF-8?> <!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd> <plist version=1.0> <dict> <key>BuildMachineOSBuild</key> <string>22A380021</string> <key>CFBundleAllowMixedLocalizations</key&
10
0
551
1w
ASWebAuthenticationSessionWebBrowserSessionHandling begin callback not called for custom web handler app
I'm building a macOS app that registers itself for HTTP(S) url handling and would like it to participate in the ASWebAuthenticationSession fow. I did: update the plist to register as a handler for URL shemes (http, https, file) use NSWorkspace setDefaultApplication API to set this app as a default handler for urls in question wrote custom ASWebAuthenticationSessionWebBrowserSessionHandling implementation and set it as SessionManager's sessionHandler I launched this app from Xcode, then I triggered authentication flow from a third-party app. When the sign in flow is initiated, I can see that my app is activeated (willBecomeActive and didBecomeActive callbacks are both called), but there is no call for sessionHandler's begin() method. With some additional debugging I see that my app receives an apple event when the flow is started: {sfri,auth target=SafariLaunchAgent {qntp=90/$627......},aapd=TRUE If I switch system default browser back to Safari and then start the login flow, it correctly displays a s
1
0
139
1w
Reply to iOS mTLS Client Certificate Authentication Fails in TestFlight with Error -25303
The error here, -25303, or errSecNoSuchAttr, suggests a problem with your attributes. And the only non-required attribute you’re supplying is kSecAttrApplicationTag. Which is, in fact, the cause of your issue. kSecAttrApplicationTag is only supported on keys. I recommend that you have a read of SecItem: Fundamentals [1], and specifically the The Four Freedoms^H^H^H^H^H^H^H^H Functions section, which explains how you can use SQL to model the expected behaviour of the SecItem API. In this case, the SQL table for certificate items has no kSecAttrApplicationTag, and thus this error. It also has links to the doc that explains which keychain item class supports which attributes. [quote='815390021, ellinj, /thread/815390, /profile/ellinj'] Is there an alternative to create SecIdentity without keychain access? [/quote] We finally (finally finally!) have this. See the docs for the SecIdentityCreate function. IMPORTANT This was added in Xcode 26 but backdeploys to much older systems. Or at least that’s the pla
1w
Image not rendering on some devices
Hi, new developer here. I have an issue where an image I have on app is not showing up on some devices. The image is: Resources/Assets/logo: I am using it in my app like: ZStack { Color.white .ignoresSafeArea() VStack { Spacer() Image(logo) Spacer() Text(dateString) .font(.custom(LinLibertine, size: 17)) .fontWeight(.bold) .tracking(5) .padding(.bottom, 50) } } The image appears fine on all simulators. And also on my real device iPad with A14. But when I run it on iPhone 8 or iPad Air M4, it shows empty space in place of image. I tried many different options like: Image(logo) .renderingMode(.original) .resizable() .scaledToFit() frame(width: 300) .background(Color.red.opacity(0.3)) But nothing works. What can be the issue?
2
0
120
1w
Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
I’m using Network Framework with UDP and calling: connection.receive(minimumIncompleteLength: 1, maximumLength: 1500) { data, context, isComplete, error in ... // Some Logic } Is it possible for this completion handler to be called with data==nil if I haven't received any kind of error, i.e., error==nil and the connection is still in the .ready state?
1
0
50
1w
Reply to Collecting OSLog logs from network extensions
[quote='815354021, JacobHearst, /thread/815354, /profile/JacobHearst'] OSLogStore … it only collects logs for the current process [/quote] Correct, at least on everything except the Mac. I cover this and many other logging topics in Your Friend the System Log. There isn’t truly a happy path here. When it comes to NE debugging, you need to see the full system log and there are no APIs on iOS that’ll let you get that. Oh, one last thing. If you’re goal is to work with Apple to help debug a problem, you can ask your user to file a bug in Feedback Assistant. That’ll attach a sysdiagnose log to the bug report. You won’t be able to see the sysdiagnose log, but if you pass the Apple folks that bug number they should be able to get it. I talk more about this idea in Using a Sysdiagnose Log to Debug a Hard-to-Reproduce Problem. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
1w