Unable to install ipa

68 views
Skip to first unread message

rmon...@pogoapps.com

unread,
Jun 25, 2014, 5:45:35 PM6/25/14
to appium-...@googlegroups.com
I receive the below error while installing ipa using appium
Running the appium server with --ipa flag
My desired capabilities
desired_caps = {}
desired_caps['app'] = 'com.ea.XXXXX.inc'
desired_caps['bundleId'] = 'com.ea.XXXXX.inc'
desired_caps['udid'] = 'XXXXXXXXXXXXXXXXX'
desired_caps['platformVersion'] = '7.1'
desired_caps['platformName'] = 'iOS'
desired_caps['deviceName'] = 'iPhone Retina 3.5-inch'
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)

I am able to install the ipa via itunes however not with appium
Also if the app is already installed I am able to launch it

The error
Installing ipa found at /Users/ears/Downloads/XXXXX.ipa
info: Creating iDevice object with udid XXXXXX
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Command failed: 
info: Error: Command failed: 
    at ChildProcess.exithandler (child_process.js:637:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Socket.<anonymous> (child_process.js:956:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: )","killed":false,"code":null,"signal":"SIGSEGV","origValue":"Command failed: "},"sessionId":null}
POST /wd/hub/session 500 3533ms - 246b

rmon...@pogoapps.com

unread,
Jun 25, 2014, 9:17:03 PM6/25/14
to appium-...@googlegroups.com
K Update on this. I was able to install by changing 'app' to the ipa PATH in desired capabilities instead of using the server flag. However it throws an error while launching the app
[INST STDERR] 2014-06-25 17:50:20.526 instruments[67677:707] Permission to debug com.ea.dragonage.inc was denied.  The app must be signed with a development identity (e.g. iOS Developer).

However I can install the same ipa via itunes. Any ideas why the difference? 

Anish Joshi

unread,
Jun 26, 2014, 12:48:09 AM6/26/14
to appium-...@googlegroups.com
do you have ideviceinstaller configured on ur mac ?

Isaac Murchie

unread,
Jun 26, 2014, 10:00:32 AM6/26/14
to Anish Joshi, appium-...@googlegroups.com
You need to have the app you are installing signed by a developer provisioning profile. Instruments will not run without it.



--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.

Xiaohong Yuan

unread,
Jun 26, 2014, 7:53:41 PM6/26/14
to appium-...@googlegroups.com
Besides a valid developer provisioning profile, most likely, your ipa is built with Release build configuration which is the default configuration, Appium seems to require Debug version of ipa file, so try to change the Archive build configuration to Debug and use the Debug version ipa file for your test.

-xiaohong
Reply all
Reply to author
Forward
0 new messages