emacs-lsp / lsp-sourcekit

lsp-mode :heart: Apple's sourcekit
https://emacs-lsp.github.io/lsp-sourcekit
GNU General Public License v3.0
103 stars 13 forks source link

no such module 'UIKit' #17

Open DanielLiuCD opened 3 years ago

DanielLiuCD commented 3 years ago

this is my configuration:

(use-package lsp-sourcekit
  :ensure t
  :after lsp-mode
  :config
  (setq lsp-sourcekit-executable "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp")
  (setq lsp-sourcekit-extra-args (quote
                  ("-Xswiftc" "-sdk" "-Xswiftc" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" "-Xswiftc" "-target" "-Xswiftc" "x86_64-apple-ios13.6-simulator")
                  )
    )
  )
danielmartin commented 3 years ago

Could you provide a sample project to reproduce the issue?

DanielLiuCD commented 3 years ago

Could you provide a sample project to reproduce the issue? testIOS.zip