Post

Replies

Boosts

Views

Activity

Reply to NSarray crashes with different exceptions from the same place
@DTS Engineer Just to clarify: This code is part of our SDK and the SDK is running in hosting app. We already have tried all possible Instruments and didn't see any clue to the problem, please suggest if you have any specific configuration u want us to try The crash happens only for that customer We have submitted a TSI (in addition to current TSI) a year a go and nothing really came out of it Currently we need a solution. I know that's kinda a crash that hard to see (that's why we applied for your help). We attached several crashes with different exception type to provide better picture. With that to say, is there some proper way to recover from those kind of crashes. like try/catch for signals?
Jun ’24
Reply to Error with Download Container on iPadOS17 and Xcode15
Same here Xcode 15.2 iOS 17.4 Performing a file system operation failed: Failed to open Library/WebKit/WebsiteData/IndexedDB/v0 for reading, openat(2) returned POSIX error code 62 (parentParam = 142) Domain: com.apple.dt.remoteservices.error Code: 11001 Failed to open Library/WebKit/WebsiteData/IndexedDB/v0 for reading, openat(2) returned POSIX error code 62 (parentParam = 142)
Apr ’24
Reply to _swift_release_dealloc Crash
not sure how that suppose to help even if create a link map that will be only for the SDK. the SDK is getting the input from the hosting app in that case its some swiftui object. How a link map of the SDK should help me in that case. I manage to catch the crash on Xcode while debugging why Xcode cant just translate that memory to an object? I mean I can understand why it cant do for the hosting app (the code already compiled and no debug info etc) BUT one of the frames has a deallocated swiftui object why we cant inspect that one? ()
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to _swift_release_dealloc Crash
Any suggestion of how I can map it to a type, I have tried to play with sanitizer tools like zombies etc to see if I get the exact type/object of what causing the error but its still show a memory address. any suggestion of what we can try on our end. (In general I know the place where it happens but I cant tell what exactly cause the issue). I tried to recreate apple dump method (on view controller) and building a minimal tree of all the elements of course there are some internal iOS elements. After creating the tree its get released. The crash doesnt directly happens in my code but rather when view controller get dismissed by user. Any suggestion of how it can be debugged further?
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’24
Reply to Task <***>.<3> request https://URL is NOT allowed to set HSTS for main doc (null)
Hi Sorry, I wanted to see if by using proxy we will see the same behavior. So I manage to reproduce it on simulator, without proxy (BUT there is no crash as customer claims) I just see logs of the following: Task <D8BF79FA-F57A-47D8-B491-5A008B69318A>.<2> request https://URL is NOT allowed to set HSTS for main doc (null) Ignoring alt-svc clear Task <D8BF79FA-F57A-47D8-B491-5A008B69318A>.<2> response ended Task <D8BF79FA-F57A-47D8-B491-5A008B69318A>.<2> finished successfully but the request was successful? so should we ignore that log?
Topic: App & System Services SubTopic: General Tags:
Feb ’24
Reply to Task <***>.<3> request https://URL is NOT allowed to set HSTS for main doc (null)
Hi Sorry for late response: I’d like to clarify the relationships here. It seems that you’re building an SDK, and one your SDKs clients is reporting this error. Is that right? Correct We use NSUrlSession Yes we have tried on simulator (wifi connection) but not on real one Vision Pro as we dont have one. We have asked our customer about the network
Topic: App & System Services SubTopic: General Tags:
Feb ’24
Reply to How ordering of Unit Tests in Xcode works? My tests fail because of the ordering and dependencies
I dont agree that in all cases the problem are the tests. For Instance we use OCmock and create partial mocks for objects. and that's cause us a lot of issues when different tests mocking/using the same objects simultaneously. When u have a multiple developers trying to test same region, there is good chance of race conditions between the tests accessing same area of code/ resources what what won't really happen in simple user flow
Aug ’23