Hi,I have an iOS application. For logging I'm using the unified logging system but I found that when I run a UI tests the logs (from the application) are not presented in the Xcode's console (I can see them in the Console app). The log leve are "debug", "error". Some of the logs are form a framework.Do I have to do sth to see all os_log messages in the Xcode's console durring the UI tests? Is it even possible?The Console app is not so easy when tests are execited in parallel.I have tried:sudo log config --mode "level:info" --subsystem com.example.yourappwith the "info" and "debug"and:xcrun simctl spawn booted log stream --debug --predicate 'subsystem == "com.example.yourapp"'but this gives me an error: No devices are booted.Thanks.
Post
Replies
Boosts
Views
Activity
Is there a way to have a IPC between an App and the UITestRunner app?I've tried to enable the AppGroup for UITest but without luck 😟.
Is it possible to create automated tests for Sign in with Apple?
We would like to write an e2e tests for different cases.
Sign in with Apple required device/simulator to be connected with Apple Id, which requires 2fa. Is there some API in the XCTest framework to mock this?
Hi,
We are using Firebase Crashlytics to collect crashes from our app. Firebase Crashlytics says that the dSYM is missing to process crashes for the recent two versions of our app. We have recently not changed anything in our app distribution process (it is based on CI/CD). For the non-product change, we moved one of our internal frameworks to be managed by SPM (previously Carthage).
In build settings, we have set :
Debug information format: DWARF with dSYM Files
Enable bitcode: Yes
Because of the latter, we manually download all dSYMs from the AppStoreConnect page and upload them to the Firebase Crashlytics for each new version.
I've double-checked the UUID's and the one mentioned by Firebase is missing in the downloaded (from the AppStoreConnect) zip file. The zip file contains dSYM for our app but with a different UUID.
Is there anything I can do to verify that generated dSYMs have the correct UUID?
Not sure if this is related, but when I try to download crashes via Xcode Organiser, I got an error:
Unable to download crash information.
An error occurred preventing Xcode from downloading updated crash information. The value “2021-07-27T00:00:00Z” is invalid. Please try again later.