Comments (6)
seems you use custom swiftc to build. add --skip-validate-bin flag to your parse of config command.
from xcode-build-server.
@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.
Anyway thanks for your time! You helped me a lot!
from xcode-build-server.
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.
my output ends with /Build/Products/Debug-iphoneos and i believe it is default for bazel generated project
from xcode-build-server.
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.
from xcode-build-server.
Related Issues (20)
- Indexing a new file HOT 73
- Support for Xcode 15.3 HOT 9
- iOS project issues with XCode 15.3 HOT 19
- Question: is LSP restart required after updating `buildServer.json`? HOT 1
- Parse log with UnicodeDecodeError HOT 2
- Does this works with bazel? HOT 2
- Xcode 15.3 - loading standard library failed error HOT 11
- Does it work with Clang or ObjectiveC? HOT 8
- Description of the process HOT 3
- Detecting changes in other files HOT 12
- Does this project work with Cocoapods? HOT 1
- Is it possible to support generated `.swiftinterface` files? HOT 1
- [Fix] Cross References Not Working with LSP HOT 2
- False positives (for functions) and duplicates (for properties) for vim.lsp.buf.definition() HOT 12
- Issues with Autocomplete HOT 2
- Document setting correct sourcekit-lsp path HOT 1
- Xcode 16 beta support HOT 5
- [Proposal] Support for multiple schemes HOT 1
- Errors in LSP logs HOT 21
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 xcode-build-server.