I am having a lot of issues with Xcode vanishing, it is not even reporting a crash, just disappears. Not doing anything complex, just small projects with basic Swift & SwiftUI. It has only started happening with Beta 4, had no issues previously.
Xcode Version 12.0 beta 4 (12A8179i)
macOS Big Sur 11.0 Beta 4 (20A5343i)
macBook Pro 16
Post
Replies
Boosts
Views
Activity
Hi, yup, I have this same issue, SF1 and SF2_Beta both worked fine but SF2 just quits unexpectedly on startup.
The solution would seem to be to completely delete the application and re-install. I suspect there might have been something hanging around from the previous SF Symbols 2 Beta install. Give that a try its seems to have worked for me.
Not sure if this is what your after, but it might help ...
struct ContentView: View {
var body: some View {
VStack(spacing: 100) {
ShadowView(color: .red)
.shadow(color: .black, radius: 10, x: 0.0, y: -5.0)
ShadowView(color: .green)
.shadow(color: .black, radius: 10, x: 0.0, y: 0.0)
.shadow(color: .black, radius: 10, x: 0.0, y: 0.0)
ShadowView(color: .blue)
.shadow(color: .black, radius: 30, x: 0.0, y: 20.0)
}
}
}
struct ShadowView: View {
var color: Color
var body: some View {
RoundedRectangle(cornerRadius: 25.0)
.fill(color)
.frame(width: 200, height: 100)
}
}
Great news, adding pictures is a big one for me, particularly when trying to explain visuals, nice work!
I am also seeing some anomalies in Xcode 13.Beta3
// Renders image red
struct ListSingleView: View {
var body: some View {
List {
Label("SINGLE", systemImage: "map").listItemTint(.red)
}
}
}
// Renders image default
struct ListRangeView: View {
var body: some View {
List(0 ..< 3) { _ in
Label("RANGE", systemImage: "map").listItemTint(.red)
}
}
}
I have had this issue (lag / delay when typing in Xcode) with my wireless Apple keyboard, the usual off/on cycle seems to fix it for me.
Hiya, when you say "works for me" you mean that it's displaying the literals correctly in the IDE (i.e. showing two color literals as in the example "B" below). Just checking ...
My question is should the Xcode IDE be displaying a color swatch 🟥 in the View shown, instead of just converting it to text "Color(#colorLiteral(red: 0.292, green: 0.081, blue: 0.6, alpha: 255))"
Not as of Xcode 13.2 Beta2, color literals display as a swatch in some places, but not others.
What I am seeing is this:
What I would like to see is this:
Hi, LineMark uses a single collar, try PointMark in your example above.