Hi Team,
Approch 1.:Launching app store using App (like safari luncher app)
We want to automate app store to fetch data, We are able to lunch App store successfully and Appium inspector display element locator but Appium instrumentation crashes while performing any action on app store ,
Approch 2 :(Find below link)
I’m referring this post :
https://groups.google.com/forum/m/#!topic/appium-discuss/_R1jnvgTZWQ
Please let me know if anyone have helpful information.
Here is log
info: Pre-launching app
info: App is an iOS bundle, will attempt to run as pre-existing
info: Creating new appium session c3a078b0-088c-43bf-b971-1bfac3033828
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Cleaning up any tracedirs
info: No tracedirs to clean up
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.1
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
info: Localizable.strings is not currently supported when using real devices.
info: Not setting locale because we’re using a real device
info: Not setting iOS and app preferences since we’re on a real device
debug: Creating instruments
info: Starting iOS device log capture via idevicesyslog
info: Not setting device type since we’re connected to a device
debug: Real device specified but no ipa or app path, assuming bundle ID is on device
debug: Starting instruments
info: Instruments is at: /Applications/Xcode5.1.app/Contents/Developer/usr/bin/instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Attempting to run app on real device with UDID 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7
info: Spawning instruments with command: /Applications/Xcode5.1.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode5.1.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7 com.apple.AppStore -e UIASCRIPT /Applications/Appium 3.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {“global”:90000}
info: [INST STDERR] 2015-04-08 20:09:08.604 instruments[6610:707] unable to locate CFBundleIdentifier for path: com.apple.AppStore
info: [INST STDERR] Instruments Trace Error : Error Starting Recording
info: [INSTSERVER] Instruments exited with code 253
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #1
info: Killall iPhoneSimulator
info: Attempting to run app on real device with UDID 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7
info: Spawning instruments with command: /Applications/Xcode5.1.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode5.1.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7 com.apple.AppStore -e UIASCRIPT /Applications/Appium 3.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {“global”:90000}
info: [INST STDERR] 2015-04-08 20:09:15.485 instruments[6613:707] unable to locate CFBundleIdentifier for path: com.apple.AppStore
info: [INST STDERR] Instruments Trace Error : Error Starting Recording
info: [INSTSERVER] Instruments exited with code 253
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #2
info: Killall iPhoneSimulator
info: Attempting to run app on real device with UDID 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7
info: Spawning instruments with command: /Applications/Xcode5.1.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode5.1.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 0f2d9020b13609b649f3e74c35501a5ba6eb4ee7 com.apple.AppStore -e UIASCRIPT /Applications/Appium 3.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {“global”:90000}
info: [INST STDERR] 2015-04-08 20:09:22.351 instruments[6617:707] unable to locate CFBundleIdentifier for path: com.apple.AppStore
info: [INST STDERR] Instruments Trace Error : Error Starting Recording
info: [INSTSERVER] Instruments exited with code 253
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #3
info: Killall iPhoneSimulator