Search results for

file uri scheme

78,485 results found

Post

Replies

Boosts

Views

Activity

Reply to XCTestPlan environment variable not retrieved in xcode 26
There are no known issues around this in Xcode 26. If you are using XCTest UI Automation style tests, please ensure you are accessing environment variables set in a test plan from your test runner process and not from the process of an app-under-test. If you believe this is a regression, please file a Feedback with Apple and include the .xcresult bundle from Xcode's Report navigator if possible.
1d
Reply to How can I locate a UVC camera for PTZ control by AVCaptureDevice.unique_id
We parse the locationID out of the AVCaptureDevice.uniqueID and then find the IORegistry node with that locationID. Is there's a document declares how AVFoundation generate the unique_id for USB camera, no so I can assume this convert will always work? you can't Or is there's a way to send a PTZ control request to AVCaptureDevice? not that I know of. As far as I know, the only way is what you're doing. It looks that the unique_id provided is (locationID<<32|VendorID<<16|ProductID) as hex string, but I'm not sure if I can always assume this behavior won't change. Correct - it has changed in the past, it might change at any time in the future. Not all AVCaptureDevices are UVC, but they all have uniqueIDs. If you would like an API to clearly identify an AVCapture device in the IORegistry, please file a bug. I already did (in 2019, FB6146541)
1d
Reply to VisionPro Enterprise.license file
Hi @thanhnd24 Yes, to use the entitlement (in your case, main camera access), you need to include both the entitlement and a corresponding license file in your app. After Apple approves your app for one or more entitlements, you receive a license file, along with additional instructions. People who are part of the Apple Developer Program are eligible to apply for the Enterprise license; an Enterprise account is not a requirement. For more information on obtaining and configuring the license, see Building spatial experiences for business apps with enterprise APIs for visionOS. Refer to Accessing the main camera for more information on using the main camera API.
1d
Reply to When debugging with VisionPro in Xcode, the program will block and it will take a long time to execute
Hi @iOS-LI, Please file a feedback at https://feedbackassitant.apple.com and post the number back here. You should expect the first time you connect to any device to take a bit of extra time to load symbols but that should only happen once. From your description it sounds like it happens quite often. A feedback will help us track down and prioritize your findings. Thank you
1d
Reply to Xcode Signing Fails: Provisioning Profile "doesn't match" com.apple.developer.driverkit.userclient-access entitlement
Hi Kevin, Thank you for the suggestions. We have conducted a test of your third proposal regarding the IOKit User Client Class Temporary Exception. Our test procedure was as follows: We started from a known-good baseline commit where our DEXT loads correctly and the/dev/diskX node appears (though it reports 0 bytes, which is a separate issue we are debugging). We made only one change: we updated our App's .entitlements file to include the temporary exception. For absolute clarity, the exact content of the .entitlements file used for this test was: com.apple.security.temporary-exception.iokit-user-client-class IOUserUserClient com.apple.security.app-sandbox com.apple.developer.system-extension.install After a full clean, build, and reboot, the IOServiceGetMatchingService(DriverKitAcxxx) call still fails at runtime, returning IO_OBJECT_NULL. This result seems to indicate that the temporary exception entitlement is not sufficient to grant our app visibility of the active IOKit service on
Topic: App & System Services SubTopic: Drivers Tags:
1d
Apple Pay Merchant Identity Certificate - renewal problems
We are having trouble trying to renew our Apple Pay Merchant Identity Certificate. We can create the CSR file and add to the developer portal. We then convert this to a .pem and then a .p12. When we test the certificate in Postman however, we see the following error: statusMessage: Payment Services Exception pspId=xxxx unauthorized to process transactions on behalf of merchantId=xxxx reason=xxxx is not a registered merchant in WWDR and isn't properly authorized via Mass Enablement, either., statusCode: 417 We are sending the following POST request to 'https://apple-pay-gateway.apple.com/paymentservices/paymentSession': {merchantIdentifier: merchant.com.xxxx.applepaytest, domainName: beta-xxxx.com, displayName: beta-xxxx.com} Anyone got any ideas what the issue may be? In the meantime I will look at completing our domain verification as that is also due soon and we thought it may possibly have something to do with the certificate issues we are seeing.
0
0
51
1d
Request File Access from Unity for Apple Vision Pro
Hi, I am trying to load files from the Apple Vision Pro's storage into a Unity App (using Apple visionOS XR Plugin and not PolySpatial package). So far, I've tried using UnitySimpleFileBrowser and UnityStandaloneFileBrowser (both aren't made for the Vision Pro and don't work there), and then implemented my own naive file browser that at least allows me to view directories (that I can see from the App Sandbox). This is of course very limited: Gray folders can't be accessed, the only 3 available ones don't contain anything where a user would put files through the Files app. I know that an app can request access to these Files & Folders: So my question is: Is there a way to request this access for a Unity-built app at the moment? If yes, what do I need to do? I've looked into the generated Xcode project's Capabilities, but did not find anything related to file access. Any help is appreciated!
1
0
107
1d
How to handle autogenerated files in XCode
Hi, It seems that the files that are added to a targets compilation list cannot be hardcoded. If the file doesn't exist in the file system then it cannot be added to the compilation list. If this is true then how are autogenerated files handled in Xcode. I want to autogenerate some code but since I can't add those files in to the project, the first compilation (that generates those files) always fails. This is especially problem in CI. How is I should handle this in Xcode
0
0
24
1d
WhatsApp backed up data gets deleted with this step
I have my mobile backup + WhatsApp backup enabled and I have subscription of icloud as well. Things went well untill yesterday I deleted whatsapp from my mobile. Installed whatsapp again then it asked to restore data and I selected yes. During restore process it allowed to click on backup and I clicked All my whatsapp non-text data got deleted as by this time only texts were imported and media files were yet to be downloaded. I lost data from 2019. I had purchased I cloud service mainly for media.
1
0
29
2d
Your app's binary includes references to HealthKit components, but the app still does not appear to include any primary features that require health or fitness data.
Your app's binary includes references to HealthKit components, but the app still does not appear to include any primary features that require health or fitness data. Next Steps To resolve this issue, please remove any HealthKit functionality from the app, as well as any references to this app’s interactivity with HealthKit from the app or its metadata. This includes removing any HealthKit-related keys in the app's Info.plist or InfoPlist.strings files, as well as removing any calls to HealthKit APIs, including those from third-party platforms, from the app.
1
0
203
2d
Reply to Best Practices for Binary Data (“Allows External Storage”) in Core Data with CloudKit Sync
When a Binary Data attribute is marked as “Allows External Storage”, large image files are stored as separate files on the device rather than inline in the SQLite store. That is correct. There is a threshold when the data will get stored in external files next to the SQLite database, similar to the approach that you described with URLs, but that process is managed by CoreData and transparent to your app you. How effective is this mechanism in keeping the Core Data store size small on the device? It depends on what you mean by the store. The SQLite file will be smaller, but the files are still stored on the device. Are there any recommended size thresholds or known limits for how many externally stored blobs can safely be managed this way? There is in general no limit. CoreData will decide when it's worth using an external file. If the blob you are storing is only a few bytes, it'll remain inline. If you expect to have a lot of assets, you should consider h
2d