console.log not working in an iOS PhoneGap 3.0 app

后端 未结 8 1397
庸人自扰
庸人自扰 2020-12-14 02:00

I am upgrading an app from PhoneGap 1.9 to PhoneGap 3.0. The console.log() function is not working anymore. Previously, the ouput was written in the XCode console. What\'s t

8条回答
  •  天命终不由人
    2020-12-14 03:00

    If you have installed the Cordova console-plug-in, then when you run your app:

    phonegap run iOS
    

    you will find the logs at:

    [your project dir]/platforms/ios/cordova/console.log
    

    for IOS. All console logs show up as expected.

提交回复
热议问题