Hello.
Console.log is not working in xcode.
The weird thing is it worked my previous project with ionic.
At that time, I did not download any console log plugin from cordova. ( So I thought it’s built-in function )
Anyway it’s not working now, so I would search on google and ionic community.
I tried
sudo cordova plugin add org.apache.cordova.console
sudo ionic plugin add org.apache.cordova.console
- This youtube video [ https://www.youtube.com/watch?v=xZGZHuNXdNE ]
- Finally this way
sudo chown -R [user] /usr/local/lib/node_modules/cordova
sudo chown [user] *
sudo chmod -R 777 *
None of them working for me.
I created test project and put console.log, not working either.
Here is my ionic info
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v4.2.2
Xcode version: Xcode 7.2 Build version 7C68
Where should I check?