Search results for

apple pencil battery life

146,234 results found

Post

Replies

Boosts

Views

Activity

ManipulationComponent create parent/child crash
Hello, If you add a ManipulationComponent to a RealityKit entity and then continue to add instructions, sooner or later you will encounter a crash with the following error message: Attempting to move entity “%s” (%p) under “%s” (%p), but the new parent entity is currently being removed. Changing the parent/child entities of an entity in an event handler while that entity is already being reassigned is not supported. CoreSimulator 1048 – Device: Apple Vision Pro 4K (B87DD32A-E862-4791-8B71-92E50CE6EC06) – Runtime: visionOS 26.0 (23M336) – Device Type: Apple Vision Pro The problem occurs precisely with this code: ManipulationComponent.configureEntity(object) I adapted Apple's ObjectPlacementExample and made the changes available via GitHub. The desired behavior is that I add entities to ManipulationComponent and then Realitiykit runs stably and does not crash randomly. GitHub Repo Thanks Andre
2
0
258
1w
Reply to 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, my immediate question here is what your larger goal here actually is? visionOS generally uses the same file access model as iOS, which means apps get access to files through one of two broad mechanisms: The files are added to one of the app’s container directories. There are many different APIs that use the broad flow, but the simplest case is having your app appear in File.app so that the user can directly add files. Basic access can be enabled by setting UIFileSharingEnabled and (possibly) LSSupportsOpeningDocumentsInPlace. The app uses an API like UIDocumentPickerViewController to allow the user to give their app access to specific files or directories. Finally, apps that are built around documents generally use the approach described in Building a document browser-based app, which actually provides a unified interface for both of the two app
Topic: Spatial Computing SubTopic: General Tags:
1w
Reply to Beginner’s question on learning philosophy.
Well, welcome. Most Apple documentation is a reference of API calls, generated from header files. It tells you how to spell them, what the parameters are, sometimes what those parameters mean, what OS versions you can use them in, and not much else. Learning from these resources is like trying to learn a natural language from a dictionary. Apple has some videos from WWDC presentations about new technologies, but these tend to assume familiarity with the language and the problem domain. In the olden days (maybe twenty years ago), I might have said get a book, but books are out of date the moment they are written. If you have access to an AI, I can recommend this approach. Prompt it with a program you have written in Python. Tell it that you are a Python programmer, and you are new to Swift, and that it should translate the program to Swift, and explain what it does and how the code compares to the Python implementation. Ask it to provide links to relevant documentation. Then read the explanat
1w
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.
1w
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. Developers enrolled in the Apple Developer Program as an individual or sole proprietor/single-person business do not meet the requirements for Enterprise APIs. To meet the requirements for Enterprise APIs, you need to be enrolled in the Apple Developer Program as an organization or enrolled in the Apple Developer Enterprise Program. 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.
1w
Reply to WhatsApp backed up data gets deleted with this step
We appreciate your interest in participating in the forums! These forums are for questions about developing software and accessories for Apple platforms. Your question seems related to a consumer feature and is better suited for the Apple Support Communities https://discussions.apple.com/welcome Or better yet, you should ask the developer's of WhatsApp app as they keep their own data. Hope this helps. Albert Pascual
  Worldwide Developer Relations.
1w
ARKit Eye Tracking Calibration Issues - Word-Level Reading Tracking Feasibility
Hi Apple Developer Community, I'm developing an eye-tracking application using ARKit's ARFaceTrackingConfiguration and ARFaceAnchor.blendShapes for gaze detection using Xcode. I'm experiencing several calibration and accuracy issues and would appreciate insights from the community. Current Implementation Using ARFaceAnchor.blendShapes (.eyeLookUpLeft, .eyeLookDownLeft, .eyeLookInLeft, .eyeLookOutLeft, etc.) Implementing custom sensitivity curves and smoothing algorithms Applying baseline correction and coordinate mapping Using quadratic regression for calibration point mapping Issues I'm Facing 1. Calibration Mismatch Red dot position doesn't align with where I'm actually looking Significant offset between intended gaze point and actual cursor position Calibration seems to drift or become inaccurate over time 2. Extreme Eye Movement Requirements Need to make exaggerated eye movements to reach screen edges/corners Natural eye movements don't translate to proportional cursor movement Difficulty reachin
0
0
626
1w
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
64
1w
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!
5
0
290
1w
DCError 2 "Failed to fetch App UUID" - App Attest not working in production or development
Hey everyone, I'm hitting a really frustrating issue with App Attest. My app was working perfectly with DCAppAttestService on October 12th, but starting October 13th it started failing with DCError Code 2 Failed to fetch App UUID at DCAppAttestController.m:153. The weird part is I didn't change any code - same implementation, same device, same everything. I've tried switching between development and production entitlement modes, re-registered my device in the Developer Portal, created fresh provisioning profiles with App Attest capability, and verified that my App ID has App Attest enabled. DCAppAttestService.isSupported returns true, so the device supports it. Has anyone else run into this? This is blocking my production launch and I'm not sure if it's something on my end or an Apple infrastructure issue.
0
0
286
1w
How do you run A/B tests for your iOS app icon in App Store Connect?
Apple’s documentation indicates that iOS now supports A/B testing for app icons, but I haven’t been able to get it working. My app already includes alternate icons within the same binary, yet when I try to set up an A/B test in App Store Connect, there’s no option to change the icon-only screenshots can be updated in a new treatment.
1
0
79
1w
Reply to xcrun altool picking the wrong bundle id
Apple responded to my feedback ticket, this is a known Xcode 26 CLI issue. The logic was changed that if a parameter is not supplied, and the bundle id prefix matches another app, it will simply upload to whichever one was updated most recently. It seems now you must supply --apple-id when using altool. This is not referring to the apple id email, but rather the unique numeric identifier for your app when you open app store connect -> distribution - > app information -> apple id This is SUPER confusing. Not sure why we can't use the bundle id parameter which already exists for altool, just being ignored in this context
1w