Post

Replies

Boosts

Views

Activity

Having an issue with using a custom component with Reality Composer Pro
We have a project which is currently being built as a XCFramework. The framework contains a custom component to be used with entities in Reality Composer Pro. I have tried to se set the RCP Package.swift file to reference the framework package for the in the dependancies. Nothing that I do with the folder path to reference the code is working. Do I need to change the project to be using Swift source code instead of a XCFramework? The component needs to be in the framework as there is a class in the framework that works directly with the custom compoent. I am able to reference the XCFramework as a Swift Package with other projects.
2
0
159
Apr ’25
Cannot build a project when both Xcode 15 & Xcode 16 are installed
I wanted to try running my project using Xcode 16 - I am using beta 4.It seems I cannot have both Xcode 15 & 16 installed at the same time. I have a project with visionOS & iOS build targets. The following error occurs in Xcode 16: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/swift/bridging.modulemap:13:8 redefinition of module 'SwiftBridging' I did try removing Xcode 15 as a test & that worked but that is not a solution. Is there a way I can have both apps installed?
2
1
893
Aug ’24
Using a scene from Reality Composer Pro in an IOS app?
I am trying to establish a workflow with using Reality Composer Pro to make scenes - I am grey boxing a scene using primitives at the moment. I have set up a cube with a texture material and a simple animation to spin. I am confused as to what I should be loading. I have created what I think is a scene asset in the package for the Reality Composer Project. Here is a code snippet: struct ContentView: View { var body: some View { RealityView { content in do { let scene = try await ModelEntity(named: "HOF") content.add(scene) } catch { print("Error loading scene: \(error.localizedDescription)") } } } } Here is the project layout in Reality Composer Pro:
2
0
967
Jun ’24
bug visionOS and the storyboard key in the plist?
I have an older app that is a mix of Swift & Objective-C. I have 2 groups of storyboards for the iPhone and the iPad using storyboard references. There seems to be a bug, when using the Simulator, it is loading the storyboard specified by the key "Main storyboard file base name" and not using the key "Main storyboard file base name (iPad)". I did change the first key to use the iPad storyboard & it then worked as expected in the visionOS simulator. The raw keys are: UIMainStoryboardFile UIMainStoryboardFile~ipad What should I do?
0
0
803
Jul ’23
Having an issue with using a custom component with Reality Composer Pro
We have a project which is currently being built as a XCFramework. The framework contains a custom component to be used with entities in Reality Composer Pro. I have tried to se set the RCP Package.swift file to reference the framework package for the in the dependancies. Nothing that I do with the folder path to reference the code is working. Do I need to change the project to be using Swift source code instead of a XCFramework? The component needs to be in the framework as there is a class in the framework that works directly with the custom compoent. I am able to reference the XCFramework as a Swift Package with other projects.
Replies
2
Boosts
0
Views
159
Activity
Apr ’25
Having an alpha channel translucency on a plane with RCP
I have a plane with a texture that was made in Blender & then exported using the Reality Converter from a USDC to a USDZ. The translucency looks 100% translucent in RCP but it looks a bit like glass with some reflection in a Reality Kit scene in visionOS. Is there a material setting that I need to change?
Replies
0
Boosts
0
Views
726
Activity
Aug ’24
Cannot build a project when both Xcode 15 & Xcode 16 are installed
I wanted to try running my project using Xcode 16 - I am using beta 4.It seems I cannot have both Xcode 15 & 16 installed at the same time. I have a project with visionOS & iOS build targets. The following error occurs in Xcode 16: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/swift/bridging.modulemap:13:8 redefinition of module 'SwiftBridging' I did try removing Xcode 15 as a test & that worked but that is not a solution. Is there a way I can have both apps installed?
Replies
2
Boosts
1
Views
893
Activity
Aug ’24
Using a scene from Reality Composer Pro in an IOS app?
I am trying to establish a workflow with using Reality Composer Pro to make scenes - I am grey boxing a scene using primitives at the moment. I have set up a cube with a texture material and a simple animation to spin. I am confused as to what I should be loading. I have created what I think is a scene asset in the package for the Reality Composer Project. Here is a code snippet: struct ContentView: View { var body: some View { RealityView { content in do { let scene = try await ModelEntity(named: "HOF") content.add(scene) } catch { print("Error loading scene: \(error.localizedDescription)") } } } } Here is the project layout in Reality Composer Pro:
Replies
2
Boosts
0
Views
967
Activity
Jun ’24
bug visionOS and the storyboard key in the plist?
I have an older app that is a mix of Swift & Objective-C. I have 2 groups of storyboards for the iPhone and the iPad using storyboard references. There seems to be a bug, when using the Simulator, it is loading the storyboard specified by the key "Main storyboard file base name" and not using the key "Main storyboard file base name (iPad)". I did change the first key to use the iPad storyboard & it then worked as expected in the visionOS simulator. The raw keys are: UIMainStoryboardFile UIMainStoryboardFile~ipad What should I do?
Replies
0
Boosts
0
Views
803
Activity
Jul ’23