Tuist Schema Names #186
Replies: 9 comments
-
🤔that's odd, the log function received something foreign or totally unexpected. can paste |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply. Here it is:
|
Beta Was this translation helpful? Give feedback.
-
Okay it seems that the build failed for some reason, that I get, but the error on neovim still puzzles me. Maybe we should check for log arguments. Anyways try to run xcodebuild clean build -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO" SYMROOT=/Users/pierrecapo/Library/Caches/Xbase/Documents_RlMap-ios -workspace RlMap.xcworkspace -scheme RlMap | tee build.log and copy the Also, temporary you can fix the error of the log function by checking for nil in |
Beta Was this translation helpful? Give feedback.
-
Oh this is pretty interesting! It fails to compile because the scheme name picked is not correct (probably a tuist config issue with xbase) When running: I got:
And indeed, I don't have a scheme named like this. |
Beta Was this translation helpful? Give feedback.
-
Oh right, this because xbase right now assumes that xcworkspace/xcodeproj name == main scheme name. @smolck are you still instead in tackling the reading of schemes from xcworkspaces, I believe that snippet I made to read for @PierreCapo btw, what does -list output for you? |
Beta Was this translation helpful? Give feedback.
-
Ah this makes sense! This is what I have on my current project when I call the -list argument:
|
Beta Was this translation helpful? Give feedback.
-
I haven't really gotten to it because of burnout, so if you want to just take over that's fine, you know the codebase better anyways. And if you want to use any of what I've already written, feel free. But yeah I'd say get the list of schemes with that command or otherwise, choose a default one based on some criteria, and then make a picker so the user can change it if they so desire. And perhaps display the default/chosen scheme with the statusline provider or something. |
Beta Was this translation helpful? Give feedback.
-
To clarify the thread, I have created a dedicated issue about the neovim error in #112 and keep this one as a discussion for the scheme name one |
Beta Was this translation helpful? Give feedback.
-
@PierreCapo does this still happen? I don't think we still append -scheme. |
Beta Was this translation helpful? Give feedback.
-
Hello !
Problem
I am installing for the first time Xbase. When I open a folder contening an xcworkspace, this is the error I can see. It looks like Xbase is also not working, as I don't have autocomplete or error reported.
What I have done so far
plugins.lua
file2. Open a folder containing my xcworkspace with neovim : `neovim .`
Thanks in advance for the help
Beta Was this translation helpful? Give feedback.
All reactions