.app file not recognized by Appium - appium-ios

I am trying to launch my app in Appium by providing the .app file of my app.
But its throwing an error message -
"Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object."
I took the .app file path from Xcode
after building the project.
Has it anything to do with the build process ?

App should be Debug enabled and it should run on device. I think which you have taken (.app file) will work on Simulator not on device.

app should be a debug build.
for ios bundle id is required and not package and activity name.

Related

Cannot get Application to run on TV

I am new to Tizen. I got the extension for visual studio mac and Im trying to create a simple hello world program - I want to try the application out on my Samsung tv. I created the solution and the project builds, But it will always fail on installation. I get this generic installation error message with nothing else. Did some research around and tried installing the app via the device manager. I get this error every-time.
I don't know what else to try at this point!
I have also done these things.
I have installed the TV extensions and certificate.
I have Created a Samsung Certificate and synced it to my Samsung Account with Public privileges.
I enabled develop mode on my TV and was able to successfully connect to it via Device Manager
I clicked Permit To Install Applications
You can refer this link:
https://developer.samsung.com/smarttv/develop/getting-started/using-sdk/command-line-interface.html
You can launch your app via CLI instead of SDB Shell.

Can Meteor-based-ios app access data from my own server?

I'm new to Meteor and made a very simple meteor-based ios app for personal use and interest, which read data from MongoDB provided by Meteor. I have a quick question and I just want to make sure that I am not spending time on meaningless work.
What I have done is "meteor run ios-device", and it works pretty well that under the same network (wifi) the app on ios could read data from the localhost:3000 on laptop (Mac). Also, I have learned that it is easy to deploy a meteor app on my own server, just run "meteor build /path/to/buildFile --architecture..." and move the bundle to the server to set up; however, then I got confused about this: after the app is deployed to a server, is it possible that the app on ios also able to access to that server?
In short words, app ios works fine with localhost, so is there a way to make it works fine with web hosting so that the app does not need to connect to the same network as the host?
Note that I didn't purchase Apple developer account that could release app to AppStore, so I can only use "real machine debugging". Will this disallow me to make app on ios access the data from my own server?
Thanks for any advance!
Update:
I have successfully deployed my project on my own OpenShift server so that I could access it within any networks in browsers. So my point is how do I build an ios app for this project so that I can also access it in iPhone within any network. I have tired run "meteor run ios-device --mobile-server=[my own openshift server]:8000", and when I build the app for deploying I ran this "meteor build ~/some/path --server=[my own openshift server]:8000". This seems does not works. Still waiting for advance!
You are describing one of the main use case of Meteor.
Refer to:
Meteor Guide > Mobile > Configuring your server
Meteor Guide > Mobile > Building for production
To summarize:
When building your Meteor project, if you have ios and/or android platform(s), Meteor will require you to specify the --server option with the URL of the server where your Meteor server bundle will be deployed.
That way, your app will know where to connect to.
Note that you may not need to go through Apple App Store, as long as you do not need to distribute your app. You can simply use the Xcode project (generated by meteor build) to install your app directly on your iPhone.

Deploying to a server and remote debugging with FlashDevelop?

Is there any way to automatically deploy to a server after I build a flex app, and then debug using the remote url ?
This is totally possible in FlashBuilder, but I am highly hoping that it can be done in FD as well.
You can script any action you want in a batch file and then go to Project->Properties->Build->Post-build-command and enter your batch file execution line.
To jump to a debug URL after compiling, just go into Project->Properties->Output, select "Open document" and type your URL.
If you deploy a debug version of your SWF, you can start FlashDevelop debugger for remote debugging (see Debug menu) and then navigate to the online page where your SWF resides.

Deploy flex app to MAMP server

I created a Flex app in a Windows XP environment using Flex Builder 3.
From the menubar, I selected "Project->Export Build Release" and moved the files from /bin-release onto my local server (WAMP).
I have a PHP file that connects to a db and delivers some data via XML
Everything works right on my computer. Then I tried to move the app to a mac.
I installed MAMP with the default settings (localhost:8888)
I can connect to the PHP file and get the XML by hitting the appropriate URL on # http://localhost:8888/...
Likewise, I can connect to the html template and the swf executes, but it doesn't seem to be getting the data back, and I don't get any debug info popping up.
Any ideas? Are there security settings enabled by default in Mac OS that would not allow a flex app to request data from a remote resource (i.e. http://localhost:8888/ in this case)?
what is the error that you get?
1. try to catch the FaultEvent
2. do you install any of flash debugger?
The trouble was with the MAMP installation. I reinstalled it, and the app worked.

How to debug Flex application under maven

I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder plug-in for Eclipse as my IDE. My application consists of several libraries and modules. I manage all of them as a small maven (flex-mojos) projects.
Does anybody can share some ideas how to setup robust debuging enviroment?
I use Maven & Flexmojos from the command line and the Flash builder 4 plugin inside of Eclipse. In my project I also have a Java/BlazeDS backend I like to debug at the same time as the Flex client on occasion.
Here's what I do:
1) I used cargo to startup an instance of my Java backend that DOES NOT have the SWF or HTML wrapper in it.
2) I've created a "Web Application" debug launch configuration where the launch URL just points to a file (e.g. "/path/to/my/flash-builder/bin/myapp-wrapper.html").
3) When I launch this debug configuration from within Eclipse the Flex debugger Just Works. As soon as a stop point it opened the Flex Debugger perspective automatically opens.
By launching a debug configuration directly from Eclipse I don't have to rebuild and redeploy a WAR file after each change made to the Flex app. In fact, after I shut down the Flex client I just leave the Java server running and reconnect with the next debugging launch.
In order debug the Java side, I start the application server with the JVM debugger command line arguments and launch a Remote Java Debugger debug launch configuration. Eclipse has no problem running both debuggers at the same time.
The only problem with this setup happens when I need to run the Flex web app from an http:// URL (for example to get flashvars to retrieve URL query parameters). In this case it is a long round-trip to get maven to created the WAR and deploy it, then to launch the debugger...after every Flex client source edit. I posted a question on how to make that case better (http://stackoverflow.com/questions/4426053/quickly-debug-flex-java-web-application-from-eclipse).
This is an area of interest to me so let me know what you are looking for and I can probably help more.

Resources