After the iOS 15 update, the following process causes the app to die.
Go to the home screen while running the app
Completely quit by removing the background state of the app
Start by pressing the icon on the home screen
As soon as the app is opened in the state it was in when the previous home screen was moved, there is a symptom that the app dies.
There was no such symptom until iOS 14.
Is this symptom a bug in iOS 15 ? Or is there a new option for background state of apps in iOS 15?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
After updating to iOS 17.5 & WatchOS 10.5, the didFinish response from WCSessionDelegate does not come when transferring files from iPhone to Watch.
It worked normally until 17.4 & 10.4.
There is no problem with checking file completion even if a didFinish response is not received, but I think Apple needs to check this issue and update.
File transfer is done using the transferFile function of WCSession.
The file being transferred is a single file and its size does not exceed 30MB.
When you try to transfer Pi, the message below appears in the Xcode log section.
-[WCFileStorage persistOutgoingFileTransfer:] error serializing file transfer <WCSessionFileTransfer: 0x300155d60, session file: <WCSessionFile: 0x3001575c0, identifier: 0C8857EC-7D74-4E78-BA28-6C5526DE8949, file: /private/var/mobile/Containers/Data/Application/DD797847-DED1-42C0-989F-34CD05825007/tmp/C042D096-F12B-4B50-8792-868475DBBF47.zip, hasMetadata: YES>, transferring: YES> due to Error Domain=NSCocoaErrorDomain Code=4866 "Caught exception during archival: This object may only be encoded by an NSXPCCoder.
(
0 CoreFoundation 0x000000019b064f2c 00E76A98-210C-3CB5-930B-F236807FF24C + 540460
1 libobjc.A.dylib 0x0000000192ef6018 objc_exception_throw + 60
2 Foundation 0x0000000199fe7778 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 1419128
3 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
4 WatchConnectivity 0x000000021d055f60 1AB4DDD6-9238-3965-B744-819F2916C8CC + 126816
5 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
6 WatchConnectivity 0x000000021d0567f0 1AB4DDD6-9238-3965-B744-819F2916C8CC + 129008
7 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
8 Foundation 0x0000000199f30628 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 669224
9 WatchConnectivity 0x000000021d0583ac 1AB4DDD6-9238-3965-B744-819F2916C8CC + 136108
10 WatchConnectivity 0x000000021d04390c 1AB4DDD6-9238-3965-B744-819F2916C8CC + 51468
11 WatchConnectivity 0x000000021d046640 1AB4DDD6-9238-3965-B744-819F2916C8CC + 63040
12 Foundation 0x0000000199ea9be0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 117728
13 Foundation 0x0000000199ea9aa0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 117408
14 Foundation 0x0000000199ea98a0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 116896
15 Foundation 0x0000000199ea7b40 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 109376
16 Foundation 0x0000000199f2c558 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 652632
17 Foundation 0x0000000199f2c1a4 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 651684
18 libdispatch.dylib 0x0000000105ed7764 _dispatch_block_async_invoke2 + 148
19 libdispatch.dylib 0x0000000105ec67bc _dispatch_client_callout + 20
20 libdispatch.dylib 0x0000000105ec98e0 _dispatch_continuation_pop + 676
21 libdispatch.dylib 0x0000000105ec8bb8 _dispatch_async_redirect_invoke + 680
22 libdispatch.dylib 0x0000000105edaae4 _dispatch_root_queue_drain + 404
23 libdispatch.dylib 0x0000000105edb4d8 _dispatch_worker_thread2 + 188
24 libsystem_pthread.dylib 0x00000001f7ebb8f8 _pthread_wqthread + 228
25 libsystem_pthread.dylib 0x00000001f7eb80cc start_wqthread + 8
)" UserInfo={NSDebugDescription=Caught exception during archival: This object may only be encoded by an NSXPCCoder.
(
0 CoreFoundation 0x000000019b064f2c 00E76A98-210C-3CB5-930B-F236807FF24C + 540460
1 libobjc.A.dylib 0x0000000192ef6018 objc_exception_throw + 60
2 Foundation 0x0000000199fe7778 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 1419128
3 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
4 WatchConnectivity 0x000000021d055f60 1AB4DDD6-9238-3965-B744-819F2916C8CC + 126816
5 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
6 WatchConnectivity 0x000000021d0567f0 1AB4DDD6-9238-3965-B744-819F2916C8CC + 129008
7 Foundation 0x0000000199ea0e14 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 81428
8 Foundation 0x0000000199f30628 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 669224
9 WatchConnectivity 0x000000021d0583ac 1AB4DDD6-9238-3965-B744-819F2916C8CC + 136108
10 WatchConnectivity 0x000000021d04390c 1AB4DDD6-9238-3965-B744-819F2916C8CC + 51468
11 WatchConnectivity 0x000000021d046640 1AB4DDD6-9238-3965-B744-819F2916C8CC + 63040
12 Foundation 0x0000000199ea9be0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 117728
13 Foundation 0x0000000199ea9aa0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 117408
14 Foundation 0x0000000199ea98a0 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 116896
15 Foundation 0x0000000199ea7b40 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 109376
16 Foundation 0x0000000199f2c558 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 652632
17 Foundation 0x0000000199f2c1a4 3D3A12E3-F5E9-361F-B00A-4A5E8861AA55 + 651684
18 libdispatch.dylib 0x0000000105ed7764 _dispatch_block_async_invoke2 + 148
19 libdispatch.dylib 0x0000000105ec67bc _dispatch_client_callout + 20
20 libdispatch.dylib 0x0000000105ec98e0 _dispatch_continuation_pop + 676
21 libdispatch.dylib 0x0000000105ec8bb8 _dispatch_async_redirect_invoke + 680
22 libdispatch.dylib 0x0000000105edaae4 _dispatch_root_queue_drain + 404
23 libdispatch.dylib 0x0000000105edb4d8 _dispatch_worker_thread2 + 188
24 libsystem_pthread.dylib 0x00000001f7ebb8f8 _pthread_wqthread + 228
25 libsystem_pthread.dylib 0x00000001f7eb80cc start_wqthread + 8
)}
Topic:
App & System Services
SubTopic:
General
Tags:
Watch Connectivity
WatchKit
watchOS
Watch Complications
Updated to Xcode 14.0 and built with iOS 16 device.
In purple it says "[Security] This method should not be called on the main thread as it may lead to UI unresponsiveness." A warning is displayed.
location is
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {...
There is a part where it is difficult to know exactly which function it is because a warning is displayed at the location.
I also replaced the admob library with the latest version, but I have the same problem.
Does anyone know the cause of this issue?
I need help.
After building the app for TextFlight, I uploaded it.
After that, I initially received the following message via email.
"ITMS-90899: Macs with Apple silicon support issue - The app isn‘t compatible with the provided minimum macOS version of 11.0. It can run on macOS 12.0 or later. Please specify an LSMinimumSystemVersion value of 12.0 or later in a new build, or select a compatible version in App Store Connect."
So I added "LSMinimumSystemVersion" to info.plist, increased the version, and uploaded it again.
Next
"ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS:
/usr/lib/swift/libswiftCloudKit.dylib
@rpath/libswiftCloudKit.dylib"
I received an issue email like the above.
The app has supported Mac (Designed by iPad) so far.
This time, this issue occurs after building in Xcode 16.0 / MacBook OS 14.6.1.
The app being built supports at least iOS 14.
We cannot uncheck it because we must support "Mac (Designed by iPad)" in the future.
This issue did not occur in the initial upload and distribution.
It occurred after deleting all files in the ~/Library/Developer/Xcode/DerivedData path and rebuilding the project.
Is this an Xcode bug that will be fixed in the next update? Or is there a separate solution?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Xcode
macOS
StoreKit Test
Apple Silicon
We are working on a screen that registers fonts using UIFontPickerViewController.
Sometimes when I run UIFontPickerViewController I just get a black screen.
Or, the font of the UI inside UIFontPickerViewController is broken and displayed as strange special characters.
When displayed as a special character, screen scrolling becomes slow and the font is not displayed in the list when scrolling down.
When this happens, the Xcode debug window shows “error received: connection invalidated.” This error message is displayed.
This happened to me often while developing UIFontPickerViewController .
Could you please advise how to resolve this issue?
Or, I hope Apple resolves the issue quickly and updates.
The development device where the issue occurs is iPhone SE3 iOS 17.4.
When PKCanvasView is first drawn, existing drawing objects disappear.
PKDrawing, which previously had drawings saved with PKCanvasView, was saved as separate data or file.
After that, while creating a new PKCanvasView, I loaded the saved PKDrawing and reflected it in the new PKCanvasView.
Below is the code.
canvasView!.drawing = draw!
Previously saved text or lines will be displayed normally.
However, when I draw with the pen for the first time (when I touch the screen with the pen), the old writing or lines disappear.
And after I leave a line or text, if I pan across the screen, the old text or line appears again.
If this phenomenon occurs and you touch the screen again with the fan, this phenomenon will no longer occur.
This phenomenon occurs the first time when a new PKCanvasView is declared and the previously saved PKDrawing is reflected.
Could you please help me with why this phenomenon occurs and how to improve it?
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.
Creating a new version fails in Web App Store Connect.
When you log in to the Web App Store Connect screen and enter a new version in an existing project, a red error screen as shown below is displayed and the new version cannot be registered.
"An error occurred. Please try again later. The version number was previously used."
It has been happening continuously since yesterday.
I hope you resolve this as quickly as possible.
Currently, Testflight testing or distribution cannot be performed because the version cannot be created.
This phenomenon continues in both Safari and Chrome browsers.
The version you registered is a version you have not used before.
When transferring files from iPhone to Watch, if you run the app and try to transfer after updating the OS, the transfer may not be possible. (or transmission seems to be too slow)
Just completely close the app, restart it, and try again.
Does anyone know the cause or solution to this problem?
It happened after the last 17.5 update and today after the 17.5.1 update.
The app doesn't crash or anything, and it doesn't happen often, so I didn't send any feedback or anything, but it's strange.
Topic:
App & System Services
SubTopic:
General
Tags:
Watch Connectivity
WatchKit
watchOS
Apple Watch
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.
We are testing an app currently on sale on iOS 15.
When I start scrolling up and down by touch in a UIPickerView , the scrolling is not smooth.
There is a short break when you start scrolling.
If I flick it quickly, it stops and after a while it has already scrolled to where some data has advanced.
If we start scrolling and keep scrolling, then we don't have the above symptoms.
The above symptoms start after the app does a big operation while loading a file.
That is, when the symptom starts, it is there in the UIPickerView throughout the app.
Only UIPickerView scrolling, other screen transitions or UITableView scrolling do not show such symptoms.
There is no such symptom until iOS 14.
Could you give us some advice on the cause of the above symptoms or how to improve it?
The device tested is an iPhone 8 plus.
We did send feedback to Apple through the Feedback app on devices that currently have iOS 15 installed.
There are files that fail to decompress on Mac or iOS.
Even using open source for iOS, they all fail.
Clicking on the MacBook to open it fails.
However, some compression programs on Mac or PC will successfully decompress it.
Is there any way to forcefully open or decompress such a compressed file (Zip)?
I tried the Apple Archive method, but that method also fails with an error now.
(Personally, I would like to be able to force such a file through the Apple archive.)
Using Swift Array
I found removeAll() to be very slow and not perform well.
Especially the larger the array (the more objects it contains), the slower it was.
Is there a way to achieve good performance while performing the same function as removeAll() of an array?
"= []" This method also performed the same.
And the way to declare the array after making it optional had the same performance.
swift / xcode is the latest version and is being tested on iOS 15.4 / iOS 14.8 / iphone6s.
Or can't Apple make a new function that speeds up the performance of removeAll()??
When building the external library project, I selected "Mach-O Type" as "Dynamic Library" and built it to create a framework file (folder).
And this framework file was imported and used in our app and distributed to the App Store.
Is this situation required to release the entire source code of our app under the LGPL 2.1 (or LGPL 3.0) license?
Enter file in the Mac command line and press Enter, “dynamically linked shared library” is displayed.
I have a question about Apple in-app purchases.
If a user purchases a non-consumable item that has already been purchased again instead of restoring it, does the same effect as the restoration occur, or does a new payment incur expenses for consumers?
The app has a restore button and a process to restore.
There are users who sometimes fail to restore, and I am thinking of guiding them to purchase again if the repurchase has the same effect as the restoration.