flutter-plugin icon indicating copy to clipboard operation
flutter-plugin copied to clipboard

In iOS build flutter logs are not printing

Open jigarpatel17 opened this issue 6 years ago • 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

jigarpatel17 avatar Dec 16 '19 07:12 jigarpatel17

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?

deszip avatar Dec 16 '19 09:12 deszip

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

jigarpatel17 avatar Dec 17 '19 05:12 jigarpatel17

@deszip Any update?

jigarpatel17 avatar Dec 20 '19 07:12 jigarpatel17

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 avatar Dec 20 '19 08:12 deszip

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

jigarpatel17 avatar Dec 24 '19 13:12 jigarpatel17

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.

deszip avatar Dec 24 '19 14:12 deszip

@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 avatar Dec 24 '19 21:12 deszip

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

jigarpatel17 avatar Dec 27 '19 07:12 jigarpatel17

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?

deszip avatar Dec 27 '19 11:12 deszip

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).

jigarpatel17 avatar Dec 30 '19 04:12 jigarpatel17

Working on this, will keep you updated.

deszip avatar Jan 03 '20 07:01 deszip

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

jigarpatel17 avatar Jan 27 '20 06:01 jigarpatel17

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 avatar Jan 27 '20 07:01 deszip

Hi @jigarpatel17 Where do you want to publish it?

sergeyzenchenko avatar Jan 27 '20 08:01 sergeyzenchenko

@sergeyzenchenko In app store

jigarpatel17 avatar Jan 27 '20 11:01 jigarpatel17

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.

jigarpatel17 avatar Jan 27 '20 11:01 jigarpatel17

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

deszip avatar Feb 09 '20 11:02 deszip

I also got this issue with debug build

nobimac7449 avatar Apr 01 '20 12:04 nobimac7449

Any update on this?

marcscherer avatar Aug 25 '20 14:08 marcscherer

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.

deszip avatar Aug 26 '20 16:08 deszip

Same here, logs does not work with firebase distribution build

tomas-carv-com avatar Mar 18 '23 23:03 tomas-carv-com