xbase
xbase copied to clipboard
Issue executing run picker, attempt to get length of local 'devices'
Editor/Client you used
Neovim
Installation and Dependences checklist
- [ ] xbase is installed and ~/.local/share/xbase has required binaries
- [ ] All listed editor/client dependences is installed
Description
Getting the following error for an xcode swift project targeting macOS as device.
E5108: Error executing lua: ...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: attempt to get length of local 'devices' (a nil value)
Expected behavior
To work.
Reproduce
Just imported my project and try yo run picker for run. Picker for build and all work just fine.
Actual behavior
Getting this error:
E5108: Error executing lua: ...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: attempt to get length of local 'devices' (a nil value)
stack traceback:
...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: in function 'devices'
.../.local/share/nvim/lazy/xbase/lua/xbase/pickers/util.lua:90: in function 'iterate'
.../.local/share/nvim/lazy/xbase/lua/xbase/pickers/util.lua:112: in function 'generate_entries'
...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:50: in function 'find'
...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:76: in function <...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:73>
Operating system and version
macOS 14.1.1
xbase version / branch / rev
master
Neovim version
nvim v0.9.5
Vscode version (if the editor you used is vscode)
No response
Installed XCode Developer Tools
Developer:
Developer Tools:
Version: 15.4 (15F31d)
Location: /Applications/Xcode.app
Applications:
Xcode: 15.4 (22622)
Instruments: 15.3 (64565.112)
SDKs:
DriverKit:
23,5:
iOS:
17,5: (21F77)
iOS Simulator:
17,5: (21F77)
macOS:
14,5: (23F73)
tvOS:
17,5: (21L566)
tvOS Simulator:
17,5: (21L566)
visionOS:
1,2: (21O5565d)
visionOS Simulator:
1,2: (21O5565d)
watchOS:
10,5: (21T569)
watchOS Simulator:
10,5: (21T569)
XBase Logs
INFO Client{fd=16}: Connected
│ INFO Broadcaster{name="ShortcutHero"}: Connected [73809]
│ INFO Runtime{name="ShortcutHero"}: Connected [73809]
│ INFO Client{fd=16}: Disconnected
│ INFO Runtime{name="ShortcutHero"}: Disconnected [73809]
│ INFO Client{fd=16}: Connected
│ INFO Broadcaster{name="ShortcutHero"}: Connected [74497]
│ INFO Runtime{name="ShortcutHero"}: Connected [74497]
│ INFO Client{fd=16}: Disconnected
│ INFO Runtime{name="ShortcutHero"}: Disconnected [74497]
XBase Build Server Logs
│ INFO xbase_sourcekit_helper: Started
│ INFO xbase_sourcekit_helper: Initialized
│DEBUG xbase_sourcekit_helper: [Configuration.swift] Querying compile_db
│ INFO xbase_sourcekit_helper:
│ INFO xbase_sourcekit_helper: Started
│ INFO xbase_sourcekit_helper: Initialized
│ INFO xbase_sourcekit_helper: Started
│ INFO xbase_sourcekit_helper: Initialized
│DEBUG xbase_sourcekit_helper: [Configuration.swift] Querying compile_db
│ INFO xbase_sourcekit_helper:
Hey I have the same problem
I think this is due to the fact that macOS is not run via a simulator, as it is the device you're developing on, however i don't know how to run on macOS since it gives me the same error.