Printing to the console on iOS?

#1

I am trying to isolate some IAP errors when running on iOS, Is it possible to print to console on iOS?

I have full developer cert and my game is running on iOS. I use Mac as dev machine.

0 Likes

#2

You should be able to check the Write Log option in game.project (Project section). This will generate a log.txt that you can extract via iTunes.

You should also be able to read the console via XCode I think, from the Devices window.

Finally, maybe also using third party tools such as iDeviceConsole.

1 Like

#3

Great thanks for the info.

Edit: Uploaded app via Devices and Simulators, clicked the open console button and I can get the log from the app by searching the app name in the console.

1 Like