Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors on macOS Mojave + Xcode 10.1 #106

Closed
kimio-kosaka opened this issue Dec 2, 2018 · 2 comments
Closed

Build errors on macOS Mojave + Xcode 10.1 #106

kimio-kosaka opened this issue Dec 2, 2018 · 2 comments

Comments

@kimio-kosaka
Copy link

kimio-kosaka commented Dec 2, 2018

  1. I tried to build xsbug on mac.

  2. my develop environment is
    macOS ver.10.14.1 Mojave
    Xcode Ver.10.1(10B61)

  3. Build errors are follows.
    --- build messages----
    $ make
    .....
    (many messages)
    .....
    make -f serial2xsbug.mk
    # serial2xsbug debug : cc serial2xsbug.c
    # serial2xsbug debug : cc serial2xsbug
    make -f simulator.mk
    # simulator debug : cc main.m
    # simulator debug : cc simulator
    xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
    make[1]: *** [/Users/kim/Projects/moddable/build/bin/mac/debug/Screen Test.app/Contents/Resources/English.lproj/main.nib] Error 1
    make: *** [debug] Errr 2

    $

  4. So, I tried follows
    $ sudo xcode-select -s /Applications/Xcode.app/Contents
    $ make clean
    $ make

  5. The build was completed.

  6. Is this build method correct?

@mkellner
Copy link
Collaborator

mkellner commented Dec 3, 2018

Hello, if your build completes and runs, then yes, I believe you've got it.

This link shows a similar question and answer.

@mkellner
Copy link
Collaborator

mkellner commented Dec 7, 2018

If you have any other problems with this, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants