Swift Compile error on first compile: Main actor-isolated default value in a nonisolated context
Steps to reproduce
I have installed SkipTools and all the checkups are OK.
I then created a Project with: skip init --transpiled-app --appid=ItMk.SkipTrial project-name SkipTrial
I then open the workspace project.xcworkspace in /project-name ....
I hit run and get a compile error
Actual results
I am getting the following error in main.swift
class AppMainDelegate: NSObject, AppMainDelegateBase {
let application = AppType.shared
ERROR: Main actor-isolated default value in a nonisolated context
Logs
Logs
<!-- Paste your logs here -->
Skip Checkup output
Checkup output
<!-- Paste your output here -->
What version of Xcode is this? We don't quite support Xcode 26 yet. But that particular error can probably be worked around by annotating the AppMainDelegate with @MainActor.
I am using Version 16.4 (16F6)
I did try the annotation you suggested and it worked so for now I can move on trying things out.