You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to finally build using Xcode 10.3 however on execution the kill-app feature, I get this error. I don't find any folders by name /usr/lib/swift. I thought Swift was installed as part of Xcode.
all I want to do is kill an app on iOS. I am using the syntax
iOSDeviceManager com.apple.Maps -d <device_id>
and it doesn't work and I get Abort trap: 6
I have seen suggestions to embed swift libraries, fix run search paths etc but none of those changes helped.
iOSDeviceManager is trying to load private libraries and failing. This is not uncommon with new versions of Xcode. We will eventually have a fix for this. You are welcome to try to fix by pulling the calabash/FBSimulatorControl fork and experimenting with the FBControlCoreFrameworkLoader loadPrivateFrameworksOrAbort method.
I managed to finally build using Xcode 10.3 however on execution the kill-app feature, I get this error. I don't find any folders by name /usr/lib/swift. I thought Swift was installed as part of Xcode.
all I want to do is kill an app on iOS. I am using the syntax
iOSDeviceManager com.apple.Maps -d <device_id>
and it doesn't work and I get Abort trap: 6
I have seen suggestions to embed swift libraries, fix run search paths etc but none of those changes helped.
2019-08-07 16:32:41.678 iOSDeviceManager[3117:168105] *** Assertion failure in -[FBDeviceControlFrameworkLoader_Essential loadPrivateFrameworksOrAbort], /Users/Ivan/Documents/repos/Xamarin.UITest/FBSimulatorControl/FBControlCore/Utility/FBControlCoreFrameworkLoader.m:84
2019-08-07 16:32:41.679 iOSDeviceManager[3117:168105] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to load private frameworks for FBDeviceControl with error Error Domain=com.facebook.FBControlCore Code=0 "Could not load dylib /usr/lib/swift/libswiftCore.dylib with dlopen: dlopen(/usr/lib/swift/libswiftCore.dylib, 10): image not found" UserInfo={NSLocalizedDescription=Could not load dylib /usr/lib/swift/libswiftCore.dylib with dlopen: dlopen(/usr/lib/swift/libswiftCore.dylib, 10): image not found}'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2faa7f15 _exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff5bc11efb objc_exception_throw + 48
2 CoreFoundation 0x00007fff2fac2dfa +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff31e84e0d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 FBControlCore 0x00000001026c4e1b -[FBControlCoreFrameworkLoader loadPrivateFrameworksOrAbort] + 635
5 FBDeviceControl 0x000000010279249b +[FBDeviceSet initialize] + 75
6 libobjc.A.dylib 0x00007fff5bc14898 CALLING_SOME+initialize_METHOD + 19
7 libobjc.A.dylib 0x00007fff5bc04b8d _class_initialize + 282
8 libobjc.A.dylib 0x00007fff5bc04595 lookUpImpOrForward + 238
9 libobjc.A.dylib 0x00007fff5bc04014 _objc_msgSend_uncached + 68
10 iOSDeviceManager 0x0000000102610765 +[PhysicalDevice withID:] + 123
11 iOSDeviceManager 0x0000000102619655 +[Device withID:] + 118
12 iOSDeviceManager 0x000000010261c9ba +[Command deviceFromArgs:] + 130
13 iOSDeviceManager 0x000000010260ca5a +[KillAppCommand execute:] + 45
14 iOSDeviceManager 0x000000010261f49f +[CLI process:] + 1110
15 iOSDeviceManager 0x000000010260a8c5 main + 121
16 libdyld.dylib 0x00007fff5ccd8ed9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
The text was updated successfully, but these errors were encountered: