What can I do for ‘Injection Bundle Build Error’?

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.

http://injectionforxcode.johnholdsworth.com/faq.html

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.

Hello, buddy!稿源:Hello, buddy! (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 移动开发 » What can I do for ‘Injection Bundle Build Error’?

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录