Open yilongmd opened 8 years ago
Pods xcworkspace
.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.
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! 🎅🍷🎄☃
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