Comments (7)
I am able to build the project using XCode9.2 and swiftc 4.0.3 without converting the project to swift 4.
can you try running the build from the command line
xcodebuild -scheme autokbis build
here is what I get when I do
xcodebuild -scheme autokbis build
=== BUILD TARGET autokbisw OF PROJECT autokbisw WITH CONFIGURATION Debug ===
Check dependencies
Ld /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw normal x86_64
cd /Users/jean/dev/opt/autokbis
export MACOSX_DEPLOYMENT_TARGET=10.11
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug -F/Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug -filelist /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Intermediates.noindex/autokbisw.build/Debug/autokbisw.build/Objects-normal/x86_64/autokbisw.LinkFileList -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.11 -Xlinker -object_path_lto -Xlinker /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Intermediates.noindex/autokbisw.build/Debug/autokbisw.build/Objects-normal/x86_64/autokbisw_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx -Xlinker -force_load_swift_libs -lc++ -framework Foundation -Xlinker -add_ast_path -Xlinker /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Intermediates.noindex/autokbisw.build/Debug/autokbisw.build/Objects-normal/x86_64/autokbisw.swiftmodule -framework IOKit -Xlinker -dependency_info -Xlinker /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Intermediates.noindex/autokbisw.build/Debug/autokbisw.build/Objects-normal/x86_64/autokbisw_dependency_info.dat -o /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw
PBXCp /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/Users/jean/dev/opt/autokbis/autokbisw
cd /Users/jean/dev/opt/autokbis
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/Users/jean/dev/opt/autokbis
CodeSign /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/Users/jean/dev/opt/autokbis/autokbisw
cd /Users/jean/dev/opt/autokbis
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Mac Developer: [email protected] (YGZKS4883C)"
/usr/bin/codesign --force --sign CFDF4AD28D97C7B21CD02C6BD1E95F4398F43937 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/Users/jean/dev/opt/autokbis/autokbisw
CodeSign /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw
cd /Users/jean/dev/opt/autokbis
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Mac Developer: [email protected] (YGZKS4883C)"
/usr/bin/codesign --force --sign CFDF4AD28D97C7B21CD02C6BD1E95F4398F43937 --timestamp=none /Users/jean/Library/Developer/Xcode/DerivedData/autokbisw-aiutnrbhxysoupcydtkhcozxjinv/Build/Products/Debug/autokbisw
** BUILD SUCCEEDED **
please note that I am not highly familiar with xcode and swift. I am aware the xcode project descriptor has hardcoded paths and may have depedencies on my credential but I haven't found a way around it. Insights are welcome !
from autokbisw.
running it from the command line I get:
[...]
:0: error: no such file or directory: '/Users/niccolospagnuolo/Downloads/autokbisw-master-2/autokbisw/CommandLineKit/CommandLineKit/StringExtensions.swift'
:0: error: no such file or directory: '/Users/niccolospagnuolo/Downloads/autokbisw-master-2/autokbisw/CommandLineKit/CommandLineKit/CommandLine.swift'
:0: error: no such file or directory: '/Users/niccolospagnuolo/Downloads/autokbisw-master-2/autokbisw/CommandLineKit/CommandLineKit/Option.swift'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(1 failure)
from autokbisw.
Solved...I was missing CommandLineKit
from autokbisw.
I have tried to make the need to clone --recursive
more obvious in the readme file.
from autokbisw.
@niccolospa Hi, I'm having the same problem, how did you fix it with commandLinekit?
from autokbisw.
@Fayfayhu if you simply download the zip package you will miss the CommandLineKit dependency, therefore or you use clone --recursive
or navigate to the GitHub folder autokbisw/CommandLineKit and download it separately
from autokbisw.
@niccolospa Thank you!
from autokbisw.
Related Issues (20)
- rookie question! HOT 1
- create homebrew formula HOT 12
- cp: bad substitution HOT 4
- OSX login HOT 7
- Forcing layout? HOT 8
- Triggered by mouse? HOT 2
- Doesn't seem to be working with Mojave HOT 9
- Work with Karabiner-Elements HOT 8
- Feature: Also store switching of modifier keys for each keyboard HOT 2
- Xcode requirement ? HOT 9
- Unfortunately, not working with my setup HOT 2
- Stops working after sleep HOT 4
- Apple M1: can't install via Homebrew HOT 4
- Installation from binaries issue HOT 4
- Sees two BT Magic Keyboards as the same device
- Install with brew faild on MacOS 11.6 HOT 1
- Project migrated to new repository (was Working build on Monterey) HOT 2
- Save settings on restart HOT 2
- Multiple external keyboards HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autokbisw.