Debugging phonegap app in netbeans - debugging

I want to make phonegap app in netbeans 8.0
I have my tablet connected with USB and I can run my app on tablet from netbeans.
Problem is that I can't debug. All console.log massages are ignored in netbeans.
How can I have debug infos in netbeans?

You left some details. What OS (Android, iOS...)? Which OS version? What Cordova version do you have?
For Android, you must have Android 4.4+ and then you will be able to debug Cordova application (NetBeans does not support Phonegap). Now important is also version of Cordova. With Cordova 3.3, nothing else is needed. However with Cordova 3.4, the android manifest file has changed and it was too late to handle this change in NetBeans 8.0. Have a look at this issue 242320 how to enable debugging with Cordova 3.4+ in NetBeans 8.0
Now if you have iOS, you need to be on Mac and have proper iOS developer certificate.

Related

Does KMM works in Android Studio - Windows Version

I need to build an app for both iOS and Android.
I am getting this error after restarting Android Studio.
Kotlin Multiplatform Mobile plugin issue
Kotlin Multiplatform Mobile plugin is supposed to work on macOS only
I am using a windows machine.
Please tell me, if there is any solution to this problem.
KMM works in Windows.
There is an incorrect warning shown in Android Studio for the plugin stating "KMM Plugin is only available on macOS", which is probably the reason for the confusion.
Note: Though KMM works in Windows Machine, there are limitations.
Using a Windows machine, you can only write Android and shared module code
(Java & Kotlin).
Creating and running iOS simulators are NOT possible.
These are limitations from Apple rather than from KMM.
They are applicable for most of the cross-platform technologies like KMM, Flutter, etc.
Refer to this thread for more info.

XS community 6.1.1 auto close apps on iOS simulator 8.1 after deploy

When I debug and deploy Xamarin.iOS native app to iOS simulator 8.1 through XS(in Mac), it installs app to simulator but it closes automatically after installation. Though app deployment on iOS simulator 10 works fine. This problem is occurred after updating XS to latest version and iOS SDK update to latest version. My iOS app deployment target is 8.0. Also I made sure that Entitlements.plist is empty.
NOTE: Xcode 8 does successful installation on iOS simulator 8.1 and works fine.
Anyone knows why this problem occurs and how to resolve it ?
Clean the project, recompile it and run on simulator.
Additionally, open simulator logs using Cmd + / hotkey and see what exactly is being printed to the simulator logs when you launch your app.
I've seen similar problems which were related to the app crash on launch actually.

Cordova 3.5.1 with iOS 8 device, remote debugging on Safari 7.1

I've exported an ad hoc distribution of a Cordova app for testing purpose. After installing the OTA on an iPad with iOS 8 and connecting it to the mac, it's not possibile to use remote debugging of Safari, it simply doesn't show the app in Developer menu.
Is there a solution for this or an alternative to Safari for remote debugging on iOS device?
edit:
Updating Safari to 7.1 also broke web inspector on ad hoc distribution on iOS 7 devices, before the update it worked, anyone having the same issues?
I have just checked and Safari iOS 8 remote debugging works with latest nightly build
you can grab one here http://nightly.webkit.org/
Edit
Looks like Safari 7.1 also came out, according to this https://discussions.apple.com/thread/6537575 it solves the inspector issues
i used
http://debug.build.phonegap.com
include
http://debug.build.phonegap.com/target/target-script-min.js#yourappname
in your Cordova app code
open
http://debug.build.phonegap.com/client/#yourappname
the script allow remote debugging of your running app on device.

Creating a LiveCode IOS standalone application

I just started to use LiveCode and tried to create a standalone IOS app and get the following error:
"There was an error while saving the standalone application performing
iOS device builds requires the iOS 5.0 SDK platform to be installed"
We are using Xcode version 4.5.1 which includes the IOS 6 SDK along with LiveCode version 5.5.1 and thought that all needed SDK's would be installed when we installed Xcode.
We also don't know where to get the IOS 5.0 SDK and how to get it installed in Xcode so LiveCode can use it.
You only need iOS 5 SDK if you are deploying an armv6 or universal app. If you are deploying armv7 only then you won't get this error if you have iOS 6 or 6.1 SDKs. If you do that though your app won't support older armv6 devices from iPhone 3G back. When the standalone is built LiveCode needs the SDK that the engine was built against. This is why when a new SDK comes out LiveCode won't support it until its next release. If your using LiveCode it's worthwhile getting into the habit of retaining each version of Xcode.
Try upgrading to Xcode 4.5.2 and then take a look at this link: http://forums.runrev.com/viewtopic.php?f=49&t=9339

iphone app submission for iOS 6.0

I have existing iphone app which is developed using XCode 4.2 and base sdk as iOS 5.0,Compiler is APPLE LLVM compiler 3.0.
Now as the iOS 6 is upcoming am I supposed to (or rather ought to) rebuild this app with latest XCode and the base SDK (i.e. XCode 4.5, base sdk as iOS 6.0, Compiler :-Apple LLVM Compiler 4.1) or will I be OK submitting my upgrade with older XCode and base SDK settings?
Will I be facing any issue while submitting my app built with older settings?
if your app works fine with iOS5 and you don't need any futures from iOS6, then leave it like this. iOS6 suppose to support the apps build with previous iOS. So, it means your app should work.

Resources