XTR - Failed to install app /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/tmp6c10a0b8.tmp/Payload

Hi,

I am a QA tester and I'm new to Xamarin. I downloaded the tools for searching and learning automation purposes. I have downloaded the Visual Studio, Xamarin Test Recorder. I was able to run the .apk app in XTR using actual device however, for iOS it always prompts an error. I am not sure what it means which is why I needed help from you guys:

Here's the full XTR error:
[11:37:58] LOG STARTED: Monday, October 9, 2017
[11:37:58] Initializing user preferences
[11:37:58] Initializing Mixpanel
[11:37:58] Setting up iOSDeviceTools
[11:37:58] Checking for Java installation
[11:37:58] Found java installation at /usr/bin/java
[11:37:58] Checking for Android SDK installation
[11:37:58] Checking for Android SDK at: /Users/kylesaunar/Library/Developer/Xamarin/android-sdk-macosx
[11:37:58] Found Android SDK at /Users/kylesaunar/Library/Developer/Xamarin/android-sdk-macosx
[11:37:58] Checking for mono installation
[11:37:58] Looking for Mono framework at: /Library/Frameworks/Mono.framework/Commands
[11:37:58] Found mono installation at /Library/Frameworks/Mono.framework/Commands/mono
[11:38:00] Launched Test Recorder
[11:38:00] Mac OS Version: Version 10.12.6 (Build 16G29)
[11:38:00] Recorder Version 1.0.2
[11:38:11] Creating ios session for app: /Users/kylesaunar/Desktop/staging.ipa
[11:38:14] Injecting calabash into iOS app
[11:38:14] Installing /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/test-recorder/ios-injection/calabash.dylib
[11:38:14] Linking calabash.dylib
[11:38:14] Installing /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/test-recorder/ios-injection/recorderPluginCalabash.dylib
[11:38:25] XDB: 1 - InstallApp:
pathToBundle: /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/tmp6c10a0b8.tmp/Payload/LifeXT-Staging.app
deviceId: ab93ae0429156e9759df7814b244011640c46707 :
[11:38:25] XDB: Running: /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/xdb/DeviceAgent.iOS.Deployment/aaa222ead8ed496c84e0bee8bc78d8eb/bin/iOSDeviceManager install -d ab93ae0429156e9759df7814b244011640c46707 -a "/var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/tmp6c10a0b8.tmp/Payload/LifeXT-Staging.app" :
[11:40:51] XDB: Exit code '134' received from '/var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/xdb/DeviceAgent.iOS.Deployment/aaa222ead8ed496c84e0bee8bc78d8eb/bin/iOSDeviceManager install -d ab93ae0429156e9759df7814b244011640c46707 -a "/var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/tmp6c10a0b8.tmp/Payload/LifeXT-Staging.app"'
2017-10-09 23:40:51.363 iOSDeviceManager[34089:495257] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.dbg.DebuggerFoundation (/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation): Library not loaded: @rpath/DebugHierarchyFoundation.framework/Versions/A/DebugHierarchyFoundation
Referenced from: /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation
Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation): Library not loaded: @rpath/DebugHierarchyFoundation.framework/Versions/A/DebugHierarchyFoundation
Referenced from: /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation
Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin, NSLocalizedDescription=The bundle “DebuggerFoundation” couldn’t be loaded because it is damaged or missing necessary resources.}, dyldError =
2017-10-09 23:40:51.367 iOSDeviceManager[34089:495257] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-13247/IDEFoundation/Initialization/IDEInitialization.m:264
Details: Xcode failed its initial plug-in scan, error = Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerFoundation, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., DVTPlugInDYLDErrorMessageErrorKey=, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin, NSLocalizedFailureReason=The plug-in “com.apple.dt.dbg.DebuggerFoundation” at path “/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7fa3d9d5f8f0 {Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation): Library not loaded: @rpath/DebugHierarchyFoundation.framework/Versions/A/DebugHierarchyFoundation
Referenced from: /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation
Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation): Library not loaded: @rpath/DebugHierarchyFoundation.framework/Versions/A/DebugHierarchyFoundation
Referenced from: /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/MacOS/DebuggerFoundation
Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin, NSLocalizedDescription=The bundle “DebuggerFoundation” couldn’t be loaded because it is damaged or missing necessary resources.}}}
Function: BOOL _IDEInitializePlugInManager(IDEInitializationOptions, NSError *__autoreleasing *)
Thread: {number = 1, name = main}

[11:40:51]  XDB: 1 - Unsuccessful : 
[11:40:51]  Failed to install app to device
[11:40:51]  Failed to install app /var/folders/kj/zc13_h8116v71tcrtsckz6xr0000gn/T/tmp6c10a0b8.tmp/Payload/LifeXT-Staging.app

Let me know if I'd missed anything. Thanks!

Posts

  • aizefleraizefler BRUniversity ✭✭

    @Kayle ,

    I'm with the same problem, did you find any solution?

  • Kent.GreenKent.Green USXamarin Team Xamurai

    Do you notice any difference in the behavior when you update to the "Dev" or "Master" release channels? You can do this by going to Xamarin Test Recorder > Check for Updates.

    (Currently Dev & Master are mapped to the same version, which is why you can use either one to check.)

Sign In or Register to comment.