I am experiencing an issue where XCode reverts .xccurrentversion file in my iOS app to the first version whenever xcodebuild is run or whenever XCode is started. This means I can build the app and run tests in XCode if I discard the reversion .xccurrentversion on XCode start. However, testing on CI is impossible because the version the tests rely on are reverted whenever xcodebuild is run. The commands I run to reproduce the issue ❯ git status Changes not staged for commit: (use git add ... to update what will be committed) (use git restore ... to discard changes in working directory) modified: Path/.xccurrentversion no changes added to commit (use git add and/or git commit -a) ❯ git checkout Path/.xccurrentversion Updated 1 path from the index ❯ git status nothing to commit, working tree clean ❯ xcodebuild -scheme Scheme -configuration Configuration -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest' -skipPackagePluginValidation -skipMacroV
Search results for
file uri scheme
78,585 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
This is something we will need some diagnostics to investigate. Anyone who is seeing this issue, please file bug reports as below: Please file a Bug Report on this In your bug report we would need some diagnostics logs as well. Please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Bluetooth for iOS to install a logging profile on your device. Then reproduce the issue, and follow the instructions at the above link to create a sysdiagnose. And attach that to the bug report as well. If you have separate sniffer logs that shows the interaction, also do include those. We would also like to know the peripheral devices you are seeing this issue with. Make/Model and if you know, the BT chipset details (HW/FW versions and manufacturer) would be helpful to track this down. Once done, please share the Feedback ID here, and @mention me in your response so we can take a look at this right away. Argun Tekant / WWDR Engineering / Core Technologies
Topic:
App & System Services
SubTopic:
Core OS
Tags:
This is something we will need some diagnostics to investigate. Please file a Bug Report on this In your bug report we would need some diagnostics logs as well. Please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Bluetooth for iOS to install a logging profile on your device. Then reproduce the issue, and follow the instructions at the above link to create a sysdiagnose. And attach that to the bug report as well. If you have separate sniffer logs that shows the interaction, also do include those. We would also like to know the peripheral devices you are seeing this issue with. Make/Model and if you know, the BT chipset details (HW/FW versions and manufacturer) would be helpful to track this down. Once done, please share the Feedback ID here, and @mention me in your response so we can take a look at this right away. Argun Tekant / WWDR Engineering / Core Technologies
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have filed this as a feedback: FB20372585
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Thanks for the latest crash report. [quote='859403022, xc4ll0c, /thread/801254?answerId=859403022#859403022, /profile/xc4ll0c'] Perhaps the information in the order file is causing abnormal function addresses in GoogleMobileAds? [/quote] Sure. But that doesn’t tell us whether it’s a problem with your code, a problem with the code in that SDK, or a problem with our tooling. [quote='859403022, xc4ll0c, /thread/801254?answerId=859403022#859403022, /profile/xc4ll0c'] The crash happens when we attempt to load ads from GoogleMobileAds. [/quote] OK. Does it crash synchronously? That is, in the debugger, when you step over the call into that SDK does it crash before the thread returns? Or is it able to return from the call and then the crash happens later on? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
General
Hello, I'm trying to use Xcode's ARKit Session replay functionality. I have a capture I made using Reality Composer and when trying to use it with Xcode's replay functionality the installation and debugging process seems stalled forever. I've gotten it to work once so I know the capture file is functional but I have never gotten it to work a second time, even though I didn't change any settings. No amount of restarting Xcode, the Mac, or the iPhone seem to work. I have also tried cleaning build folders, reinstalling the app, and clearing DerivedData. I can confirm from the Xcode logs that the app installs correctly but the app never launches. If I unselect the checkbox for ARKit Replay Data, the app launches and debugs nearly instantly. I have tried letting it attach for up to 10 minutes to no avail.
Historically I’ve seen errors like this when different parts of your Mach-O image — so object (.o) files or static libraries (.a) — are build with different tools or different deployment targets. Make sure that: You’ve rebuilt everything with Xcode 26. Your deployment targets are consistent. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Developing a prototype Vision Pro app and would like to render a 3D scene made from Reality Composer Pro on an image anchor in a RealityView. But I have no luck so far to make it work and need some guidance to move on. I got the image file stored in the assets like below: And from below is the source codes: import SwiftUI import RealityKit import RealityKitContent struct AnchorView: View { @State var imageEntity: Entity = { let anchorEntity = AnchorEntity(.image(group: AR Resources, name: reanchor)) return anchorEntity }() var body: some View { RealityView { content in do { // Add the initial RealityKit content if let scene = try? await Entity(named: Scene, in: realityKitContentBundle) { imageEntity.addChild(scene) content.add(imageEntity) } } catch { print(Error occurs when adding reality view content: (error)) } } } }
I am working on a project that requires access to the main camera on the Vision Pro. My main account holder applied for the necessary enterprise entitlement and we were approved and received the Enterprise.license file by email. I have added the Enterprise.license file to my project, and manually added the com.apple.developer.arkit.main-camera-access.allow entitlement to the entitlement file and set it to true since it was not available in the list when I tried to use the + Capability button in the Signing & Capabilites tab. I am getting an error: Provisioning profile iOS Team Provisioning Profile: doesn't include the com.apple.developer.arkit.main-camera-access.allow entitlement. I have checked the provisioning profile settings online, and there is no manual option for adding the main camera access entitlement, and it does not seem to be getting the approval from the license.
Thank you very much for your prompt response and guidance regarding this critical issue. I have successfully filed the bug report through Feedback Assistant as requested: Feedback ID: FB12345678 Thank you again for your professional assistance and for escalating this to the appropriate team.
Topic:
UI Frameworks
SubTopic:
UIKit
Hi community: I noticed that each closure is counted as lines in code coverage (unit tests) (Xcode 14.1.0) in a swiftUI File. I mean, If you coded and VStack that involves another HStack, and HStack contains 4 lines, and the VStack contains 6 lines counting the HStack. The total executable lines should be 6 (6 lines in the file). But Xcode count 10, counting twice the HStack lines. Is it a bug, or is it correct? You know, I don't know if Apple has another concept about executable lines. Also, Is it possible to remove previews with any configuration from code coverage or constant files? Thanks for all.
create a sample XCode project using Objective-C and stroybook (xib) using latest XCode beta open MainMenu.xib, and select Main Menu → File → Print... remove the image like below 4. build it 5. run it on macOS 26 beta 7 6. The menu item print.. still have Image Is there any way to remove image for one menu item. I have also tried NSMenuItem.image = nil, but still not work. The issue I met on my own app is that I cannot remove icons for Zoom In, Zoom Out and many other menu items, which makes the menu items not aligned properly.
The WWDC25 video and notes titled “Learn About Apple Immersive Video Technologies” introduced the Apple Spatial Audio Format (ASAF) and codec (APAC). However, despite references throughout on using immersive video, there is scant information on ASAF/APAC (including no code examples and no framework references), and I’ve found no documentation in Apple’s APIs/Frameworks about its implementation and use months on. I want to leverage ambisonic audio in my app. I don’t want to write a custom AU if APAC will be opened up to developers. If you read the notes below along with the iPhone 17 advertising (“Video is captured with Spatial Audio for immersive listening”), it sounds like this is very much a live feature in iOS26. Anyone know the state of play? I’m across how the PHASE engine works, which is unrelated to what I’m asking about here. Original quote from video referenced above: “ASAF enables truly externalized audio experiences by ensuring acoustic cues are used to render the audio. It’s composed of new metada
Topic:
Spatial Computing
SubTopic:
General
Hi, Following the advice I received here, I switched to using NSStagedMigrationManager instead of trying to drive a custom NSMappingModel entirely in code. I now have a staged migration pipeline with two stages: • Stage 1 (V1 → V2): a lightweight migration. • Stage 2 (V2 → V3): a custom migration where I re-archive a Transformable attribute (object) from a legacy ValueTransformer to a safe binary format (GraphArchiver). Both models are built entirely at runtime (no .xcdatamodeld files). Each model has a unique versionChecksum string (hardcoded identifiers: GraphCK_MigrationV1, GraphCK_MigrationV2, GraphCK_MigrationV3). When I run the staged migration manager with these two stages, I consistently hit this exception: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Duplicate version checksums across stages detected.' Debug logging shows: Stage1 checksums: [GraphCK_MigrationV1, GraphCK_MigrationV2] Stage2 checksums: [GraphCK_MigrationV2, GraphCK_MigrationV3] So the id
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
Hello - Please file a Feedback Assistant ticket at https://feedbackassistant.apple.com/ and include the following: App name and app ID Product ID(s) Transaction ID(s) How you received the separate pieces of info with distinct SignedDate values? App Store Server Notification, App Store Server API response, StoreKit directly in-app, etc.? If App Store Server Notifications, and you have the complete decoded payloads for transactions in questions, please include those in the Feedback ticket as well. For more information about Feedback Assistant, please visit https://developer.apple.com/bug-reporting/. Once you have filed the Feedback Assistant ticket, please reply to this Developer Forums thread with the Feedback Assistant ID (e.g. FB########) and/or link (e.g. https://feedbackassistant.apple.com/feedback/########), and our teams will take a look. Thank you.
Topic:
App & System Services
SubTopic:
Tap to Pay on iPhone
Tags: