doc/calabash-ios-help.txt in calabash-cucumber-0.19.0.pre2 vs doc/calabash-ios-help.txt in calabash-cucumber-0.19.0.pre3

- old
+ new

@@ -1,77 +1,35 @@ Usage: calabash-ios <command-name> [parameters] - <command-name> can be one of - help - gen - setup (EXPERIMENTAL) [opt path]? - download [opt path]? - check (EXPERIMENTAL) [opt path to .ipa/.app]? - sim locale [lang] [regional]? - sim reset - sim acc - sim location {on|off} <bundleid> Commands: - gen creates a skeleton features dir. This is usually used once when + + version + Print the version of the Calabash iOS gem. + + gen + Creates a skeleton features dir. This is usually used once when setting up calabash to ensure that the features folder contains the right step definitions and environment to run with cucumber. + console - starts an interactive console to interact with your app via Calabash. - Supports setting environment var CALABASH_IRBRC for custom .irbrc file. + Starts an interactive console to interact with your app via Calabash. + If there is a .irbrc in your local directory, the IRB will load that file. + To share an .irbrc across projects, use the CALABASH_IRBRC environment + variable. - setup [path]? (EXPERIMENTAL) Automates setting up your iOS Xcode project - with calabash-ios-server. It is your responsibility to ensure - that your production build does not link with calabash.framework. - setup will try to ensure this, but you should check manually. + download + Copies current compatible version of calabash.framework to your project. + It should be run from a directory containing an Xcode project, - setup will download calabash.framework and modify you Xcode project - file. The parameter [path] is optional (default is the current dir). - If specified [path] should be the path to your iOS Xcode project - (i.e., the folder which contains projectname.xcodeproj). + check { path/to/My.app | path/to/My.ipa } + Check whether an app or ipa is linked with calabash.framework - The following modifications are made - - duplicate an existing target of your choice - - add the calabash.framework to your Frameworks folder - - add $(SRCROOT) to framework search path - - link with calabash.framework in duped target - - link with Apple's CFNetwork.framework in duped target - - setup special linker options to ensure calabash is loaded + sim locale [lang code] [locale code] + Changes the regional settings. For usage information, run: + $ calabash-ios sim locale - Your Xcode project file will be backed up as project.pbxproj.bak. - The backup is placed in the .xcodeproj folder for your project. - If something goes wrong. Close Xcode and copy project.pbxproj.bak - to project.pbxproj inside your .xcodeproj folder. + sim reset + Reset the Content & Settings of all iOS Simulators - download [opt_path]? - copies current compatible version of calabash.framework to your project. - It should be run from a directory containing an Xcode project, - or optionally opt_path should be supplied and pointing to a - directory containing an Xcode project. - Will copy in the latest version that matches the - currently installed calabash-cucumber gem. - To update Calabash for your project run - - gem install calabash-cucumber - calabash-ios download - - Then clean and rebuild to your project. - Check the current server version on http://localhost:37265/version - - check (EXPERIMENTAL) [.app or .ipa]? - check whether an app or ipa is linked with calabash.framework - if called without parameter [.app or .ipa] then pwd should be - a directory containing an xcodeproj. In this case we'll check - the default Xcode simulator build path for a Debug and Calabash - build configurations. We check that Debug doesn't link with - calabash.framework but Calabash does. - - sim locale [lang] [regional]? Changes the regional settings - for the iOS Simulators. You must ensure the correct format - for the optional regional parameter, for example, - da_DK, en_US. - - sim location {on|off} <bundleid> - set allow location on/off for current project or bundleid - - sim reset (EXPERIMENTAL) Will select "Reset Content and Settings" - in the iOS Simulators using AppleScript. + setup [path]? (EXPERIMENTAL) + https://github.com/calabash/calabash-ios/wiki/calabash-ios-setup