injectionforxcode icon indicating copy to clipboard operation
injectionforxcode copied to clipboard

My Project => Objective-C xcworkspace

Open yilongmd opened this issue 9 years ago • 3 comments

Not supported xcworkspace?

*** Could not locate project's main.(m|mm) to patch.
To patch a Swift project please create an empty main.m ***

 at /Users/syl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Could not locate projectÉmain.(m|mm) to patch.aTo patch a ...') called at /Users/syl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/patchProject.pl line 80

yilongmd avatar Apr 14 '16 03:04 yilongmd

Pods xcworkspace

yilongmd avatar Apr 14 '16 03:04 yilongmd

.xcworkspace should be supported. Problem is you are trying to patch a project that does not have a main.m which is required for device injection even if the project is Swift.

johnno1962 avatar Apr 14 '16 11:04 johnno1962

Just in time for Christmas I’ve been able to releaes a new binary version of Injection which makes getting up and running a breeze http://johnholdsworth.com/injection.html. If you have any problems please report them on it’s support repo https://github.com/johnno1962/InjectionApp. Happy Holidays! 🎅🍷🎄☃

johnno1962 avatar Dec 24 '16 22:12 johnno1962