johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.56k stars 565 forks source link

Could not codesign #92

Closed LinkRober closed 7 years ago

LinkRober commented 8 years ago

Renaming bundle so it reloads..
rm -rf "/Users/xiamin/mishios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle11.bundle" && cp -r "/Users/xiamin/mishios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle.bundle" "/Users/xiamin/mishios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle11.bundle"
Codesigning with identity 'iPhone Developer: maojian fu (UCB7WMMUAC)' for iOS device
iPhone Developer: maojian fu (UCB7WMMUAC): ambiguous (matches "iPhone Developer: maojian fu (UCB7WMMUAC)" and "iPhone Developer: maojian fu (UCB7WMMUAC)" in /Users/xiamin/Library/Keychains/login.keychain)

* Could not codesign as 'iPhone Developer: maojian fu (UCB7WMMUAC)': /Users/xiamin/mishios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle11.bundle 

 at /Users/xiamin/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Could not codesign as 9hone Developer: maojian fu (UCB7WMM...') called at /Users/xiamin/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 508
** Bundle build failed ***

johnno1962 commented 8 years ago

Please see https://github.com/johnno1962/injectionforxcode/issues/41

LinkRober commented 8 years ago

Thanks ,it helps me