Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception 'Error codesigning...' in iOS 12 #1402

Open
sankalpanand opened this issue Nov 21, 2018 · 1 comment
Open

Uncaught exception 'Error codesigning...' in iOS 12 #1402

sankalpanand opened this issue Nov 21, 2018 · 1 comment

Comments

@sankalpanand
Copy link

This is my first attempt at testing iOS 12. I'm running into problems with installing the device agent.
iOS - 12.1
Xcode - 10.1
MacOS - Mojave
calabash-cucumber- 0.21.5

I've seen some other codesigning errors related to provisioning profile before and was able to fix them but I can't make any left or right of this exception. Please take a look.

102214361:tptest testmaskin$ /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.7.1/lib/run_loop/device_agent/bin/iOSDeviceManager install /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.7.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app --device-id 0eea5de0ed4b62314aae7561a00710c419f55a3b
Application com.apple.test.DeviceAgent-Runner is not installed on 0eea5de0ed4b62314aae7561a00710c419f55a3b
2018-11-20 19:40:16.096 iOSDeviceManager[25617:99724] *** Terminating app due to uncaught exception 'CBXException', reason: 'Error codesigning /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.7.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app/Frameworks/XCTAutomationSupport.framework: /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.7.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app/Frameworks/XCTAutomationSupport.framework: replacing existing signature
'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff46c6ee65 __exceptionPreprocess + 256
	1   libobjc.A.dylib                     0x00007fff72cca720 objc_exception_throw + 48
	2   iOSDeviceManager                    0x000000010955c5eb +[Command resourcesFromArgs:] + 0
	3   iOSDeviceManager                    0x00000001095563dd +[Codesigner resignObject:codesignIdentity:] + 421
	4   iOSDeviceManager                    0x0000000109557bff +[Codesigner resignAppDir:baseDir:provisioningProfile:codesignIdentity:resourcesToInject:] + 2938
	5   iOSDeviceManager                    0x0000000109555b47 +[Codesigner resignApplication:withProvisioningProfile:withCodesignIdentity:resourcesToInject:] + 283
	6   iOSDeviceManager                    0x00000001095511de -[PhysicalDevice installApp:mobileProfile:codesignIdentity:resourcesToInject:forceReinstall:] + 463
	7   iOSDeviceManager                    0x000000010955164e -[PhysicalDevice installApp:resourcesToInject:forceReinstall:] + 67
	8   iOSDeviceManager                    0x0000000109553faa +[InstallAppCommand execute:] + 876
	9   iOSDeviceManager                    0x000000010955f2e1 +[CLI process:] + 1111
	10  iOSDeviceManager                    0x000000010954b029 main + 121
	11  libdyld.dylib                       0x00007fff73d9908d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
@jmoody
Copy link
Contributor

jmoody commented Nov 21, 2018

I think you need to update your run-loop version. The current version is 4.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants