diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0349c2..7763e61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: include: - branch: development tag: DEVELOPMENT-SNAPSHOT-2024-02-08-a - options: -Xswiftc "-I${env:SDKROOT}\usr\lib\swift_static\windows" + options: -Xswiftc "-I${env:SDKROOT}\usr\lib\swift_static\windows" -Xswiftc "-I${env:SDKROOT}\..\..\..\..\..\..\Toolchains\0.0.0+Asserts\usr\include" name: Swift ${{ matrix.tag }} diff --git a/Sources/firebase/include/FirebaseCore.hh b/Sources/firebase/include/FirebaseCore.hh index 8427ffe..0522b4e 100644 --- a/Sources/firebase/include/FirebaseCore.hh +++ b/Sources/firebase/include/FirebaseCore.hh @@ -3,7 +3,7 @@ #include -#include +#include namespace swift_firebase::swift_cxx_shims::firebase { @@ -14,7 +14,7 @@ typedef void (*FutureCompletionType)(void*); // Swift. We can ignore the `FutureBase` param as the Swift caller can just // retain the Future as part of its closure. template -class __attribute__((swift_attr("conforms_to:FirebaseCore.FutureProtocol"))) +class SWIFT_CONFORMS_TO_PROTOCOL(FirebaseCore.FutureProtocol) Future : public ::firebase::Future { public: typedef R ResultType;