I would like to present a 3D USDZ animation (rotatable, scalable) to the users. The USDZ file contains a rigged 3D character doing push ups.
I can open the file in AR Quick Look without a problem, but could not find a way to present it only as a 3D object and not in the real world.
I have tried using SceneView but the animation did not load. However when I tried a static USDZ file then it worked, but for a USDZ animation it did not.
Post
Replies
Boosts
Views
Activity
I would like to create a custom experience using Group Activities. It would be a simple note-taking app in which the users can create a shared note using SharePlay. The tricky part: I would like to save the created note persistently (using CoreData) on all of the user's devices.
Is it possible to save the data on all of the devices using Core Data or any other technology?
I cannot use entity's playAnimation() (https://developer.apple.com/documentation/realitykit/entity/3335123-playanimation), and I get an error message: 'playAnimation()' is only available in iOS 15.0 or newer.
With the previous Xcode I could use this function for iOS14, but now I can only use it for iOS15 or newer.
Is there any way I can support this feature for iOS14?
It is possible with SceneKit, but I haven’t found any way for RealityKit.
From Xcode 14.1 beta 6, the widgets (both Home and Lock Screen) are not showing in the Widget Gallery. Has anyone else experienced this issue?
I would like to use the GroupActivitySharingController, but it seems it is not available for macCatalyst. On the iOS version, it works.
The documentation says that it should be available for catalyst: https://developer.apple.com/documentation/groupactivities/groupactivitysharingcontroller
Error message: "Cannot find 'GroupActivitySharingController' in scope"
Is there anything I have missed?
Thanks,
I would like to remove the title bar of the catalyst version of my app, but it does not work on Ventura. It used to work on Monterey.
I am using AppDelegate lifecycle.
I am following the official documentation: https://developer.apple.com/documentation/uikit/mac_catalyst/removing_the_title_bar_in_your_mac_app_built_with_mac_catalyst
The code:
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = (scene as? UIWindowScene) else { return }
#if targetEnvironment(macCatalyst)
if let titlebar = windowScene.titlebar {
titlebar.titleVisibility = .hidden
titlebar.toolbar = nil
}
#endif
}
I am using CustomIntentMigratedAppIntent shortcuts actions.
When I want to show them in a SiriTipView, then it does not show up.
I get two messages in the console:
"[Metadata] Couldn't read autoShortcutProviderMangledName key from metadata."
"Provided AppIntent does not match an App Shortcut, SiriTipView will not display."
In the previous Xcode it worked well.
I am building a document-based app with SwiftUI, but whenever I want to create a document in the app, the app shows an alert with the following title: "The document could not be opened"
I hit the same problem with Apple's sample project: https://developer.apple.com/documentation/swiftui/building_a_document-based_app_with_swiftui
The interesting part is that I only get this error message when I am creating a new file from the "Recents" tab, but when I am creating it from the "Browse" tab, then it works.
The beta testers from my app are also experiencing this issue, and they use multiple types of OS versions, and they have enough storage to create the files.
The documentation says that MeshAnchor should have a property with enum MeshAnchor.MeshClassification type to get the classification of the mesh (if it is a floor, furniture, table etc...)
Is there a way to access this property?
From the Apple visionOS ARKit scene reconstruction, we can get the geometry of the 3D objects: MeshAnchor.Geometry. I have tried calculating the bounding box of it but had no success.
How could we calculate the width, height and depth from the MeshAnchor.Geometry?
WindowGroups have ids, like this: WindowGroup(id: "window_id"), but DocumentGroups do not have. So opening like this does not work: openWindow(id: "window_id").
The problem is that if the user dismisses the DocumentGroup, there is no way to reopen it again.
We are preparing a launch for iOS 18, and we experienced crashes from iOS 17 devices. If I load the app right from Xcode 16 RC to the iOS 17 device, then it works fine, but if I download it from TestFlight, the nit crashes.
The app crashes immediately upon launch due to a missing symbol in the Foundation framework. I'm hoping someone can provide insights or suggestions on how to resolve this.
Error Message
CopySymbol not found: _$s10Foundation14NSDecimalRoundyySpySo0B0aG_SPyADGSiSo14NSRoundingModeVtF
Referenced from: <C1ABDA48-29EE-3674-8554-669220A76F81> /Volumes/VOLUME/*/CamPlan.app/CamPlan
Expected in: <D92E19C1-6299-3E94-8614-C505D5ABCCDB> /System/Library/Frameworks/Foundation.framework/Foundation
What I've Tried
Verified that the app is compiled with the latest Xcode version
Checked for any usage of private APIs (none found)
Reviewed usage of Foundation framework methods, especially those related to NSDecimalRound
Questions
What could be causing this symbol to be missing?
Are there any known issues with NSDecimalRound or related functions in recent iOS versions?
How can I identify which part of my code is trying to use this missing symbol?
I am using a Mac Catalyst with SwiftUI for our document-based app with DocumentGroup. The issue is that when we create a new document or open an existing one, the opened view is completely blank. It is only blank/empty when the "Optimzie for Mac" is checked. If it is "Scaled t oMatch iPad", then it works well.
Xcode 16.1
macOS 15.1
struct DocumentGroupTestApp: App {
var body: some Scene {
DocumentGroup(newDocument: WritingAppDocument()) { file in
TestView() // it is empty when it gets opened. It does not work if the option "Optimize for Mac" is checked. If it is scale iPad, then it works.
}
}
}
struct TestView: View {
var body: some View {
Text("Hello, World!")
}
}