Search results for

file uri scheme

78,573 results found

Post

Replies

Boosts

Views

Activity

Reply to CardSession.Error.maxSessionDurationReached not thrown on iOS 26
We would like a bug report about this to understand why your app is crashing. First, please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for CoreNFC and SEC Frameworks for iOS to install a logging profile on your device. Once that is installed, then reproduce the issue. Once reproduced, then follow the instructions at the above link to create a sysdiagnose Please file a Feedback report with the full description and details on what you are seeing not working. Attach the sysdiagnose and the crash logs you are receiving after symbolicating them. You can read Adding identifiable symbol names to a crash report to learn how to symbolicate a crash log. Once done, please respond here with the Feedback ID so we can start investigating. Argun Tekant /  WWDR Engineering / Core Technologies
Topic: App & System Services SubTopic: General Tags:
3w
iphone17 Core Bluetooth Background Execution Modes
Hello. Is there a solution to the issue where Core Bluetooth does not run in the background on the iPhone17? https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html The bluetooth-central Background Execution Mode When an app that implements the central role includes the UIBackgroundModes key with the bluetooth-central value in its Info.plist file, the Core Bluetooth framework allows your app to run in the background to perform certain Bluetooth-related tasks. While your app is in the background you can still discover and connect to peripherals, and explore and interact with peripheral data. In addition, the system wakes up your app when any of the CBCentralManagerDelegate or CBPeripheralDelegate delegate methods are invoked, allowing your app to handle important central role events, such as when a connection is established or torn down, when a periphe
1
0
69
3w
XCode reverts CoreData's .xccurrentversion
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
15
0
251
3w
Reply to iPhone17 bluetooth background scanning issue
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:
3w
Reply to Iphone17 background ble scan issue
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:
3w
Reply to iOS 26 Empty Stack Crash
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
3w
Using ARKit Replay hangs forever on "Attaching to App"...
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.
4
0
351
3w
Reply to Undefined symbol
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:
3w
Anchor an Reality scene on an image anchor
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)) } } } }
3
0
1.2k
3w
VisionOS 2.0 Main Camera Access Enterprise Entitlement Not Recognized in XCode
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.
6
0
1.5k
3w
Code coverage. SwiftUI Wrong Executable Lines
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.
1
0
798
3w