デバイス上でcalabash-iosが実行され、アプリがすぐに起動してクラッシュする。物理デバイスでcalabash-iosを実行すると、すぐにアプリが起動してクラッシュする
シミュレータでcalabash-iosを実行すると問題なく動作します。
それは問題に関連しています:calabash-ios physical device test, app starts but crashesしかし、解決策は私のために働いていません。
アプリはXamarinで開発されました。
アプリが既に端末にインストールされています。
は私がコマンドを実行します。export BUNDLE_ID=com.appName.name
export DEVICE_ENDPOINT=http://192.168.1.14:37265
export DEVICE_TARGET=e2a5c640b9bc6fe30209612eefbf1194…
DEBUG=1 cucumber
を下記得る:
INFO: Using uia strategy: 'host'
DEBUG: Searching for run-loop results with glob: /Users/nirortal/.run-loop/results/*
DEBUG: Found 6 previous run-loop results
DEBUG: Will delete 1 previous run-loop results
DEBUG: Deleted 1 previous results in 0.00405 seconds
DEBUG: Searching for instruments caches with glob: /Library/Caches/com.apple.dt.instruments/xrtmp__*
DEBUG: Found 6 instruments caches
DEBUG: Will delete 1 instruments caches
DEBUG: Deleted 1 instruments caches in 0.001272 seconds
2016-04-26 15:11:32 +0300 [RunLoop:debug]:
{
:app => " com.appName.name ",
:args => [],
:bundle_dir_or_bundle_id => " com.appName.name ",
:bundle_id => " com.appName.name ",
:device_target => "e2a5c640b9bc6fe30209612eefbf1194…",
:instruments => #<Instruments 7.3>,
:launch_method => :instruments,
:launch_retries => 5,
:log_file => "/Users/nirortal/.run-loop/results/2016-04-26_15-11-32/run_loop.out",
:no_launch => false,
:no_stop => false,
:relaunch_simulator => true,
:reset => false,
:results_dir => "/Users/nirortal/.run-loop/results/2016-04-26_15-11-32",
:results_dir_trace => "/Users/nirortal/.run-loop/results/2016-04-26_15-11-32/trace",
:script => "/Users/nirortal/.run-loop/results/2016-04-26_15-11-32/_run_loop.js",
:sdk_version => nil,
:udid => "e2a5c640b9bc6fe30209612eefbf1194…",
:uia_strategy => :host,
:xcode => "7.3",
:xcode_path => "/Applications/Xcode.app/Contents/Developer"
} EXEC: xcrun instruments -s templates
### Starting on e2a5c640b9bc6fe30209612eefbf1194bee30933 App: com.gettradio.tradio ###
2016-04-26 15:11:32 +0300 [RunLoop:debug]: xcrun instruments -w e2a5c640b9bc6fe30209612eefbf1194… -D /Users/nirortal/.run-loop/results/2016-04-26_15-11-32/trace -t Automation com.appName.name -e UIARESULTSPATH /Users/nirortal/.run-loop/results/2016-04-26_15-11-32 -e UIASCRIPT /Users/nirortal/.run-loop/results/2016-04-26_15-11-32/_run_loop.js >& /Users/nirortal/.run-loop/results/2016-04-26_15-11-32/run_loop.out
2016-04-26 15:11:32 +0300 [RunLoop:debug]: Preparation took 0.853639 seconds
2016-04-26 15:12:03 +0300 [RunLoop:debug]: Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError
2016-04-26 15:12:03 +0300 [RunLoop:debug]: Failed to launch. Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError: Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError
デバイスのログ:
Apr 26 15:13:28 iPhone-6-931 SpringBoard[58] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Apr 26 15:13:28 iPhone-6-931 SpringBoard[58] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Apr 26 15:13:28 iPhone-6-931 kernel[0] <Notice>: xpcproxy[293] Container: /private/var/mobile/Containers/Data/Application/81B447CB-DEE4-452A-8371-FA6652D6AC18 (sandbox)
Apr 26 15:13:28 iPhone-6-931 DTServiceHub[220] <Warning>: Unable to acquire task port after launch of pid 293 (com.appName.name)
Apr 26 15:13:28 iPhone-6-931 com.apple.xpc.launchd[1] (UIKitApplication:com.gettradio.tradio[0xd8eb][293]) <Notice>: Service exited due to signal: Killed: 9
Apr 26 15:13:29 iPhone-6-931 DTServiceHub[220] <Warning>: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
Apr 26 15:13:29 iPhone-6-931 notification_proxy[212] <Error>: 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
Apr 26 15:13:29 iPhone-6-931 notification_proxy[212] <Error>: 0x16e1bb000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
Apr 26 15:13:29 iPhone-6-931 SpringBoard[58] <Warning>: Application 'UIKitApplication:com.gettradio.tradio[0xd8eb]' exited abnormally via signal.
は、私がログに‘Container: /private/var/mobile/Containers/Data/Application/81B447CB-DEE4-452A-8371-FA6652D6AC18 (sandbox)’
が持っていることに気づきますシミュレータのUDID。 - 9.3.1
- iPhone 6:私は、コマンドxcrun機器-sデバイスを実行したときに
は
私が持っている私のリストで、このUDIDを見つけることができませんキュウリ(0.18.2,0.17.0,0.16.4,0.14.0,0.13.0,0.12.3)
- キュウリ(1.3.19,1.3.18,1.3.17)
- ルビー2.0.0 p648
- OS X - 10.11.4
Xcodeが認識し、あらゆる問題なくデバイスに接続します。
UIデバイスのオートメーションが有効になっています。
「キュウリ」を実行する前に「killall -9 instruments」コマンドを実行しましたが、同じ結果が得られました。
ここに何がありますか?