我正在尝试使用 Xamarin UiTest 在 Mac 物理 iOS 设备上运行测试。
AppInitializer中的配置是:
return ConfigureApp
.iOS
.Debug()
.InstalledApp("Bundle-Identifier")
.DeviceIdentifier("Physical-Device-UUID")
.StartApp(Xamarin.UITest.Configuration.AppDataMode.DoNotClear);
Run Code Online (Sandbox Code Playgroud)
输出显示此消息:
Failed to install DeviceAgent
ExitCode: 134
Reason: tried:
'/private/var/folders/sq/w4vtqrfd00x6vs4p5ctmlzy00000gn/T/xdb/DeviceAgent.iOS.Dependencies/b747d1445588083eee4d1d93a53f3e5b/bin/../Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file),
'/Library/Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file),
'/System/Library/Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file)" UserInfo={NSLocalizedDescription=The bundle
???IBAutolayoutFoundation??? couldn???t be loaded.,
NSLocalizedRecoverySuggestion=Try reinstalling the bundle.,
NSFilePath=/Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework/IBAutolayoutFoundation,
NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework/IBAutolayoutFoundation,
0x0109): Library not loaded:
@rpath/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation
Reason: tried:
'/private/var/folders/sq/w4vtqrfd00x6vs4p5ctmlzy00000gn/T/xdb/DeviceAgent.iOS.Dependencies/b747d1445588083eee4d1d93a53f3e5b/bin/../Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file),
'/Library/Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file),
'/System/Library/Frameworks/AssetCatalogFoundation.framework/Versions/A/AssetCatalogFoundation'
(no such file),
NSBundlePath=/Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework,
NSLocalizedFailureReason=The bundle couldn???t be loaded.}}}'
Referenced from:
/Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework/Versions/A/IBAutolayoutFoundation
Referenced from:
/Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework/Versions/A/IBAutolayoutFoundation …Run Code Online (Sandbox Code Playgroud)