[iOS] possible console bug

panagiotis m merakosp at gmail.com
Wed Jul 28 09:19:38 EDT 2021


Hello Andre,

It works as expected for me.

MacOS Mojave
Xcode 11.3
iOS 13.3 Simulator

In the simulator go to Debug -> Open System Log
This opens the Console app
In the Console window, in the left hand side, you should see the name of
the simulator (e.g. "iPhone 8"). Click on it.
There will be a lot of logs, so I suggest to filter the output by the
standalone name (e.g. type the standalone name, as it appears in the
General tab of the S/B in the top right Search box of the Console window)

I have a button that does "put the milliseconds && "==================="
and I can see the expected output in the console logs every time I press
the button in the simulator.

Cheers,
Panos
--

On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I’m just bumping this thread because I haven’t been able to see any log
> information when using the Simulator.
>
> Can more people confirm this? Is this a bug, and if so who owns that bug
> LC or Apple?
>
> It becomes really hard to debug a mobile application when you can’t see
> logs on the Simulator.
>
> I made a recipe stack here, but I want to be sure before I fill a bug
> report.
>
> Best
> A
>
> > On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Andre,
> >
> > tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
> Took me some time to download Xcode.
> >
> > i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
> iPhone 12 iOS 14.6) and was able to see the output in the Console log
> pressing the 'open console' button in Xcode's 'Devices and Simulators'
> (shift CMD 2)
> >
> > I selected my device in that tool and pressed 'open console'. I had the
> 'Now' mode activated and filtered for my output. I could see the output.
> >
> > But i still do not see it when using the simulator.
> >
> > Regards,
> > Matthias
> >
> >
> >
> >> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
> use-livecode at lists.runrev.com>:
> >>
> >>
> >>
> >>> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >>>
> >>> If you run the app on a real iOS device, do you see your log messages
> in the device log for it? Could it be Apple are now funneling simulator
> logs into a pane in Xcode - like they do for devices, rather than have them
> go to the macOS system log?
> >>
> >> Running the app on a real device doesn’t show the log either.
> >>
> >> The organiser window of XCode has a specific “Open Console” button on
> the pane for the device you selected.
> >>
> >> It opens the console and it doesn’t contain the data I’m trying to
> output from LiveCode. You need to tell it to stream the console data from
> the phone, it delivers a ton of garbage. Filtering by process or by the
> string I’m sending — which is a fixed string at this point since I’m just
> trying to get the console working — yields no result whatsoever.
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list