Skip to content

Build errors on macOS Mojave + Xcode 10.1 #106

Description

@kimio-kosaka
  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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions