using instrument :
http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation
dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClientrun app in command line
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework /Developer/Library/PrivateFrameworks/
http://seanfreitag.wordpress.com/2012/02/17/fixing-ios-simulator-via-command-line-on-xcode-4-3/
http://developer.appcelerator.com/blog/2012/03/titanium-and-xcode-4-3-revisited.html
http://community.stencyl.com/index.php?topic=8325.0
http://blog.justus-beyer.de/2012/02/after-xcode-update-to-4-3-xcodebuild-fails/
install app in simulator in command line:
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp
ios directories:
#/Users/julumobile/Library/Developer/Xcode/DerivedData/JuluMob-czejkmmscylgtgcppbwriaipllhq/Build/Products/Debug-iphonesimulator
#chflags nohidden /users/[username]/library
#/Users/julumobile/Library/Application Support/iPhone Simulator/5.1/Applications
app on simulator
#"/Users/julumobile/Library/Application Support/iPhone Simulator/5.1/Applications/8D16A45E-8000-4586-B3BF-8EAC6C367FBE/JuluMobDebugHostAdvanced.app"
certificate chain issue:
No unexpired provisioning profiles found that contain any of the keychain's signing certificates
java script tutorial
http://www.quackit.com/javascript/javascript_date_and_time_functions.cfm
http://stackoverflow.com/questions/10091590/no-unexpired-provisioning-profiles-found-that-contain-any-of-the-keychains-sig
autotesting:automation-code-shack
http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation
http://code.google.com/p/automation-code-shack/source/browse/trunk/automationDocs/Sky+News/skynewsRegressionScriptiPhone.js?spec=svn18&r=18
https://github.com/alexvollmer/tuneup_js
#srcAppPaths=(`find "/Users/$currentUser/Library/Developer/Xcode/DerivedData/" -name JuluMobDebugHostAdvanced.app | tr '\n' ':'`)
#count=0
#tLen=${#srcAppPaths[@]}
#while [ $count -lt $tLen ]
#do
# echo rm -rf ${srcAppPaths[count]}
# rm -rf ${srcAppPaths[count]}
# count=$(( $count + 1 ))
#done
#instruments -t /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate "$demoAppPath" -e UIASCRIPT ./test1.js -e UIARESULTSPATH ./logs