Code Monkey home page Code Monkey logo

Comments (6)

SolaWing avatar SolaWing commented on September 14, 2024 1

seems you use custom swiftc to build. add --skip-validate-bin flag to your parse of config command.

from xcode-build-server.

ychie avatar ychie commented on September 14, 2024

@SolaWing it is working! But with some minor issue.

I also noticed that generated buildServer.json build_root value for some reason is pointing deeper into project's DerivedData directory, which does not happen when it is generated for default .xcodeproj. When i manually remove redundant part that is highlighted on the picture auto completion begin to work as expected. Maybe you know what may be causing this.
Screenshot 2024-08-07 at 18 42 37

Anyway thanks for your time! You helped me a lot!

from xcode-build-server.

SolaWing avatar SolaWing commented on September 14, 2024

what is your xcodebuild -showBuildSettings output? did you change build_dir? build_root get from following script:

    cmd = f"""xcodebuild -showBuildSettings -workspace '{workspace}' -scheme '{scheme}' 2>/dev/null | grep "\\bBUILD_DIR =" | head -1 | awk -F" = " '{{print $2}}' | tr -d '"' """
    build_dir = subprocess.check_output(cmd, shell=True, universal_newlines=True)
    build_root = os.path.join(build_dir, "../..")
    build_root = os.path.abspath(build_root)
    print("find root:", build_root)

in my test for xcode, it output end with Build/Products, and two parent is build_root dir..

from xcode-build-server.

ychie avatar ychie commented on September 14, 2024

my output ends with /Build/Products/Debug-iphoneos and i believe it is default for bazel generated project

from xcode-build-server.

SolaWing avatar SolaWing commented on September 14, 2024

what's your full output for xcodebuild -showBuildSettings? I am trying to find a path that compatible with xcode and bazel output..

from xcode-build-server.

ychie avatar ychie commented on September 14, 2024

build_settings.txt

from xcode-build-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.