Search results for

dsym file

77,659 results found

Post

Replies

Boosts

Views

Activity

SKTestSession.setSimulatedError() not working for .loadProducts API in iOS 26.2
Description SKTestSession.setSimulatedError() does not throw the configured error when testing StoreKit with the .loadProducts API in iOS 26.2. The simulated error is ignored, and products load successfully instead. Environment iOS: 26.2 (Simulator) Xcode: 26.2 beta 2 (Build 17C5038g) macOS: 15.6.1 Framework: StoreKitTest Testing Framework: Swift Testing base project: https://developer.apple.com/documentation/StoreKit/implementing-a-store-in-your-app-using-the-storekit-api Expected Behavior After calling session.setSimulatedError(.generic(.notAvailableInStorefront), forAPI: .loadProducts), the subsequent call to Product.products(for:) should throw StoreKitError.notAvailableInStorefront. Actual Behavior The error is not thrown. Products load successfully as if setSimulatedError() was never called. Steps to Reproduce Create an SKTestSession with a StoreKit configuration file Call session.setSimulatedError(.generic(.notAvailableInStorefront), forAPI: .loadProducts) Call Product.products(for:) with a val
2
0
167
18h
Reply to Unexpected behavior when writing entities and loading realityFiles.
Hi @ericD_TRI and @SkimoBen Thanks for providing such a detailed question with reproducible code, that's very helpful. I was able to reproduce the issue you're experiencing. The problem appears to occur when deleting or overwriting a .reality file that's associated with an entity currently in the scene, which causes the Failed to load errors on subsequent loads. Workaround: Instead of reusing the same filename, create a unique file for each save operation. You can store the current filename in your appModel so the immersive view knows which file to load. For example: let filename = (UUID().uuidString).(type.preferredFilenameExtension ?? bin) //... try await entity.write(to: fileURL) appModel.activeFileURL = fileURL Finally, our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, reference this forum post, and post the FB number here once you do. Bug Reporting: How and Why?
1d
Unexpected behavior when writing entities and loading realityFiles.
I have a simple visionOS app that creates an Entity, writes it to the device, and then attempts to load it. However, when the entity file get overwritten, it affects the ability for the app to load it correctly. Here is my code for saving the entity. import SwiftUI import RealityKit import UniformTypeIdentifiers struct ContentView: View { var body: some View { VStack { ToggleImmersiveSpaceButton() Button(Save Entity) { Task { // if let entity = await buildEntityHierarchy(from: urdfPath) { let type = UTType.realityFile let filename = testing.(type.preferredFilenameExtension ?? bin) let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0] let fileURL = documentsURL.appendingPathComponent(filename) do { let mesh = MeshResource.generateBox(size: 1, cornerRadius: 0.05) let material = SimpleMaterial(color: .blue, isMetallic: true) let modelComponent = ModelComponent(mesh: mesh, materials: [material]) let entity = Entity() entity.components.set(modelComponent) print(Writi
2
0
295
1d
Reply to Fix text in accessory view
On second thought, considering that this works differently in UIKit then SwiftUI, I think its best we file a bug report and get to the bottom of this. Please file a bug report here and reply with the feedback number once complete, I'll make sure it winds up with the correct team. Thank you,  Travis Trotto - DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI
1d
Reply to Why doesn’t Transaction.updates emit reliably?
I have some information. I downloaded Xcode 26.3 Release Candidate (17C519) from the Apple Developer website. I used the VirtualBuddy app and installed macOS Tahoe 26.3. I then opened the Xcode project and configured the StoreKit Configuration file (synchronised with App Store Connect), setting the subscription renewal rate to Any Renewal Every 10 Seconds. I ran the app, made a subscription purchase and observed that my in-app purchase handling code successfully completed the transaction. I also logged Transaction.updates and Product.SubscriptionInfo.Status.updates and everything worked as expected. However, I do not wish to upgrade to macOS Tahoe just yet.
Topic: App & System Services SubTopic: StoreKit Tags:
1d
Why doesn’t Transaction.updates emit reliably?
I'm on macOS Sequoia Version 15.7.3 (24G419) and using Xcode Version 26.2 (17C52). In my Xcode project, Transaction.updates and Product.SubscriptionInfo.Status.updates don’t seem to emit updates reliably. The code below works consistently in a fresh Xcode project using a minimal setup with a local StoreKit Configuration file containing a single auto-renewable subscription. class InAppPurchaseManager { static let shared = InAppPurchaseManager() var transactionTask: Task? var subscriptionTask: Task? init() { print(Launched InAppPurchaseManager...) transactionTask = Task(priority: .background) { for await result in Transaction.updates { print(nReceived transaction update...) try? await result.payloadValue.finish() } } subscriptionTask = Task(priority: .background) { for await result in Product.SubscriptionInfo.Status.updates { print(nReceived subscription update...) print(state:, result.state.localizedDescription) } } } } I initialise it in: func applicationDidFinishLaunching(_ aNotification: Notificati
9
0
239
1d
Reply to When you set inputAccessoryView AND inputView you get unexpected system UI in between the two custom views
Hello lewis42, Thanks for your documentation of this issue. Could you possibly please open a bug report in Feedback Assistant? Please feel free to copy over the same documentation from here to the bug report, though we also very much appreciate focused sample apps that can directly replicate issues. Once you open the bug report, please post the FB number here for my reference. I'll make sure it gets to the relevant engineering team. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Thank you for your vigilance, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: UIKit Tags:
1d
Need a progress bar during init a document
I have no idea how to do it: on MacOS, in Document.init(configuration: ReadConfiguration) I decode file, and restore objects from data, which in some cases could take a long time. Document isn't fully inited, so I have no access to it. But would like to have a progress bar on screen (easier to wait for done, for now). I know size, progress value, but no idea how to make view from object during init. I know, this question may be very stupid. init(configuration: ReadConfiguration) throws { guard let data = configuration.file.regularFileContents else { throw CocoaError(.fileReadCorruptFile) } let decoder = JSONDecoder() let flat = try decoder.decode(FlatDoc.self, from: data) print (reverting (flat.objects.count) objects...) ///This takes time, a lot of time, need progress bar ///Total is `flat.objects.count`, current is `objects.count` /// `Show me a way to the (next) progress bar!` revertObjects(from: flat.objects) print (...done) } update: I defined var flatObjects in Document, and I can convert in .o
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1
0
147
1d
Reply to Xcode cloud
Thank you for your post. When Xcode crashes, it is advisable to file a bug report. Ensure that you are utilizing the latest version of Xcode. Updates to Xcode frequently incorporate bug fixes and enhancements to its integration with Xcode Cloud. Additionally, consider updating to the most recent stable release through the Mac App Store or the Developer Portal, as well as updating to the latest version of macOS. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
1d
Reply to Beta contract missing
The issue you described should be resolved now. Please upload another build in order to start testing again. If it is not, and you seeing the same error, please may I ask you to create a bug that can be assigned to the correct team? If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
1d
Reply to OnDemand VPN connection stuck in NO INTERNET
OK. In that case I don’t see any way to make this work )-: When you set an on-demand rule, connections that match that rule are held until the demand is satisfied. This makes sense when you think about the intended use case for on-demand rules, namely, a split VPN. Typically this pans out as follows: There’s a site that’s only available on the organisation’s intranet. The device manager deploys an on-demand VPN configuration to access that intranet. The user runs an app that connects to that site. The system treats that as demand and starts the VPN connection. And holds the app’s connection until the VPN connection is established. Once that’s done, it releases the app’s connection, which then connects to the site over the VPN. This yields an obvious chicken’n’problem when the VPN provider relies on a connection that also matches the on-demand rule. The system can avoid this problems if the provider does it directly, from within its own process. This is the same sort of logic that NECP uses to avoid VPN loops.
2d
Reply to URL Filter Network Extension
[quote='876592022, Pushpak-Ambadkar123, /thread/815498?answerId=876592022#876592022, /profile/Pushpak-Ambadkar123'] how we can achieve same in case of NEURLFilterManager [/quote] This is just a special case of my previous answer: There are no configuration options like this with URL filter. If you’d like to see us add something for this, you should file an enhancement request explaining your requirements. Oh, one further point here. With URL filter it’s possible for third-party apps to opt in to filtering via the NEURLFilter type. What they do in the .deny case is up to them. You could imagine an extension to that API that returns the reason for the denial — so they could add that to their own custom UI — but that does present some privacy concerns. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Reply to Possible 26.2 memory leak regression in Network, when multiple NEXT active
[quote='876583022, TChrist, /thread/813973?answerId=876583022#876583022, /profile/TChrist'] the Memory utilization increased again. [/quote] Bummer. But my previous advice still holds: If you continue to have problems with this on 26.4b1, it’s best to file a new bug with the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Reply to Checksum of an ipa file
[quote='816041021, LCTech, /thread/816041, /profile/LCTech'] if i extract the ipa file and compare the checksum will it match? [/quote] This question doesn’t make sense because a .ipa is only used to upload your app to the App Store. It has no presence on the device itself. But regarding the big picture question about checking app integrity, see my reply here. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d