Question #180237 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/180237
Description changed to: **** Solution provided by Raymond Gonzales --- Thanks! Here is how you can open an iphone app in the simulator: Download and make the following tool: https://github.com/landonf/iphonesim ---------------------------------------------------------------------------------- ****Build your app with the xcodebuild command: example (note this is not the end all be all of building an xcode project): xcodebuild -scheme [SCHEME OPTION] -target [PROJECT TARGET] -sdk [SDK VERSION] -configuration [USUALLY Debug OR Release] clean build ****with the latest xcode 4.2, the app should be built in the following location: /Users/[HOME DIRECOTRY]/Library/Developer/Xcode/DerivedData/[NAME OF APP]-cgxlojxaxievlientprexqrbjuxt/Build/Products/Debug- iphonesimulator/myApp.app ****copy the app file to the location where the iphonesim exec file is at so that it makes it easier on you...trust me...its best... ****then you use the iphonesim tool ./iphonesim launch [ABSOLUTE PATH OF THE APP]/myApp.app Example: ./iphonesim launch --device-family iPhone --sdk-version 5.0 ~/Project/build/Debug-iphonesimulator/Project.app --------------------------------------------- you can easily do all of this in sikuli by using s.type method in the Terminal app Actually I use java to control sikuli and have found it easier to create a bash script and just run that to build and launch my app in the ios simulator. But yeah.... This is by far the best way to get your app into the simulator and launched. ********************************************************** Hi, Can we open the iphone application by specifying its location present in the mac using sikuli. i had an application stored at a location /Users/syntel/Library/Application Support/iPhone Simulator/4.2/Applications/227C829B-B3B8-409D-BF6D-ACC5A8B8D589/PDFViewer.app to launch the application using sikuli i am trying to write def setUp(self): openApp("/Users/syntel/Library/Application Support/iPhone Simulator/4.2/Applications/227C829B-B3B8-409D-BF6D-ACC5A8B8D589/PDFViewer.app") but the application is not getting launched on simulator. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

