Post

Replies

Boosts

Views

Activity

Reply to -[UTType conformsToType:] broken in iOS15?
For anyone who runs into this, the problem was that the app was running in Rosetta mode (Intel on Apple Silicon), which I wasn't aware of until I was researching other error messages from the simulator. If you have a look in Activity Monitor you can see if your app runs Apple or Intel in the "Kind" column. Running the simulator in Intel/Rosetta mode on Apple Silicon is not supported, so it's weird that you can make it by changing Build Settings | Excluded Architectures = arm64 (for iOS Simulator). This fairly complex app ran fine except for these UTType issues. The reason for running in Intel mode was an included static library C++ library. I had to change the compilation of that library to be a .xcframework instead of just a fat library (multiple processor slices) and make an entry for the simulator that has both x86_64 and arm64 slices. App is now running arm64 in the simulator and all 3 lines now return YES.
Oct ’21