johnno1962 / injectionforxcode

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

*** Build Failed with status: 65. You may need to open and edit the bundle project to reso... #151

Open dallasjohnson opened 8 years ago

dallasjohnson commented 8 years ago

Hi John, Thank you for all your hard work on this. I have been able to get the plugin to work with a new project without any trouble but when trying to inject into an old one (which includes Objective C, Swift, Cocoapods etc) the injector Bundle fails to build. I have followed the advice of some of the other issues related to ...status 65 including adding ../** to the Bundle Framework path, clean etc and still suffer the same problem.

Here is the end of the console output:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/dallasjohnson/Documents/Code/iOS/Solera/dg-ios/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle -o /Users/dallasjohnson/Documents/Code/iOS/Solera/dg-ios/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle.dSYM
error: cannot parse the debug map for "/Users/dallasjohnson/Documents/Code/iOS/Solera/dg-ios/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle": No such file or directory

Touch build/Debug-iphonesimulator/InjectionBundle.bundle
 cd /Users/dallasjohnson/Documents/Code/iOS/Solera/dg-ios/iOSInjectionProject
 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 /usr/bin/touch -c /Users/dallasjohnson/Documents/Code/iOS/Solera/dg-ios/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle

* BUILD FAILED 


The following build commands failed:
 Ld build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle normal x86_64
 GenerateDSYMFile build/Debug-iphonesimulator/InjectionBundle.bundle.dSYM build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle
(2 failures)

\ 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/dallasjohnson/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/dallasjohnson/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 465
_ Bundle build failed ***



Thank you for any help.

zedxpp commented 8 years ago

I also have this problem you. injection Console

* 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/Summer/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/Summer/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 465
** Bundle build failed ***

My Xcode Version 7.3.1 , Project Language OC