Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 Can't run a test on the device, Fatal error occurs

I try to run a simple test. Everything is fine in the simulator, when i run on the device, emerge following error: enter image description here

The Log is "dyld: could not load inserted library '/private/var/mobile/Containers/Data/Application/7EE29748-5E86-4E9B-B8E5-882753654F87/tmp/IDEBundleInjection.framework/IDEBundleInjection' because no suitable image found. Did find: /private/var/mobile/Containers/Data/Application/7EE29748-5E86-4E9B-B8E5-882753654F87/tmp/IDEBundleInjection.framework/IDEBundleInjection: code signature invalid for '/private/var/mobile/Containers/Data/Application/7EE29748-5E86-4E9B-B8E5-882753654F87/tmp/IDEBundleInjection.framework/IDEBundleInjection' "

I tried to make Clean & Build and remove derived data, it didn't help me.

I appreciate any tips or helps

like image 833
kokos8998 Avatar asked Sep 30 '15 17:09

kokos8998


1 Answers

This was due to me changing my appleID password. If you sign back in Xcode -> Preferences -> Accounts, this fixes the problem.

like image 194
AJ9 Avatar answered Nov 03 '22 19:11

AJ9