Posts

Post marked as solved
4 Replies
301 Views
I've encountered strange crash while using SecKeyCreateRandomKey on iOS 13.4 and 13.5 simulators. I've used that to generate a private key that will stored in Secure Enclave. I think the crash happen on this attribute (needed to store the key to the Secure Enclave). kSecAttrTokenID as String: kSecAttrTokenIDSecureEnclave, I've tried enabling Swift Error Breakpoint, Exception Breakpoint, Symbolic Breakpoint, activating address sanitizer and zombie objects but I don't still get any useful information. This is the repo to reproduce the crash (Make sure you choose iOS 13 simulators) https://github.com/jeffersonsetiawan/SecureEnclaveCrash/ Thank you.
Posted Last updated
.
Post not yet marked as solved
0 Replies
337 Views
Hi, I found problem when my app run UITests using Xcode 12 beta 12A6159. It always give this error Failed to get matching snapshot: Error getting main window kAXErrorAPIDisabled I tried to po app.otherElements or app.collectionViews but always give me empty result. Here is my code snippet: let app = XCUIApplication() app.launch() let homeCollection = app.collectionViews.firstMatch homeCollection.waitForExistence(timeout: 10) measure(metrics: [XCTOSSignpostMetric.scrollDecelerationMetric]) { homeCollection.swipeUp(velocity: .fast) }
Posted Last updated
.