-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete console output when debugging MAUI app on iOS device #21180
Comments
A note on the severity of this issue: For us, having the full console output just on Simulator breaks MAUI development. We need to have reliable console output on devices, specifically iOS, in order to test device specific stuff such as IDFA constent and purchase related stuff. |
This is due to the fact that last year (in iOS 17 / Xcode 15), Apple completely rewrote their libraries to interact with devices, and in the process didn't leave us any way to capture stdout/stderr from the process on device. The good news is that they've fixed this for iOS 18 / Xcode 16, so once we've released .NET 9 (with support for iOS 18) this will work. |
@rolfbjarne Is there any way to backport this to the current stable? |
No, because you also need to update to iOS 18 on your device and use Xcode 16. You can view the output in the Console app though: https://support.apple.com/en-in/guide/console/cnsl1012/mac |
@rolfbjarne Thank you for your assistance! |
@rolfbjarne An additional finding: On initial deployment to a device, there seems to be no output at all (no loggers, no stdout, nothing in console). This makes me believe that this issue might be related to #21186 |
Closing since this will be fixed once we release Xcode 16 support. In the end I discovered that it won't be necessary to upgrade any device, as long as you're using Xcode 16, it'll still work for devices with only iOS 17 installed. |
Apple platform
iOS
Framework version
net8.0-*
Affected platform version
8.0.401
Description
After installing
AppsFlyerXamarinBinding
, no console output is shown when debugging on device, but shown in simulator.Important notes:
Steps to Reproduce
Repository with reproduction
https://github.com/thisisthekap/mauiiosloggingissue
Repro Steps
dotnet new maui
dotnet add package AppsFlyerXamarinBinding
[AppsFlyerSDK] [com.appsflyer.serial] [START] Initial start of the application
is shown on the debug console[AppsFlyerSDK] [com.appsflyer.serial] [START] Initial start of the application
is shown on the debug consoleDid you find any workaround?
No response
Relevant logs
No response
The text was updated successfully, but these errors were encountered: