-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Xcode 14.0+ Swift driver #153
Comments
Is it possible to change the behavior of swift driver through custom toolchain? |
@ainopara, I don't think so. Even if you change a toolchain, (at least for the non SPM-project) Xcode triggers a step |
Just in case, I'm experiencing a problem with Xcode 14.2 (using the cocoapods plugin): SWIFT_USE_INTEGRATED_DRIVER is set to NO, SWIFT_EXEC is overridden to ".../xcswiftc" (all of that is set automatically by the plugin, as result of the cache hit), however, when building in Xcode, it still uses |
If Xcode invokes To trace the cache miss reason, I would look for logs (docs). |
The output says "Disabled remote cache for" indeed, thanks! Will take a look on it. |
And I figured it out that it indeed invokes xcswiftc first, I apologise for the confusion. |
Expected/desired behavior
Xcode 14 introduced the new swift driver that changes the way swift-frontent commands are invoked.
This change is not yet compatible with the simplest
SWIFT_EXEC
override, so for now disabling the new driver has been applied in #152. However, for a full advantage of swift driver, XCRemoteCache could actively integrate into the Xcode <-> swift-driver communication messages - for now, the approach is still unknown.Relevant integration setup
xcprepare integrate ...
The text was updated successfully, but these errors were encountered: