johnno1962 / injectionforxcode

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

xcode 8 gm build finished but run script fail need identity? #166

Open gakaki opened 7 years ago

gakaki commented 7 years ago

PhaseScriptExecution Run\ Script /Users/g/Library/Developer/Xcode/DerivedData/InjectionPlugin-bubisoevirxjksfrgvbzxcubaduf/Build/Intermediates/InjectionPlugin.build/Debug/InjectionPlugin.build/Script-BB749D7C16A5F32E006C993B.sh cd /Users/g/injectionforxcode/InjectionPluginLite /bin/sh -c /Users/g/Library/Developer/Xcode/DerivedData/InjectionPlugin-bubisoevirxjksfrgvbzxcubaduf/Build/Intermediates/InjectionPlugin.build/Debug/InjectionPlugin.build/Script-BB749D7C16A5F32E006C993B.sh

2016-09-08 14:09:55.510 xcodebuild[6937:120642] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2016-09-08 14:09:55.683 xcodebuild[6937:120642] Build settings from command line: 2016-09-08 14:09:55.683 xcodebuild[6937:120642] TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault 2016-09-08 14:09:55.684 xcodebuild[6937:120642] XCODE_DEFAULT_TOOLCHAIN_OVERRIDE = /Applications/Xcode73.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain Build settings from command line: SDKROOT = iphonesimulator9.3

=== BUILD TARGET InjectionBundle OF PROJECT InjectionLoader WITH CONFIGURATION Debug ===

Check dependencies

\ BUILD SUCCEEDED **

/Users/g/injectionforxcode/InjectionPluginLite iPhone Developer: no identity found Command /bin/sh failed with exit code 1

johnno1962 commented 7 years ago

You need to codesign now with Xcode 8. Edit the “Run Script” build pahse of the injection project to change to your identity.

jb522185660 commented 7 years ago

Specific how can i do that to edit the run script

johnno1962 commented 7 years ago

It’s in the README.md

johnno1962 commented 7 years ago

You shouldn’t need to worry about this with recent releases which use the “Ad-hoc” signing identity “-“. Otherwise try the new Injection standalone App: http://johnholdsworth.com/injection.html