Unable to Launch Device Agent in Xamarin UItest

deepakkg88deepakkg88 ✭✭Member ✭✭

Hi,
I am getting below error when I try to launch iOS app.I am using Xcode 9.2,MAC OS-Sierra-10.12.6,Visual Studio-7.4.3,NUnit-2.6.4,Xamarin.UITest-2.2.4,iphone real device 7 Plus, iOS version-11.2.2

SetUp : Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceAgent

ExitCode: 65

1
IDEDerivedDataPathOverride = /var/folders/77/lc3w5ldx6cg8h6c9ykh00klmwydhgh/T/xdb/logs/2018.04.17.175034/DerivedData
IDETestRunSpecificationPath = /var/folders/77/lc3w5ldx6cg8h6c9ykh00klmwydhgh/T/xdb/DeviceAgent.iOS.Dependencies/8e6b42dc6a6d91b84a3499d26f1845d8/ipa/DeviceAgent-Runner.app/PlugIns/DeviceAgent.xctest/DeviceAgent-device.xctestrun

Reason: no suitable image found. Did find:
Referenced from: /var/containers/Bundle/Application/BA8562EA-5B0A-4F7A-9C01-46E6E86B37A5/DeviceAgent-Runner.app/DeviceAgent-Runner
} (11.2.2 (15C202))
applications: (null)
buildVersion: 15C202
connected: yes
connectionType: direct
developerDiskMountError: (null)
deviceActivationState: Activated
deviceArchitecture: arm64
deviceAvailableCapacity: 20011008000
deviceClass: iPhone
deviceIdentifier: 9d16aca34aa6c5950e63689b526dbbfcebbe4b47
deviceIsActivated: YES
deviceIsBusy: NO
deviceIsTransient: NO
deviceName: iPhone7
deviceSerialNumber: F2LSXHQUHG05
deviceSoftwareVersion: 11.2.2 (15C202)
deviceTotalCapacity: 28370673664
deviceType:
hasInternalSupport: NO
identifier: 9d16aca34aa6c5950e63689b526dbbfcebbe4b47
ignored: NO
isPasscodeLocked: NO
isSupportedOS: YES
isWirelessEnabled: no
productVersion: 11.2.2
provisioningProfiles: (null)
supportedDeviceFamilies: (
/private/var/containers/Bundle/Application/BA8562EA-5B0A-4F7A-9C01-46E6E86B37A5/DeviceAgent-Runner.app/Frameworks/XCTest.framework/XCTest: code signing blocked mmap() of '/private/var/containers/Bundle/Application/BA8562EA-5B0A-4F7A-9C01-46E6E86B37A5/DeviceAgent-Runner.app/Frameworks/XCTest.framework/XCTest'
/private/var/containers/Bundle/Application/BA8562EA-5B0A-4F7A-9C01-46E6E86B37A5/DeviceAgent-Runner.app/Frameworks/XCTest.framework/XCTest: code signing blocked mmap() of '/private/var/containers/Bundle/Application/BA8562EA-5B0A-4F7A-9C01-46E6E86B37A5/DeviceAgent-Runner.app/Frameworks/XCTest.framework/XCTest'
bootArgs:
(null)
)
** TEST EXECUTE FAILED **
/var/folders/77/lc3w5ldx6cg8h6c9ykh00klmwydhgh/T/com.apple.dt.XCTest/IDETestRunSession-DFF5952A-7CF4-420C-BE6D-41A7F88B8B09/Unnamed-Test-Run-2AFA7F91-A484-4A66-903D-6C2923F93B70/Session-Unnamed-Test-Run-2018-04-17_175035-kWXNtl.log
2018-04-17 17:50:35.117 xcodebuild[7541:131868] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-04-17 17:50:35.118 xcodebuild[7541:131861] [MT] IDETestOperationsObserverDebug: (FBF43CD1-75FF-48F5-B712-200C8BC4DB5A) Beginning test session Unnamed-Test-Run-FBF43CD1-75FF-48F5-B712-200C8BC4DB5A at 2018-04-17 17:50:35.118 with Xcode 9C40b on target {
2018-04-17 17:50:37.697 xcodebuild[7541:131861] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
dyld: Library not loaded: @rpath/XCTest.framework/XCTest
User defaults from command line:

Posts

Sign In or Register to comment.