calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

/usr/local/lib/ruby/gems/2.3.0/gems/run_loop-2.6.2/lib/run_loop/device_agent/bin/iOSDeviceManager install /usr/local/lib/ruby/gems/2.3.0/gems/run_loop-2.6.2/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app --device-id 7522c875ab08ac94c952eb8a4370cc7c1279e576 #1348

Closed ketan077 closed 6 years ago

ketan077 commented 6 years ago

i'm geting below error

2017-11-14 08:15:46.378 iOSDeviceManager[10607:260562] Assertion failure in -[FBDeviceControlFrameworkLoader_Essential loadPrivateFrameworksOrAbort], /Users/moody/git/calabash/FBSimulatorControl/FBControlCore/Utility/FBControlCoreFrameworkLoader.m:82 2017-11-14 08:15:46.379 iOSDeviceManager[10607:260562] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to load private frameworks for FBDeviceControl with error Error Domain=com.facebook.FBControlCore Code=0 "The Frameworks for FBDeviceControl cannot be loaded from the root user. Don't run this as root." UserInfo={NSLocalizedDescription=The Frameworks for FBDeviceControl cannot be loaded from the root user. Don't run this as root.}'

jmoody commented 6 years ago

The Frameworks for FBDeviceControl cannot be loaded from the root user. Don't run this as root.

The error message suggests that you have installed ruby or a gem with sudo.

ketan077 commented 6 years ago

can we launch as root user??

jmoody commented 6 years ago

No.

ketan077 commented 6 years ago

so can we launch process as root user ??

ketan077 commented 6 years ago

ohkkk

ketan077 commented 6 years ago

is there any way to launch with root user?

jmoody commented 6 years ago

Please try to improve your issue titles. For example, you probably could have figured this problem out by yourself if you had read the error message instead of pasting the shell command as the title.

The Frameworks for FBDeviceControl cannot be loaded from the root user. Don't run this as root."