Describe the bug
As long as I specify the SDK to iOS in settings or use "Select target platform" to select iOS, then code completion is stop working. Seems currently only MacOS SDK is working for me....
To Reproduce
Steps to reproduce the behavior:
create a swift package by using xcode. And then create a simple swiftui view:
// Sources/MyLibrary/MyLibrary.swift
import SwiftUI
public struct MyLibraryView: View {
public init() {} // Add an initializer if needed
public var body: some View {
VStack {
Text("Hello, iOS!")
.frame(width: 100, height: 100, alignment: .center)
}
}
}
specify the sdk path to simulator sdk or use "Select target platform" to select iOS
All the code completion is stop working
I am not seeing any errors in output
Expected behavior
The code completion should always working not matter what sdk are using.
Environment
OS: macOS Sonoma version 14.4.1 (I am using m2 macbook pro laptop)
Swift version (output of swift --version)
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
Describe the bug As long as I specify the SDK to iOS in settings or use "Select target platform" to select iOS, then code completion is stop working. Seems currently only MacOS SDK is working for me....
To Reproduce Steps to reproduce the behavior:
Expected behavior The code completion should always working not matter what sdk are using.
Environment
swift --version
) swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) Target: arm64-apple-macosx14.0Additional context NA