Posts

Post not yet marked as solved
1 Replies
659 Views
Hi, my company experiencing anomaly spike request that coming from iOS platform in the midnight, the request is coming from the first View controller when opening the app. This anomaly doesn't have any pattern, and we are doing some experiment that the developer will not open the app on the midnight (11PM - 6AM JKT time/GMT+7), but when the anomaly happen, I can see the log that their account was requesting the data to our backend service. One of my hunch is Push notification arrive [does this triggering the didFinishLaunchingWithOptions?], and why this only happen on midnight, my app sent push notification regularly and clearly not in the midnight time. Is there any other circumstances that iOS launch the application? Thanks in advance.
Posted Last updated
.
Post marked as solved
4 Replies
1k 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
891 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
.