Post

Replies

Boosts

Views

Activity

Reply to Safari nativeMessaging with non-persistent background page
SFSafariApplication.dispatchMessage() only guarantees that the native Swift/Obj-C extension process ( SafariWebExtensionHandler / SafariExtensionHandler ) is running. The background script is not woken up if it's already been suspended by the browser. And as far as your companion app is concerned, the message was successful because SafariWebExtensionHandler received it successfully. But the background script didn't receive it. What I've had to do in order to try to work around these limitations is to use a "keep alive" timer within my background script, such as: let keepAliveInterval; function startKeepAlive() { if (keepAliveInterval) return; keepAliveInterval = setInterval(() => { // Simple API call to keep background script alive chrome.runtime.getPlatformInfo(); console.debug('Keep-alive ping'); // eslint-disable-next-line no-magic-numbers }, 25000); // Every 25 seconds } // Start keep-alive system immediately at top level startKeepAlive(); This seems to help keep the background script alive. It's my understanding that Safari on macOS is supposed to support persistent background scripts. See this: https://developer.apple.com/documentation/safariservices/optimizing-your-web-extension-for-safari Which states: Consider making your background page nonpersistent in macOS when it’s primarily event-driven and responds to user interactions. In iOS, you must make your background page nonpersistent. But it doesnt seem to work for me. I get this error: Invalid persistent manifest entry. A manifest_version greater-than or equal to 3 must be non-persistent.
Topic: Safari & Web SubTopic: General Tags:
Jul ’25
Reply to Xcode Cloud builds stuck at App Store Connect
@DTS Engineer yes I submitted a request but it was through the contact us form not through feedback assistant: https://developer.apple.com/contact/case/102801901445/solution/select Case 102801901445 As far as sharing the project, here's a direct link to the pipeline: https://appstoreconnect.apple.com/teams/411a63c1-9d73-4245-8bec-d755e3579ec7/apps/6737959724/ci/builds/28aadaf4-68e2-4e10-9a18-fd69a574307d/summary
Jan ’26
Reply to Xcode commit color meaning?
Did you figure this out? I'm having the same issue. I dont understand why they didnt do red and green like every other IDE.
Replies
Boosts
Views
Activity
Nov ’24
Reply to Upload Symbols Failed on Xcode 16
I'm getting this issue on Xcode 16.1 and Xcode 16.2 when uploading to App Store Connect. This wasn't an issue before, I'm not sure what happened.
Replies
Boosts
Views
Activity
Dec ’24
Reply to empty dSYM file detected - Xcode 16
Same issue here
Replies
Boosts
Views
Activity
Dec ’24
Reply to How to create visionOS screenshots for the App Store with the Simulator?
Also wondering this
Replies
Boosts
Views
Activity
Dec ’24
Reply to TestFlight - crazy numbers of crashes
Did you figure this out? I'm having the same issue, but only for internal testers. External testers have 0 crashes listed.
Replies
Boosts
Views
Activity
Jan ’25
Reply to Force quit apps on Vision Pro simulator
Has anyone figured out how to force quite an app in the Vision Pro simulator?
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Xcode Cloud build gets stuck after completion?
Same issue here with a macOS build
Replies
Boosts
Views
Activity
Jun ’25
Reply to Safari nativeMessaging with non-persistent background page
SFSafariApplication.dispatchMessage() only guarantees that the native Swift/Obj-C extension process ( SafariWebExtensionHandler / SafariExtensionHandler ) is running. The background script is not woken up if it's already been suspended by the browser. And as far as your companion app is concerned, the message was successful because SafariWebExtensionHandler received it successfully. But the background script didn't receive it. What I've had to do in order to try to work around these limitations is to use a "keep alive" timer within my background script, such as: let keepAliveInterval; function startKeepAlive() { if (keepAliveInterval) return; keepAliveInterval = setInterval(() => { // Simple API call to keep background script alive chrome.runtime.getPlatformInfo(); console.debug('Keep-alive ping'); // eslint-disable-next-line no-magic-numbers }, 25000); // Every 25 seconds } // Start keep-alive system immediately at top level startKeepAlive(); This seems to help keep the background script alive. It's my understanding that Safari on macOS is supposed to support persistent background scripts. See this: https://developer.apple.com/documentation/safariservices/optimizing-your-web-extension-for-safari Which states: Consider making your background page nonpersistent in macOS when it’s primarily event-driven and responds to user interactions. In iOS, you must make your background page nonpersistent. But it doesnt seem to work for me. I get this error: Invalid persistent manifest entry. A manifest_version greater-than or equal to 3 must be non-persistent.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to browser.runtime.onMessage in content script intermittently fails on iOS 18.5 (Safari Web Extensions)
Similar issue here. I've had to add retry logic into my extension as a workaround. @lumbardhelshani please keep us updated.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Safari Extension Message Passing Unreliable in iOS 18.4.1 and iOS 18.5
Same issue here. I'll open a bug report shortly.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to iOS Safari Extension State
@Jainesh91 did you figure this out?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Metal is not installed on Xcode 26 on Xcode Cloud
Just submitted a feedback: FB20510351
Replies
Boosts
Views
Activity
Oct ’25
Reply to Error: Invalid call to browser.storage.local.set(). Disk I/O error.
I have the same error when using browser.storage.local.set() in my safari web extension. Have you found a fix/workaround?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to Xcode Cloud builds stuck at App Store Connect
I came here to make the same post, my Xcode Cloud pipeline runs keep getting stuck at 93% but only for macOS and visionOS builds. iOS was having the same issue earlier but it's now working. I had a build stuck like that for 1.5hrs so I just decided to stop it and try again but all of them keep getting stuck.
Replies
Boosts
Views
Activity
Jan ’26
Reply to Xcode Cloud builds stuck at App Store Connect
@DTS Engineer yes I submitted a request but it was through the contact us form not through feedback assistant: https://developer.apple.com/contact/case/102801901445/solution/select Case 102801901445 As far as sharing the project, here's a direct link to the pipeline: https://appstoreconnect.apple.com/teams/411a63c1-9d73-4245-8bec-d755e3579ec7/apps/6737959724/ci/builds/28aadaf4-68e2-4e10-9a18-fd69a574307d/summary
Replies
Boosts
Views
Activity
Jan ’26