Ionic Framework Run on IOS Device - angularjs

I tried to run my ionic app to my itouch device. When I first run, the app launch smoothly with no problem but when I try to re run again the same app. the terminal display this message "error: process launch failed: timed out trying to launch app"
I am using ionic run ios --device on the terminal.

run ios --device starts debugging the App on the device. If you restart you App, do you need Debugging? If not, try to exit the debugging mode in terminal and restart your app on your device. Does this work?

Open the project by opening [yourAppFolder]/platforms/ios/[yourAppName].xcodeproj file in Xcode. And run the code in your phone just like running a Xcode project in the phone.

Related

how to keep NextJs/ReactJs app running even after closing putty window

I have a Next Js app. deployed in azure VM. Running successfully when running it using putty(with the command "npm start"). However, the URL comes down frequently(server stops). Is there a way/script to keep it up and running once started from my putty until when I stop it manually?

How can I test and debug at chrome for Android App

I have made a simple android app using ionic and AngularJs and I run this app then it works in a a browser while I run app in Emulator then it is not working.So I want to find issue what is reason that it is not working so for this purpose I want to do testing and debugging
I have made a simple android app using Ionic and AngularJS and whenI run this app then it works in a browser while I run this app in Emulator then it is not working.
Please tell me how can I test and debug in a chrome for android app.And also tell me detail with step.
You can build the app in debug mode and then connect your computer to your Android phone that you want to test the app. After that, you install the app via the .apk that you just generated then start the app. Now that your app is running in your phone that is connected to your computer, you can debug via Google Chrome by inspecting it. Here is how to do so in details.

Opening firefox browser in ios Simulator using Appium

I would like to open the firefox browser on the iphone (5, 6 or 6 plus) simulator using Appium. I tired by giving the absolute app path (of firefox browser app in the mac machind) in appium ios settings itself but it did not work. I've read about installing Firefox OS Simulator. Can I open the firefox browser in IOS Simulator or android simulator as an app or do I have to use Firefox's simulator? Please advice with detailed steps.
Thanks in advance!!
PS: I am using the latest versions of appium and ios
I'm working with Genymotion android simulator and appium.
In order to install firefox you just take the apk here
The details steps:
Install Android SDK.
Start the emulator by going to $SDK_root/emulator.exe.
Go to command prompt and go to the directory $SDK_root/platform-tools (or else add the path to windows environment)
Type in the command adb install.
Please note that the simulator testing usually not enough and you have test your app also on the real device.

how to run sencha touch examples in iOS simulator

I installed sencha touch and sencha touch command and was able to view the examples in localhost.
But How do I run these examples in iOS simulator?
I tried below commands from with in the examples directory on iMac
from directory: touch-2.3.1/examples/kitchensink
sencha app package run packager.json
User-iMac:list-horizontal yuyutsu$ sencha app package run packager.json
Sencha Cmd v4.0.4.84
[ERR]
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)." UserInfo=0x7fe4f0d0ce40 {NSLocalizedDescription=The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
The application was successfully packaged
[ERR] stbuild exited with non-zero code : 1
or from another app, directory: touch-2.3.1/examples/list-horizontal
Also tried running sencha app build -run native.
It failed with
/Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/.sencha/app/packager-impl.xml:83: /Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/resources/loading does not exist
I have Xcode 5. OS X version 10.9.2. I am able to run the native XCode projects in simulator using XCode.
Any idea on how can I run the sencha examples in iOS simulator? Is there a document which has the steps?
One very easy way (if you don't need device api) is to build the webapp through Sencha CMD and navigate in iOS Simulators Safari to the index.html file. You can do "add to Homescreen" and if you click the icon on your homescreen now you get the app in fullscreen.
The big advantage is that you can do really quick builds, but it does not fit always, because it's just the webapp, not the native one.
If you need to package your app native (e.g. for Device API) you can follow this guide: http://frightanic.com/software-development/sencha-touch-native-packaging-for-ios-done-right/
As it is running on localhost, you can simply check on simulators by using the same urls as on browser
iPhone 4
iPhone 5
Also, you can try Intel XDK, it has inbuilt iPhone simultors. It is easy to use. Simply put application and run.
Intel XDK
Or you can try packaging it in native iOS so that you can run in Xcode and see on Xcode simulator your app working. For that you can use Phonegap, refer link
http://docs-origin.sencha.com/touch/2.3.2/#!/guide/cordova-section-iOSNote
Also,
http://docs.sencha.com/touch/2.3.2/#!/guide/native_provisioning
Hope this helps you with your problem.
Failure to launch iOS simulator could be because of the below bug mentioned in sencha forum
"There is currently a bug open SDKTOOLS-783 where Sencha Native packager fails to locate Xcode 5.1 and thus unable to run in simulator."
I will try Phonegap/Cordova and post my observations.

Mobile terminal build app doesnt show on iOS7 springboard

I am coding iOS APP on iPad using mobile terminal and THEOS.
I am following this tutorial https://sites.google.com/site/theostutorials/chapter-2-my-first-app/lesson-3-build-and-test
I followed all the steps successfully but my app doesnt show on springBoard.
I run command "make package install" on mobile terminal, it creates .deb file. I installed that deb file using iFile then reboot device, respring too but app doesnt show on SpringBoard
Device = iPad 3,3
iOS 7.0.4
Finally now it appears. You have to reboot device twice. Only one time resping or reboot doesnt work

Resources