Description
line 161 of UINavigationPath: fileprivate var elements: [Element] = []
is throwing this error: Unable to serialize this unknown type.
I created a Reality Composer pro project, it creates a swift package that it serializes to reduce the time to load things into memory. I imported another swift package that has the composable architecture as a dependency, when I try to build everything I get these errors:
Finished processSwiftFiles() with code incompatibility issues, failure
Failure creating schema - 'The operation couldn’t be completed. (realitytool.RKAssetsCustomComponentsSchemaHandler.DerivedDataError error 3.)'
and the above mentioned error from the UINavigationPath file.
Checklist
Expected behavior
I expected it to be compatible with the Reality Composer pros serialization procedure.
Actual behavior
No response
Steps to reproduce
- create a Reality Composer pro project
- create another swift package that has the composable architecture as a dependency
- import the second swift package into the Reality Composer pro project as a swift package dependency.
- build
SwiftUI Navigation version information
2.23
Destination operating system
.visionOS(.v2), .macOS(.v15), .iOS(.v18)
Xcode version information
Xcode 16.2
Swift Compiler version information
swift 6, swift-tools-version:6.0
Description
line 161 of UINavigationPath: fileprivate var elements: [Element] = []
is throwing this error: Unable to serialize this unknown type.
I created a Reality Composer pro project, it creates a swift package that it serializes to reduce the time to load things into memory. I imported another swift package that has the composable architecture as a dependency, when I try to build everything I get these errors:
Finished processSwiftFiles() with code incompatibility issues, failure
Failure creating schema - 'The operation couldn’t be completed. (realitytool.RKAssetsCustomComponentsSchemaHandler.DerivedDataError error 3.)'
and the above mentioned error from the UINavigationPath file.
Checklist
mainbranch of this package.Expected behavior
I expected it to be compatible with the Reality Composer pros serialization procedure.
Actual behavior
No response
Steps to reproduce
SwiftUI Navigation version information
2.23
Destination operating system
.visionOS(.v2), .macOS(.v15), .iOS(.v18)
Xcode version information
Xcode 16.2
Swift Compiler version information