Giter Club home page Giter Club logo

ios-test-app's Introduction

ios-test-app

A simple test application for iOS, used by Appium for certain tests.

Building

npm install will build the app for a simulator. If you want also to build for a real device, set the environment variable IOS_REAL_DEVICE or REAL_DEVICE to a truthy value.

REAL_DEVICE=1 npm install

If any special build information is needed, the XCCONFIG_FILE environment variable can be set to the path to an xcconfig file.

Watch

npm run watch

Test

npm test

ios-test-app's People

Contributors

boneskull avatar dependabot-preview[bot] avatar dependabot[bot] avatar dpgraham avatar greenkeeper[bot] avatar imurchie avatar jlipps avatar jonahss avatar kazucocoa avatar mhan83 avatar mykola-mokhnach avatar sa-spag avatar scottdixon avatar sebv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-test-app's Issues

couldn't install TestApp-iphoneos.app with appium Mac client

As per instructions , I have build TestApp-iphoneos.app and try to install on real device but getting below error

error: Could not pre-launch appium: Error: Command failed: /bin/sh -c ideviceinstaller -u 6930e9e68d8fe637f29a39768f1b846a72805a96 -i /Users/vikram-anna/Documents/workspace/ios-test-app/build/Release-iphoneos/TestApp-iphoneos.app
ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008015: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.XCFbTf/extracted/TestApp-iphoneos.app : 0xe8008015 (A valid provisioning profile for this executable was not found.) 

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Fix npm install

Same as others iOS apps.
Remove grunt global dependency and invalid require(".")

test fails to run on the simulator

i went through all the basic setup instructions on the appium website and then found my way to this sample code to try it out.

npm install
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

[email protected] install /Users/me/Projects/ios-test-app/node_modules/fsevents
node install

[fsevents] Success: "/Users/me/Projects/ios-test-app/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote

[email protected] install /Users/me/Projects/ios-test-app
node install-npm.js

[14:53:28] cleaning apps
[14:53:31] cleaning app for iphonesimulator11.2
[14:53:32] finished cleaning app for iphonesimulator11.2
[14:53:32] finished cleaning apps
[14:53:32] building apps
[14:53:32] building app for iphonesimulator11.2
[14:53:43] finished building app for iphonesimulator11.2
[14:53:43] finished building apps
[14:53:43] renaming apps
[14:53:43] renaming for iphonesimulator
[14:53:43] finished renaming apps
finished installing
npm WARN prepublish-on-install As of npm@5, prepublish scripts are deprecated.
npm WARN prepublish-on-install Use prepare for build steps and prepublishOnly for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.

[email protected] prepublish /Users/me/Projects/ios-test-app
gulp prepublish

[14:53:48] Using gulpfile ~/Projects/ios-test-app/gulpfile.js
[14:53:48] Starting 'prepublish'...
[14:53:48] Starting 'clean'...
[14:53:48] Finished 'clean' after 13 ms
[14:53:48] Starting 'transpile'...
[14:53:49] Finished 'transpile' after 138 ms
[14:53:49] Finished 'prepublish' after 154 ms
npm notice created a lockfile as package-lock.json. You should commit this file.
added 958 packages in 44.44s

me:ios-test-app me$ npm test

[email protected] test /Users/me/Projects/ios-test-app
gulp once

[14:54:14] Using gulpfile ~/Projects/ios-test-app/gulpfile.js
[14:54:14] Starting 'once'...
[14:54:14] Starting 'clean'...
[14:54:14] Finished 'clean' after 64 ms
[14:54:14] Starting 'eslint'...
[14:54:16]
/Users/me/Projects/ios-test-app/index.js
1:1 error Parsing error: The keyword 'import' is reserved

/Users/me/Projects/ios-test-app/install.js
5:1 error Parsing error: The keyword 'import' is reserved

/Users/me/Projects/ios-test-app/lib/logger.js
1:1 error Parsing error: The keyword 'import' is reserved

✖ 3 problems (3 errors, 0 warnings)

events.js:137
throw er; // Unhandled 'error' event
^
ESLintError: Failed with 3 errors
npm ERR! Test failed. See above for more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.