Fatal safeAreaInsets Error on Certain iOS/iPadOS 26 Devices
On certain devices that have updated to iOS/iPadOS 26, the safeAreaInsets value is displayed incorrectly when rotating.
On the iPhone SE3, the safeAreaInsets.top value is displayed inverted when rotating.
It should return 20.0 when rotated vertically and 0.0 when rotated horizontally.
Currently, the value is reversed.
(0.0 when rotated horizontally and 20.0 when rotated vertically.)
On iPad Pro devices, the safeAreaInsets.top value is always returned as 0.0 when the app is first launched.
(This issue is believed to occur on all iPad devices, including the iPad Pro.)
If the user subsequently rotates the iPad, the safeAreaInsets value is returned correctly.
On the iPhone 17 with dynamic islands, the safeAreaInsets value is displayed correctly.
My guess is that all devices running iOS/iPadOS 26 without dynamic islands will experience an issue where the safeAreaInsets value is displayed incorrectly.
This issue occurs when building with Xcode 26.
Apple, please issue an OS update as soon as possible. Or, if this is an Xcode issue, please update Xcode.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
I recently installed Xcode 26.0.1.
(MacBook Pro 16, M2 Max, 64GB memory, macOS 26.0 (25A354))
Normally, when debugging, a red error appears in the left-hand Issues navigation, and you can click on it to access the location of the error.
However, currently, when debugging, the red error does not appear in the "Issue Navigation" on the left-hand side of the Xcode screen.
There is an error, but it isn't displayed.
It does appear, but disappears after 1 second. (It disappears before I can click on it.)
The error doesn't appear or disappears after 1 second, so I can't pinpoint the exact location.
Please help me resolve this issue.
Additionally, I deleted all Xcode development-related files inside my Mac and restarted my MacBook, but the symptom still persists.
When showing or hiding the Code Review window in Xcode 26.0.1, a loading screen appears and Xcode freezes.
The loading screen appears for about 30 seconds, then disappears and the Code Review window appears.
During this time, Xcode also freezes and cannot function.
It doesn't seem to be an error or bug, but people who frequently switch between Code Review windows find the long loading time inconvenient. Is there any way to improve this?
(MacBook Pro 16, M2 Max, 64GB memory, macOS 26.0 (25A354))
"Build input file cannot be found" error occurs in Archive.
When running Archive to generate a build file, the build file generation fails with a "Build input file cannot be found: ..." error.
When debugging, the build runs fine on the actual device without any errors.
Comparing and modifying the Build Settings with other projects doesn't fix the issue.
Deleting the Swift file and attempting to Archive results in a crash due to the missing file.
Even after deleting and adding the Swift file, the same error persists when attempting to Archive.
Even after deleting and re-adding the Swift file, the issue persists even after deleting all DerivedData file space on my Mac and restarting Xcode.
Can you help me with this issue?
It worked fine before the recent macOS update, and I successfully archived and published it to the App Store a few days ago.
I believe this issue occurred after updating macOS to 26.0.1.
My Xcode version is 26.0.1.
Xcode SPM (Swift Package Manager) Error
I added the "Apple App Store Server Swift Library" library to Xcode using Swift Package Manager.
Both the project and target are set to iOS 14 or higher.
However, when I build after adding the library, an error occurs with the library.
A message appears stating that the target is set to iOS 12.
I'm using Xcode 26.0.1.
Even after adding it to all my projects, the build continues with the same error.
I've tried building the library from version 1.0.0 to the latest version, but the same error persists.
Even after completely cleaning the project and running it, the same error persists.
Does anyone know how to fix this?
Apple Watch app closes when changing photo permissions in the iPhone app.
App A is installed simultaneously on both the paired iPhone and Apple Watch.
I'm running App A on both my iPhone and Apple Watch.
When I change the photo permissions on App A installed on my iPhone, App A running on my Apple Watch automatically closes.
At first, I assumed App A on my iPhone was abnormally closing, causing App A on my Apple Watch to also close.
However, I've determined that changing the photo permissions is the cause of the app closing.
I don't think this behavior existed before WatchOS/iOS 26.
Is this behavior a natural addition to WatchOS/iOS 26?
If I go to the home screen while running app A on my iPhone and change its photo permissions in the Settings app, app A running on my Apple Watch automatically closes.