FormulaMonks / Auto-Importer-for-Xcode

Plugin for Xcode to quickly import your headers on the fly.
https://citrusbyte.com
MIT License
553 stars 59 forks source link

xcodebuild Warning: Conflicting class XCBuildConfiguration #10

Closed NoxHarmonium closed 9 years ago

NoxHarmonium commented 9 years ago

When I use xcodebuild I get the following warning:

objc[30712]: Class XCBuildConfiguration is implemented in both /Applications/Xcode6.1.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/Frameworks/DevToolsCore.framework/Versions/A/DevToolsCore and /Users/seandawson/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Auto-Importer.xcplugin/Contents/MacOS/Auto-Importer. One of the two will be used. Which one is undefined.

There may be a conflicting class in this project that needs to be renamed or not included in the final package.

johnboiles commented 9 years ago

This is an annoyance. I think it can be fixed by just renaming the XCBuildConfiguration class in this project. Here's another project with a similar issue

https://github.com/markohlebar/Peckham/issues/27

lucholaf commented 9 years ago

This is an issue from this dependency: https://github.com/jasperblues/XcodeEditor, can't simple rename the class in the auto-importer project.

johnboiles commented 9 years ago

Ah, I see. Opened the issue there: https://github.com/jasperblues/XcodeEditor/issues/44

lucholaf commented 9 years ago

closing since it's not a warning from this project but from one of the dependencies.

johnboiles commented 9 years ago

@jasperblues fixed this in XcodeEditor with version 1.6.2 (Thanks @jasperblues!), just need to pod install and all should be fixed

See also: https://github.com/jasperblues/XcodeEditor/issues/44

lucholaf commented 9 years ago

@johnboiles awesome thanks, project updated now.

jasperblues commented 9 years ago

Sorry for the delay: I saw the Peckham issue a while back, but the comments suggested a pull request was forthcoming so I didn't log it.

@lucholaf, I would appreciate if your Readme notes that Auto-Importer uses the XcodeEditor library, as you've done with Peckham :+1:

lucholaf commented 9 years ago

@jasperblues :+1: