Closed jwyterlin closed 1 year ago
@jwyterlin Do the test changes need to be in this PR? The cassert header part should probably be added, but the test changes would need further review/explanation.
@jwyterlin Do the test changes need to be in this PR? The cassert header part should probably be added, but the test changes would need further review/explanation.
No, they are not needed for the cassert header part.
But when I ran the unit tests, they did not pass.
That was the reason I changed the tests.
As I can see here now, the CI is raising other errors beyond the Test Matrix.
All the failures tell us that compiler is not finding the method loadUnaligned(fromByteOffset:as:)
for UnsafeRawPointer
Compilers: Swift 5.5 and 5.6 Equivalent Xcode versions: Xcode 13.3, Swift 5.6, Released at March 14th 2022 Xcode 13.0, Swift 5.0, Released at September 20th 2021
but this method is available since iOS 8.0 ( Link here )
Would it be possible to update the Xcode version? Or do you guys prefere to support these old versions too?
This PR fixes an issue that prevents to build it for Xcode 15. Because of the new Swift compiler (5.9) it's needed to include cassert header.
Here is the error compiler outputs:
In the build report too: