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
SwiftCompile Error in Xcode 15.0 beta 5 for EventEmitter.swift from Supabase Swift SD #329
Comments
Hi @Stp155906 please always use a stable version of Xcode. If you're seeing this on a stable version, please paste the logs for the build failure you're getting. Thanks. |
That log message is an Xcode issue, unrelated to Supabase, you can check how to fix it in https://stackoverflow.com/questions/78129981/logging-error-failed-to-initialize-logging-system-log-messages-may-be-missing. Regarding the Use https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app as a guide. |
Here is the info: SwiftCompile normal arm64 Compiling\ EventEmitter.swift /Users/shantaliaz/Library/Developer/Xcode/DerivedData/SupabaseDemoTwo-arjvyxxexudwpibuafncjnoyzlgg/SourcePackages/checkouts/supabase-swift/Sources/_Helpers/EventEmitter.swift (in target '_Helpers' from project 'Supabase') Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
|
Bug report
Describe the bug
i am experiencing a compatibility issue with the supabase swift package when using xcode 15.0 beta 5. the swiftui preview for contentview.swift is not compiling, and i am receiving a swiftcompile error related to eventemitter.swift within the supabase package. this specific issue does not occur in other projects that use other packages using a stable version of xcode..but when using this package the issue pops up.
To Reproduce
steps to reproduce the behavior:
open the project in xcode 15.0 beta 5 or newer xcode version
attempt to run swiftui preview for contentview.swift.
observe that the preview fails to build, with a compiler error pointing to files within the supabase swift package
Expected Behavior
The package should compile without errors, allowing the project to build successfully or previews to generate.
Actual Behavior
The build process fails during the SwiftCompile phase for
EventEmitter.swift
with a nonzero exit code.Screenshots
If applicable, add screenshots to help explain your problem.
System information
os: [e.g., macos]
version of supabase-swift: [e.g., 2.6.0]
xcode version: 15.0 beta 5 (15a5209g) or higher
Additional context
troubleshooting steps i have already attempted include:
cleaning the build folder and deleting derived data.
removing and re-adding the supabase swift package.
checking for updates on the supabase swift package.
simplifying the contentview to contain just a text view.
Issue Summary
I am encountering a build failure when compiling
EventEmitter.swift
from the Supabase Swift SDK. This issue arises both when using the stable release of Xcode and Xcode 15.0 beta 5. The error occurs during the SwiftCompile task and results in a nonzero exit code, suggesting a compatibility issue with both versions of XcodeI have encountered this in both the stable release and the beta version of Xcode, as this could be a broader compatibility issue
The text was updated successfully, but these errors were encountered: