Open fimkap opened 7 years ago
macOS 10.12.6 Xcode 9.0 beta 3 make fails with the following: cd ./SourceKittenWrapper && swift build -c release Fetching https://github.com/jpsim/SourceKitten.git Fetching https://github.com/Carthage/Commandant.git Fetching https://github.com/drmohundro/SWXMLHash.git Fetching https://github.com/jpsim/Yams.git Fetching https://github.com/norio-nomura/Clang_C.git Fetching https://github.com/norio-nomura/SourceKit.git Fetching https://github.com/antitypical/Result.git Cloning https://github.com/jpsim/SourceKitten.git Resolving https://github.com/jpsim/SourceKitten.git at 0.17.0 Cloning https://github.com/jpsim/Yams.git Resolving https://github.com/jpsim/Yams.git at 0.1.4 Cloning https://github.com/norio-nomura/SourceKit.git Resolving https://github.com/norio-nomura/SourceKit.git at 1.0.1 Cloning https://github.com/antitypical/Result.git Resolving https://github.com/antitypical/Result.git at 3.2.3 Cloning https://github.com/drmohundro/SWXMLHash.git Resolving https://github.com/drmohundro/SWXMLHash.git at 3.0.3 Cloning https://github.com/norio-nomura/Clang_C.git Resolving https://github.com/norio-nomura/Clang_C.git at 1.0.2 Cloning https://github.com/Carthage/Commandant.git Resolving https://github.com/Carthage/Commandant.git at 0.11.3 error: the package has an unsupported layout, modulemap (/Users/fimkap/.vim/plugged/completor-swift/SourceKittenWrapper/.build/checkouts/SourceKitten.git-6484296299232452758/Source/SourceKittenFramework/clang-c/module.modulemap) is not allowed to be mixed with sources fix: move the modulemap inside include directory make: *** [sourcekitten] Error 1
Changing the version of SourceKitten to 0.18.0 in Package.swift like this: .Package(url: "https://github.com/jpsim/SourceKitten.git", Version(0, 18, 0)) seems to fix this issue.
Thanks for reporting! I pushed a commit to update SourceKitten to 0.18.1 and the issue should be fixed.
macOS 10.12.6 Xcode 9.0 beta 3 make fails with the following: cd ./SourceKittenWrapper && swift build -c release Fetching https://github.com/jpsim/SourceKitten.git Fetching https://github.com/Carthage/Commandant.git Fetching https://github.com/drmohundro/SWXMLHash.git Fetching https://github.com/jpsim/Yams.git Fetching https://github.com/norio-nomura/Clang_C.git Fetching https://github.com/norio-nomura/SourceKit.git Fetching https://github.com/antitypical/Result.git Cloning https://github.com/jpsim/SourceKitten.git Resolving https://github.com/jpsim/SourceKitten.git at 0.17.0 Cloning https://github.com/jpsim/Yams.git Resolving https://github.com/jpsim/Yams.git at 0.1.4 Cloning https://github.com/norio-nomura/SourceKit.git Resolving https://github.com/norio-nomura/SourceKit.git at 1.0.1 Cloning https://github.com/antitypical/Result.git Resolving https://github.com/antitypical/Result.git at 3.2.3 Cloning https://github.com/drmohundro/SWXMLHash.git Resolving https://github.com/drmohundro/SWXMLHash.git at 3.0.3 Cloning https://github.com/norio-nomura/Clang_C.git Resolving https://github.com/norio-nomura/Clang_C.git at 1.0.2 Cloning https://github.com/Carthage/Commandant.git Resolving https://github.com/Carthage/Commandant.git at 0.11.3 error: the package has an unsupported layout, modulemap (/Users/fimkap/.vim/plugged/completor-swift/SourceKittenWrapper/.build/checkouts/SourceKitten.git-6484296299232452758/Source/SourceKittenFramework/clang-c/module.modulemap) is not allowed to be mixed with sources fix: move the modulemap inside include directory make: *** [sourcekitten] Error 1
Changing the version of SourceKitten to 0.18.0 in Package.swift like this: .Package(url: "https://github.com/jpsim/SourceKitten.git", Version(0, 18, 0)) seems to fix this issue.