appspector/flutter-plugin

In iOS build flutter logs are not printing

Opened this issue · 21 comments

Hi, In iOS build the print statements of is not logging in AppSpector console, only native print statements are logging. When i am running app directly from XCode it's working fine but from build it's not(Tried with both debug and release build). Thanks

Hi @jigarpatel17, thanks for reporting this. We'll take a look, looks like flutter/SDK interconnection issue. Could you please tell what iOS/Flutter versions are you on?

Thanks @deszip for quick response
AppSpector:- 0.0.9 and XCode:- 11.1

@deszip Any update?

Yep, we found the root cause, fixed it, still requires a bit of testing. Hopefully will be in master by the end of the day.

@deszip Any update when it will be in master branch?

Actually it's already there, we need some more testing and will push plugin to Flutter repo after that.
I'll tag you here when it'll be ready. Thanks for your patience.

@jigarpatel17 plugin v 0.1.0 published. It contains fix for the logging issue. Would be great if you can verify it works in your case.

@deszip I updated version to 0.1.0 and also update pod file but still it's not working

I'll keep looking into this, thanks. Would be great if you could show example code you use for logging, and explain what do you mean by 'from build'?. That's when you run flutter run?

what do you mean by 'from build'?. That's when you run flutter run?

@deszip Generated diawi link from ipa file(In debug and also tried in release).

Working on this, will keep you updated.

@deszip I have to publish my app. Can you fix it as soon as possible?

Trying to do our best, looks like this issue is somehow connected with diawi. Would be great if you can check if logging works when you install ipa via TestFlight.

Sorry for inconvenience, we'll raise priority of this issue and will ping you when we'll make progress.

Hi @jigarpatel17 Where do you want to publish it?

Trying to do our best, looks like this issue is somehow connected with diawi. Would be great if you can check if logging works when you install ipa via TestFlight. Sorry for inconvenience, we'll raise priority of this issue and will ping you when we'll make progress.

@deszip I don't think it's related to diwai because i am using firebase app distribution.

Are you sure you are not on a release build? SDK disables itself when detects release environment.

I also got this issue with debug build

Any update on this?

Unfortunately still nothing, would be great if you can build a minimal test project to demonstrate logs issue. We were unable to reproduce it on our builds.

Same here, logs does not work with firebase distribution build