Cannot install .ipa in iOS real device with appium
See original GitHub issueVersion : 1.5.3 iOS : 9 Xcode: 8 and above
I am currently not able to install the .ipa file with appium.
I am able to install with ideviceinstaller manually with the command ideviceinstaller -i abc.ipa
in the terminal
but in appium, when I run my cucumber tests, I get the following error, when i tries to install,
Encountered internal error running command: Error: Command failed:
ideviceinstaller -u udid -i
/var/folders/58/bqk7r15x7hv_l35vll1hg5_w0000gp/T/2017311-19876-
1upzlv/Payload/abc.app
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
My env.rb file is
require "appium_lib"
def caps
{
caps:{ deviceName: "iPhone",
platformName: "iOS",
app: (File.join(File.dirname(__FILE__), "abc.ipa")),
bundleId: "com.abc.abc",
newCommandTimeout: "3600",
appium_lib: { wait: 20,
debug: false
}
}
}
end
def server_url
'http://0.0.0.0:4723/wd/hub'
end
Appium::Driver.new(caps)
Appium.promote_appium_methods Object
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Unable to launch install ipa to real ios device - Appium Discuss
Make sure your test device udid is added into the provisioning profile. This is to be done within the apple developer console. Once...
Read more >How to install .ipa file using Appium code - Support
Try this code… you must have ipa file is build with developer sign and debug enabled to run it on real devices. File...
Read more >Unable to install ipa file on real device built with github actions
Hi. I'm trying to install a ipa file on a real ios device using ideviceinstaller. The ipa file is built in github actions....
Read more >Can't install .ipa file (only .app) - Support - Appium Discuss
i am working on an iphone (ios 8.1) device, When i am trying to install our .ipa application it fails with the below...
Read more >Setup appium inspector to run ipa on real devices iphone
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Simulator architecture is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That should be possible. Have you read the README? https://github.com/appium/appium-desktop#appium-desktop-
Appium’s workflow is to unzip the
ipa
file:And then when it tries to install that the command fails.
I can fix this, but it will not get into Appium 1.5.3.