Closed S-Freedom closed 7 years ago
This is normally https://github.com/johnno1962/injectionforxcode/issues/41
兄弟这里是美国,不能用中文
This is due to Xcode 8 support. Please use Project/Injection Plugin/Open Bundle Project to edit the bundle project to set a valid codesigning identity.
Error loading /Users/carroll/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/InjectionLoader.bundle/InjectionLoader: dlopen(/Users/carroll/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/InjectionLoader.bundle/InjectionLoader, 265): no suitable image found. Did find: /Users/carroll/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/InjectionLoader.bundle/InjectionLoader: required code signature missing for '/Users/carroll/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/InjectionLoader.bundle/InjectionLoader'
Hey, @johnno1962 I don't know what I did wrong.
Is tis Xcode 8? It requires that This bundle be code signed. The new plugin should do this in one of it’s run script build phases.
Yes, its run in Xcode 8, I am already signed. And I can load Alcatraz but I can't run injection Plug-in.
This is the step i signed.
sudo ./unsign /Applications/Xcode.app/Contents/MacOS/Xcode
And rename 'Xcode.unsigned ' to Xcode. and then restart Xcode load Alcatraz Bundle.
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
Finally signed Xcode Plug-ins
Which step I did wrong? Please help me thank you. @johnno1962
Problem for the error you list above is InjectionLoader.bundle not being code signed. Do you have the most recent version of Injection plugin compiled from source? It has a run script build phase which does this.
@johnno1962 Sorry for troubling you again, I do not understand what you mean. I try to install again , But still wrong ...
You have a duplicte of key “iPhone developer erming loo XXXXX" in your keychain. Check for this in the /Application/Utilities/Keychain Access app and delete the older one or if tey have different names use the full name for codesigning. The other error, I don’t know the cause but it doesn’t look like the problem.
I'm sorry, I renounce the use of this plug-in, I really can not solve, if you can document details installation instructions Xcode 8 tutorial, I will be grateful to you.
Now you can turn off this issues, Thank you.
@luoerming I'm sorry, I'm newer, Thank you!
\ Could not codesign as 'iPhone Developer': /Users/Jeffery/Desktop/twotiger/twotigerios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle4.bundle ** at /Users/Jeffery/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57. main::error('Could not codesign as 9hone Developerø/Users/Jeffery/De...') called at /Users/Jeffery/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 509 **_ Bundle build failed ***