Can't install .ipa file (only .app)

i am working on an iphone (ios 8.1) device,
When i am trying to install our .ipa application it fails with the below error.
however if i extract the .app from the ipa file the installation completed successfully.
Do i need to install “libimobiledevice”? if so can someone can give a step by step guidance?

=============================================
2014-11-09 19:45:09:542 - info: [debug] Dynamic bootstrap path: /Users/qa/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js

2014-11-09 19:45:09:544 - info: [debug] Reusing dynamic bootstrap: /Users/qa/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js
2014-11-09 19:45:09:545 - info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“Automation test2”,“platformVersion”:null}
2014-11-09 19:45:09:545 - info: [debug] fixDevice is on
2014-11-09 19:45:09:545 - info: [debug] Final device string is: ‘Automation test2 (8.1 Simulator)’
2014-11-09 19:45:09:546 - info: [debug] Not setting device type since we’re on a real device
2014-11-09 19:45:09:546 - info: [debug] Checking whether we need to set app preferences
2014-11-09 19:45:09:546 - info: [debug] Not setting iOS and app preferences since we’re on a real device
2014-11-09 19:45:09:546 - info: [debug] Running ios sim reset flow
2014-11-09 19:45:09:546 - info: [debug] Killing the simulator process
2014-11-09 19:45:09:547 - info: [debug] Killall iOS Simulator
2014-11-09 19:45:09:549 - info: [debug] Killing any other simulator daemons

2014-11-09 19:45:09:601 - info: [debug] On a real device; cannot clean device state

2014-11-09 19:45:09:602 - info: [debug] Not setting locale because we’re using a real device
2014-11-09 19:45:09:602 - info: [debug] No iOS / app preferences to set
2014-11-09 19:45:09:602 - info: [debug] Starting iOS device log capture via deviceconsole

2014-11-09 19:45:19:609 - error: Log capture did not start in a reasonable amount of time

2014-11-09 19:45:19:609 - info: [debug] Cleaning up appium session

2014-11-09 19:45:19:610 - error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

2014-11-09 19:45:19:612 - info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:106:10)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
2014-11-09 19:45:19:613 - info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)”,“origValue”:“Log capture did not start in a reasonable amount of time”},“sessionId”:null}
2014-11-09 19:45:19:614 - info: <-- POST /wd/hub/session 500 12441.608 ms - 234

2014-11-09 19:45:19:650 - info: [debug] Not pre-launching simulator
2014-11-09 19:45:19:651 - info: [debug] Creating iDevice object with udid dc32ad3627707abcf57c9844d4ed95e4c212e5a9
2014-11-09 19:45:19:657 - info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
2014-11-09 19:45:19:657 - info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id dc32ad3627707abcf57c9844d4ed95e4c212e5a9 --bundle com.cloudengines.pogoplug

Make sure .ipa is built with signed certificate and provisioned profile…

it is signed for debug (that what you meant by “signed certificate and provisioned profile”?),
As i pointed when i extract the .app from .ipa it does work.
Thanks…

I see…
What if you manually install your .ipa using ideviceinstaller?

not sure i know how to install it with ideviceinstaller,
can you give me a step by step for it?
do notice that i did able to install the .ipa via ifunbox application.
Thanks!

Issue–How to fix this?? I am using Mac Os 10.10.1 & Xcode 6.1 and

trying to launch the ios app through eclipse to perform some
testing but

getting this error dont
know how to reseolve this issue. I have updated

the appium to 1.3.4 but
still same. Tried to launch same ios app with

appium 1.3.3 GUI this app launches properly. Anyone can suggest

anything.

Above issue is observed with simulator 7.1,8.1 etc

By any chance can this be happening bcoz of “No signing
Identity found” in xcode

info: Welcome to Appium v1.3.4 (REV
056f5bd277987bed391aef04acf2be38ea161e50)

info: Appium REST http interface listener started on 0.0.0.0:4723

info: Console LogLevel: debug

info:

–> POST
/wd/hub/session

{“desiredCapabilities”:{“app”:"/Users/Anand/Library/Developer/Xcode/DerivedData/TestApp-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/TestApp.app",“appium-version”:“1.0”,“platformVersion”:“7.1”,“browserName”:"",“platformName”:“iOS”,“udid”:“13FF8920-587E-4AF6-A3B9-AA32E81624EC”,“deviceName”:"iPhone

5s"}}

info: Client User-Agent string: Apache-HttpClient/4.3.4 (java
1.5)

info:

[debug] The following
desired capabilities were provided, but not

recognized by appium. They will be passed on to any other
services

running on this server. : appium-version

info: [debug] Using local

app from desired caps:

/Users/Anand/Library/Developer/Xcode/DerivedData/TestApp-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/TestApp.app

info: [debug] Creating new appium session
2eb74755-4582-46cf-97b9-78b548cfa1b9

info: [debug] Removing any remaining instruments sockets

info: [debug] Cleaned up instruments socket
/tmp/instruments_sock

info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] Getting sdk version from xcrun with a timeout

info: [debug] iOS SDK Version set to 8.1

info: [debug] Not checking whether simulator is available since
we’re on a real device

info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim

info:

[debug] Could not parse
plist file (as binary) at

/Users/Anand/Library/Developer/Xcode/DerivedData/TestApp-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/TestApp.app/en.lproj/Localizable.strings

info: Will try to parse the plist file as XML

info:

[debug] Could not parse
plist file (as XML) at

/Users/Anand/Library/Developer/Xcode/DerivedData/TestApp-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/TestApp.app/en.lproj/Localizable.strings

warn: Could not parse app Localizable.strings assuming it
doesn’t exist

info: [debug] Getting bundle ID from app

info: [debug] Parsed app Info.plist (as binary)

info: [debug] Creating instruments

info:

On some xcode 6
platforms, instruments-without-delay does not work. If

you experience this, you will need to re-run appium with the

–native-instruments-lib flag

info: [debug] Preparing uiauto bootstrap

info: [debug] Dynamic bootstrap dir:
/Users/Anand/Library/Application Support/appium/bootstrap

info:

[debug] Dynamic env:

{“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Users/Anand/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“sendKeyStrategy”:“grouped”}

…o: [debug] Dynamic bootstrap code: // This file is
automatically generated. Do not manually modify!

info: [debug] Dynamic bootstrap path:
/Users/Anand/Library/Application
Support/appium/bootstrap/bootstrap-723f69bfa90dadc3.js

info: [debug] Reusing dynamic bootstrap:
/Users/Anand/Library/Application
Support/appium/bootstrap/bootstrap-723f69bfa90dadc3.js

info:

[debug] Getting device
string from opts:

{“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1.1”,“iOSSDKVersion”:“8.1”,“deviceName”:"iPhone

5s",“platformVersion”:“7.1”}

info: [debug] fixDevice is on

info: [debug] Final device string is: ‘iPhone 5s (7.1
Simulator)’

info: [debug] Not setting device type since we’re on a real
device

info: [debug] Checking whether we need to set app preferences

info: [debug] Not setting iOS and app preferences since we’re on
a real device

info: [debug] Running ios sim reset flow

info: [debug] Killing the simulator process

info: [debug] Killall iOS Simulator

info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state

info: [debug] Not setting locale because we’re using a real
device

info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS device log capture via deviceconsole

error: Log capture did not start in a reasonable amount of time

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Log
capture did not start in a reasonable amount of time

info: [debug] Error: Log capture did not start in a reasonable
amount of time

at null._onTimeout

(/Users/Anand/appium/lib/devices/ios/ios-log.js:137:10)

at Timer.listOnTimeout

as ontimeout

info:

[debug] Responding to
client with error:

{“status”:33,“value”:{“message”:"A
new session could not be created.

(Original error: Log capture did not start in a reasonable
amount of

time)",“origValue”:"Log capture did not
start in a reasonable amount of

time"},“sessionId”:null}

info: <-- POST /wd/hub/session 500 11780.237 ms - 234

info: [debug] Not pre-launching simulator

info: [debug] Creating iDevice object with udid
13FF8920-587E-4AF6-A3B9-AA32E81624EC

info:

[debug] Couldn’t find
ideviceinstaller, trying built-in at

/Users/Anand/appium/build/libimobiledevice-macosx/ideviceinstaller

info:

[debug] Checking app
install status using:

/Users/Anand/appium/build/fruitstrap/fruitstrap isInstalled --id

13FF8920-587E-4AF6-A3B9-AA32E81624EC --bundle com.TestAppparking.mobile

Try
brew install libimobiledevice
which libimobiledevice. //insures its in the path
ideviceinstaller -i <ipa_name>

Also there’s -u for uninstall
Type libimobiledevice by itself for more help
Good luck!

Ah after -i, type in your ipa. The tags cut off my last post