I want to create my own Framework that will use RealityKit functionalities. Framework project compiles properly without errors, but when I import it to my new project and try to compile I get an error
"Module 'RealityKit' not found"
Can I add RealityKit somehow to my Framework so it will be included or should I change path somewhere ?
When I import RealityKit directly to new project it works, but when I try importing my Framework I get this error.
I get the error at this point in MyFramework-Swift.h
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import ARKit;
@import CoreGraphics;
@import Foundation;
@import QuartzCore;
@import RealityKit; // Module 'RealityKit' not found
@import UIKit;
#endif