Thanks to visit codestin.com
Credit goes to github.com

Skip to content

编译出错 #1

@FrankiezZZ

Description

@FrankiezZZ

您好,我按照博客的顺序,编译工程后,报了错,能麻烦指点我一下,会是什么问题嘛~万分感激

could not create session: requestError(description: "unknown error while handling message: unableToInitializeCore(errors: ["/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/Default Compiler.xcspec: warning: spec \':com.apple.compilers.gcc\' already registered from /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/Clang LLVM 1.0.xcplugin/Contents/Resources/Default Compiler.xcspec", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'LLVM_LTO\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"LLVM_LTO\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'GCC_WARN_UNINITIALIZED_AUTOS\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"GCC_WARN_UNINITIALIZED_AUTOS\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_CONSTANT_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_CONSTANT_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_INT_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_INT_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_BOOL_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_BOOL_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_ENUM_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_ENUM_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'CLANG_WARN_IMPLICIT_SIGN_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"CLANG_WARN_IMPLICIT_SIGN_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to declare macro for option \'GCC_WARN_64_TO_32_BIT_CONVERSION\': conflictingMacroDeclarationType(previousType: XCBCore.MacroType.string, name: \"GCC_WARN_64_TO_32_BIT_CONVERSION\") (while parsing \'com.apple.compilers.llvm.clang.hacked\')", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to load \':com.apple.compilers.llvm.clang.hacked.analyzer\' (unable to load base spec)", "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/HackedClang.xcplugin/Contents/Resources/HackedClang.xcspec: error: unable to load \':com.apple.compilers.llvm.clang.hacked.compiler\' (unable to load base spec)"])")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions