johnno1962 / injectionforxcode

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

I installed xcode7.3.1 and xcode8. I click the menu @"patch project for injection" #172

Closed wangtian076 closed 7 years ago

wangtian076 commented 7 years ago

* Could not parse workspace: (null) 

 at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Could not parse workspace: (null)') called at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 63
 require common.pm called at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/openBundle.pl line 15
 main::BEGIN() called at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 0
 eval ... called at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 0
Compilation failed in require at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/openBundle.pl line 15.
BEGIN failed--compilation aborted at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/openBundle.pl line 15.
** Bundle build failed ***

Patching project contained in: /Users/zf333/Desktop/checkout/KaMeng/
Modified KaMeng/KaMeng-Prefix.pch ...
Modified KaMeng/main.m

and I run My project,and then

The following build commands failed:
 CompileC build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/BundleContents.o BundleContents.m normal x86_64 objective-c++ com.apple.compilers.llvm.clang.10.compiler
(1 failure)

* Build Failed with status: 65. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against. 

 at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Build Failed with status: 65. You may need to open and edit t...') called at /Users/zf333/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 465
**_ Bundle build failed ***