Giter Club home page Giter Club logo

appium-ios-simulator's Introduction

NOTE:
This fork isn't maintained by Sauce Labs (anymore)

appium-ios-simulator

NPM version Downloads Dependency Status devDependency Status

Build Status Coverage Status Greenkeeper badge

Appium API for dealing with iOS simulators. Allows the user to find locations of directories and applications, gives access to settings in order to read from and write to simulator plists, and allows control over starting and stopping simulators.

Note: Issue tracking for this repo has been disabled. Please use the main Appium issue tracker instead.

Usage

async getSimulator(udid)

This is the main entry of this module. This function returns a simulator object (see below) associated with the udid passed in. If an iOS simulator with the given udid does not exist already on this machine, it will throw an error.

If you want to create a new simulator, you can use the createDevice() method of node-simctl.

import { getSimulator } from 'appium-ios-simulator';

let sim = await getSimulator('DAE95172-0788-4A85-8D0D-5C85509109E1');

Xcode and iOS versions

See wikipedia for details of builds for Xcode versions.

iOS Xcode 7.1 beta 3 Xcode 7.0.1 Xcode 6.4 Xcode 6.3.2 Xcode 6.2 Xcode 6.1.1 Xcode 6.0.1
7.1 11D167 n/a 11D167 11D167 11D167 11D167 11D167
8.0 n/a n/a n/a n/a n/a n/a 12A365
8.1 12B411 12B411 12B411 12B411 12B411 12B411 12B411
8.2 12D508 12D508 12D508 12D508 12D508 n/a n/a
8.3 12F70 12F70 12F70 12F69 12F70 n/a n/a
8.4 12H141 12H141 12H141 12H141 12H141 n/a n/a
9.0 13A344 13A340 n/a n/a n/a n/a n/a
9.1 13B134 n/a n/a n/a n/a n/a n/a

file locations

iOS 9.3

  • base
    • ~/Library/Developer/CoreSimulator/Devices/[identifier]/data/
  • safari plists
    • [base]/Containers/Containers/Data/Application/[identifier]/<.com.apple.mobile_container_manager.metadata.plist, com.apple.mobilesafari>
  • locationd cache plists
    • [base]/Library/Caches/locationd/cache.plist
    • [base]/Library/Preferences/com.apple.locationd.plist
  • locationd clients plists
    • [base]/Library/Caches/locationd/clients.plist
  • user settings plists
    • [base]/Library/UserConfigurationProfiles/UserSettings.plist
    • [base]/Library/UserConfigurationProfiles/EffectiveUserSettings.plist
    • [base]/Library/UserConfigurationProfiles/PublicInfo/PublicEffectiveUserSettings.plist
  • other plists
    • [base]/Library/Preferences
  • logs
    • ~/Library/Logs/CoreSimulator/[identifier]/
    • sym linked to [base]/Library/Logs

iOS 9.2, 9.1, 9.0, 8.4, 8.3

  • base
    • ~/Library/Developer/CoreSimulator/Devices/[identifier]/data/
  • safari plists
    • [base]/Containers/Data/Application/[identifier]/<.com.apple.mobile_container_manager.metadata.plist, com.apple.mobilesafari>
  • locationd cache plists
    • [base]/Library/Caches/locationd/cache.plist
    • [base]/Library/Preferences/com.apple.locationd.plist
  • locationd clients plists
    • [base]/Library/Caches/locationd/clients.plist
  • user settings plists
    • [base]/Library/ConfigurationProfiles/UserSettings.plist
    • [base]/Library/ConfigurationProfiles/EffectiveUserSettings.plist
    • [base]/Library/ConfigurationProfiles/PublicInfo/PublicEffectiveUserSettings.plist
  • other plists
    • [base]/Library/Preferences
  • logs
    • ~/Library/Logs/CoreSimulator/[identifier]/
    • sym linked to [base]/Library/Logs

iOS 7.1

  • base
    • ~/Library/Developer/CoreSimulator/Devices/[identifier]/data/
  • safari
    • [base]/Applications/[identifier]/Library/Preferences/com.apple.mobilesafari.plist
  • locationCache
    • [base]/Library/Caches/locationd/cache.plist
    • [base]/Library/Preferences/com.apple.locationd.plist
  • locationClients
    • [base]/Library/Caches/locationd/clients.plist
  • userSettings
    • [base]/Library/ConfigurationProfiles/UserSettings.plist
    • [base]/Library/ConfigurationProfiles/EffectiveUserSettings.plist
    • [base]/Library/ConfigurationProfiles/PublicInfo/PublicEffectiveUserSettings.plist
  • other plists
    • [base]/Library/Preferences
  • logs
    • ~/Library/Logs/CoreSimulator/[identifier]/
    • sym linked to [base]/Library/Logs

appium-ios-simulator's People

Contributors

imurchie avatar jonahss avatar jlipps avatar sebv avatar scottdixon avatar dpgraham avatar greenkeeper[bot] avatar kazucocoa avatar rkavalap avatar midopa avatar yaphatak avatar wswebcreation avatar kool79 avatar mykola-mokhnach avatar chickenbeef avatar vrunoa avatar bayandin avatar

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.