Search results for

file uri scheme

78,591 results found

Post

Replies

Boosts

Views

Activity

Canvas Preview: Cannot preview in this file
Hi, I want to follow the SwiftUI tutorials from Apple Developer. After creating the “Landmarks” app and clicking on ContentView, the preview shows: Cannot preview in this file Failed to launch net.bayerthomas.Landmarks with the Diagnostics: == PREVIEW UPDATE ERROR: FailedToLaunchAppError: Failed to launch net.bayerthomas.Landmarks ================================== | [Remote] JITError | | ================================== | | | [Remote] CouldNotLoadInputObjectFile: Could not load object file during preview: /Users/thomas/Library/Developer/Xcode/DerivedData/Landmarks-gpfsfizlhntsahandeumxmhwbjfj/Build/Intermediates.noindex/Landmarks.build/Debug-iphonesimulator/Landmarks.build/Objects-normal/arm64/ContentView.1.preview-thunk-launch.o | | | | path: /Users/thomas/Library/Developer/Xcode/DerivedData/Landmarks-gpfsfizlhntsahandeumxmhwbjfj/Build/Intermediates.noindex/Landmarks.build/Debug-iphonesimulator/Landmarks.build/Objects-normal/arm64/ContentView.1.preview-thunk-launch.o | | | | ============
Topic: UI Frameworks SubTopic: SwiftUI
2
0
119
3w
Reply to Canvas Preview: Cannot preview in this file
On my Mac mini M4 Pro, I’ve installed macOS Tahoe 26.0 and Xcode 26.0.1. The error message still appears, even when testing with the iPhone 17 Pro and iPad Pro 11-inch M4 simulators. The FB numer is: FB20362054 == PREVIEW UPDATE ERROR: GroupRecordingError Error encountered during update group #19 ================================== | FailedToLaunchAppError: Failed to launch net.thomasbayer.ChatPrototype | | ================================== | | | [Remote] JITError | | | | ================================== | | | | | [Remote] CouldNotLoadInputObjectFile: Could not load object file during preview: /Users/thomas/Library/Developer/Xcode/DerivedData/ChatPrototype-ebbbmisjgapzykawaadxudtxyjmg/Build/Intermediates.noindex/ChatPrototype.build/Debug-iphonesimulator/ChatPrototype.build/Objects-normal/arm64/ChatPrototypeApp.o | | | | | | path: /Users/thomas/Library/Developer/Xcode/DerivedData/ChatPrototype-ebbbmisjgapzykawaadxudtxyjmg/Build/Intermediates.noindex/ChatPrototype.build/Debug-iphonesimulator/ChatProt
Topic: UI Frameworks SubTopic: SwiftUI
3w
Reply to Blocking USB Devices on macOS – DriverKit or Other Recommended Approach
So, my first suggestion here is that you get I/O Registry Explorer from our Additional Tools for Xcode download so you can actually see what's going on. The same information in text from is in the sysdiagnose (that's how I know what happened), but in my experience, I/O Registry Explorer makes the data much easier to understand. For reference, you'll almost always want to look at the IOService plane (the default), and you change planes using the pop-up button in the top left. Also, over time, registry activity has increased to the point where the app can laggy or have other interface glitches. For general exploration, you can avoid those issues by saving the ioreg file, then opening the file again so you're working with static data. Moving to the specific issue: We have test ES_EVENT_TYPE_AUTH_IOKIT_OPEN on 26, and it does not block anything. We report the same issue in FB19420236. I can see AUTH requests coming from system stats and airportd processes, I can deny them, yet when I plug a keyb
Topic: App & System Services SubTopic: Drivers Tags:
3w
joblinkapp's registerview mistake
I am working on a SwiftUI project using Core Data. I have an entity called AppleUser in my data model, with the following attributes: id (UUID), name (String), email (String), password (String), and createdAt (Date). All attributes are non-optional. I created the corresponding Core Data class files (AppleUser+CoreDataClass.swift and AppleUser+CoreDataProperties.swift) using Xcode’s automatic generation. I also have a PersistenceController that initializes the NSPersistentContainer with the model name JobLinkModel. When I try to save a new AppleUser object using: let user = AppleUser(context: viewContext) user.id = UUID() user.name = User1 user.email = ... user.password = password1 user.createdAt = Date()【The email is correctly formatted, but it has been replaced with “…” for privacy reasons】 try? viewContext.save() I get the following error in the console:Core Data save failed: Foundation._GenericObjCError.nilError, [:] User snapshot: [id: ..., name: User1, email: ..., password: ..., createdAt: ...]
3
0
98
3w
Reply to joblinkapp's registerview mistake
Is the project you provided at the github link a minimal project containing only the code that demonstrates the issue? I see some swift files there that don't seem to be relevant. Also, I don't see the steps to reproduce the issue. Again, if you don't mind to provide a minimal project with detailed steps, I may be able to take a closer look. Best, —— Ziqiao Chen  Worldwide Developer Relations.
3w
Reply to Too many mach ports?
There were .diag files in the sysdiagnose, which showed the crash message. The other one I was looking at, which was closer to 100k, had been alive for 40 seconds, based on top.txt. The second sysdiagnose might actually be your best data point. Leaking at the kind of rate requires your app to have been doing something quite frequently, and if it was running when the sysdiagnose was captured, there's a good chance the spintrace captured it. Open the sysdiagnose and look for the file named spindump-nosymbols.txt. If you're not familiar with the format, inside you'll find a long list of entries which look something like this (this is from an iOS, but the format is the same): Process: com.apple.WebKit.WebContent (WebContentExtension) [755] UUID: D36E12E9-BE53-345F-BA95-69ABE5388F5C Path: /private/preboot/Cryptexes/OS/System/Library/ExtensionKit/Extensions/WebContentExtension.appex/com.apple.WebKit.WebContent Identifier: com.apple.WebKit.WebContent ... Memory Limit: 1536MB Jetsam Priority: 100 Fo
3w
App Crashes on Paper Selection After Background Printer Connection
Description: 1. When initiating the print flow via UIPrintInteractionController, and no printer is initially connected, iOS displays all possible paper sizes in the paper selection UI. However, if a printer connects in the background after this view is shown, the list of paper sizes does not automatically refresh to reflect only the options supported by the connected printer. 2. If the user selects an incompatible paper size (one not supported by the printer that has just connected), the app crashes due to an invalid configuration. Steps to Reproduce: Launch the app and navigate to the print functionality. Tap the Print button to invoke UIPrintInteractionController. At this point, no printer is yet connected. iOS displays all available paper sizes. While the paper selection UI is visible, the AirPrint-compatible printer connects in the background. Without dismissing the controller, the user selects a paper size (e.g., one that is not supported by the printer). The app crashes. Expected Result: App should not
2
0
108
3w
StoreKit error while testing
Hello, I'm receiving error StoreKit: Failed to get response from platform. I have user in SandBox, that user is logged on physical device, I have correct bundleID. Product is Approved I tested via StoreKit configuration file and that worked just fine. also tried to build app and push to test flight, this way same error. Any recommendations what I can check ? Thanks
3
0
255
3w
Reply to GestureComponent bug on visionOS
Hi @Tinn_Vision Can you try setting the minimumDistance of your DragGesture to a small value, as suggested here: let component = GestureComponent(DragGesture(minimumDistance: 0.001)) As mentioned in that thread, DragGesture is defaulting to a minimumDistance of 10 meters in this use case which makes it difficult to trigger. Please consider filing feedback requesting better default values for DragGesture when used with GestureComponent: https://feedbackassistant.apple.com Thanks!
Topic: Spatial Computing SubTopic: General Tags:
3w
Reply to App ID Configuration - Capabilities state inconsistency
Howdy, The payment processing certificate is needed, can you confirm you have a payment processing certificate? If Stripe is decrypting the paymentData for you, they will provide a CSR file to generate the certificate. Do you have web integration as well, I see the domains checked off - is this app and web? If web, what happens if from the top level domain you use the java console and window.applepaysession.canMakePaymentsWithActiveCard('yourMerchantIdHere')
3w