/Users/wulf/GitRepos/QA_Family_Repo/qa/projects/story/appium/ZipArchives/Test.app.zip
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Debug-iphonesimulator/Test.app
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Debug-iphonesimulator/Test.app.dSYM
/Users/wulf/Library/Application Support/iPhone Simulator/5.1/Applications/EABBA4BF-D259-40C3-9D09-8B1636B029F7/Test.app
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Release-iphonesimulator/Test.app
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Release-iphonesimulator/Test.app.dSYM
/Users/wulf/Library/Application Support/iPhone Simulator/6.0/Applications/0B349B86-5274-4B9A-8F16-920D00B181EC/Test.app
/Users/wulf/GitRepos/QA_Family_Repo/qa/projects/story/appium/ZipArchives/Test.app
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Intermediates/ArchiveIntermediates/TestApp QA/BuildProductsPath/Release-iphoneos/Test.app.dSYM
/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Release-iphoneos/Test.app
@Before
public void setup() throws Exception
{
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability("device", "iPhone Simulator");
//cap.setCapability("app", "/Users/wulf/Library/Developer/Xcode/DerivedData/TestApp-fjekoxkdvajqnvafhsdyxtcguxad/Build/Products/Release-iphonesimulator/Test.app");
driver = new RemoteWebDriver(new URL("http://localhost:4723/wd/hub"), cap);
}
You can run against apps already on the emulator, just provide the app path from ~/Library/Application Support/iPhone Simulator/6.1/Applications/GUID FOLDER NAME/App.appThis does not work for apps that come with the OS like Settings, Photos, etc. only non-apple apps.
The technique I described cannot work for those apps. They do not exist in ~/Library/Application Support/iPhone Simulator/6.1/Applications/Jlipps, The examples you reference use a different technique, not by supplying the full path to the .app in the simulator applications folder.