I’m building a native ios application using XCode 6.6.1 on Yosemite 10.10.1. Also using Injection for XCode( http://injectionforxcode.com/ )
I got an error when I run Inject Source(^=) says:
Disconnected from: /Users/username/Library/Developer/CoreSimulator/Devices/1800BDFA-4053-4093-95C3-F38CAA261360/data/Containers/Data/Application/619B38FB-E7E0-4BC1-AF48-99DC55576993 at /Users/username/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 51. main::error(‘Build Failed with status: 65. You may need to open and edit t…’) called at /Users/username/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 386
I’ve recognized: Connected to “Injection” plugin, ready to load x86_64 code.
How can I solve this error?
From the FAQ:
I get errors when Injection tries to build it’s bundle. Whats up?
When converting a class to inject the source needs to be able to compile in a separate “InjectionBundle” project in a different directory than it is usually compiled. You may have to adjust the include path or Frameworks in the project in the bundle project for it to build cleanly. Once a project is setup the InjectionBundle sub-project can be placed in source control and shared with other developers.
Unless you know which file it is unable to find, you can set the project directory to be recursively searched in the framework search paths build setting (I would reset it back when done).
Apart from this, make sure you are editing the file you’d like injection to work from.