Post

Replies

Boosts

Views

Activity

Low frame rate on new iPad Pro
I have noticed lag and low frame rate (30-36fps) in ARKit apps built with Xcode 11.4 on the new iPad Pro (12.9" 4th gen). Exisitng AR apps from the App Store and AR QuickLook work as expected. The same apps built with Xcode 11.4 run well on my iPhone XR. For an example, I ran the RealityKit template app with no modifications on each device, and the iPad has anywhere from 30-36 fps fps while the iPhone stays constant at 60 fps. Is anyone else experiencing this issue? Thanks!
6
0
3.8k
Mar ’20
SwiftUI previews stopped working everywhere after using EnvironmentObject
I added @EnvironmentObject to a property in a SwiftUI view as part of the official tutorial Adding User Interaction and added the .environmentObject modifier to the preview. However, I get the error:Cannot preview in this file - MyApp.app may have crashedThis error now appears in every SwiftUI project, even ones without EnvironmentObject or a blank SwiftUI template, so I cannot use previews. I have tried rebooting several times, and made sure the command line tools are set to Xcode 11. How can I fix this? Thanks!
14
0
18k
Jul ’19