Post

Replies

Boosts

Views

Activity

Reply to Fill a RoundedRectangle with custom color
You should use fill(). RoundedRectangle(cornerRadius: 8, style: .continuous)     .fill(Color(red: 255, green: 245, blue: 158)) Don't use background() for changing the color of RoundedRectangle. It just fills the background of the rounded rectangle rather than the rounded rectangle itself.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to Tester invite getting kicked back saying invalid
I'm also facing the same issue so I've sent Apple my feedback on Feedback Assistant as FB10748429. The more feedback, The more they care about this issue. Unfortunately, Just posting "same" or "any news?" in the developer forums never changes Apple's priority. The only way to change it is to submit feedback on Feedback Assistant. As far as I can see, only dcordero sent feedback on this thread but it's not enough. I need your help. Please submit your own feedback and let's change Apple's mind.
Jul ’22
Reply to Offer codes for non-consumable in-app purchases
I also need this for a certain educational institution that wants my app for their thousands of Macs. I would like to provide it free of charge. This feature will be essential for my use case. As the App Store Commerce Engineer suggested in this thread, I submitted feedback as FB11830690. If you also agree that this is needed, I want you to submit the same feedback as mine. The more feedback Apple receives, the higher priority they will set for this issue!
Nov ’22
Reply to Parental controls and Safari extensions
I believe this hasn't been addressed yet, and +1 for this functionality on macOS. On iOS 17, you can prohibit your kids from disabling/enabling extensions by limiting adult websites from the Settings app > Screen Time > Content & Privacy Restrictions > Store, Web, Siri & Game Center Content > Web Content. However, on macOS Sonoma, you can't prohibit them similarly. I'm a developer of a Safari extension called Redirect Web for Safari, which can redirect users from any web page to another. Some users use it to protect their kids from unwanted websites. Recently, I received user feedback to add passcode protection so their kids won't be able to turn off the redirect rules. However, if the kids can turn off the extension, they can bypass the protection by turning it off, diminishing the benefit of the passcode protection. Therefore, this functionality is essential to implement it. If you, reading my comment, have the same demand, I hope you will push the Boost button of this thread. Furthermore, I sent a feature request to Apple as FB14709779 through Feedback Assistant. It would be great if you could also submit it. The more feedback we send, the higher the possibility that Apple will prioritize this issue.
Topic: Safari & Web SubTopic: General Tags:
Aug ’24
Reply to APNS key download issue
@seithogei@gmail.com's solution worked for me as well! Additionally, the answer from StackOverflow also worked for me. (= Right-click the Download button and select "Download Linked File" from the context menu to download the key.): https://stackoverflow.com/a/78357842/4366470 But this is a workaround. I hope Apple will fix this issue anyways.
Sep ’24
Reply to Safari DNR Redirect Issue When Using Address Bar for Default Search Engine Queries
@jeffjohnson Thanks for checking it. I see, tthat's strange. I still haven't seen the sample extension working correctly on Safari Technology Preview 202. I've tried to make it work for 30 minutes, but it never does. By the way, I also succeeded in replicating this issue on Safari 17.6. Specifically, when I search from the address bar for the first time in a new tab, it correctly redirects to Brave. However, after that, it doesn't work with the same tab. This is the demo: https://github.com/user-attachments/assets/c8a84403-c878-44a5-8748-91721c0ea66b It works again when I open another new tab. So, on my end, the issue seems to have worsened rather than newly appeared.
Topic: Safari & Web SubTopic: General Tags:
Sep ’24
Reply to Sequoia Group Container for Mac Catalyst Apps
As it's part of SIP, the alert will be suppressed if you disable SIP itself, but I don't like this workaround since it unnecessarily endangers my machine. However, I can't live with this alert. Not only does it significantly slow down development, but I also can't properly test the actual behavior. Technically, I could change the app to meet the criteria, but I wouldn't do that, as it would require writing migration code for CoreData, User Defaults, and other files in the Group Container for existing users. This would be a huge amount of work, including testing. I’m hoping that one day we’ll be able to include iOS-style app group IDs in the allowlist for macOS provisioning profiles, which will allow apps like yours to fall under criteria 3. However, today is not that day )-: I hope that day comes soon. It's ironic that this new security feature could end up encouraging people to disable one of the most important security layers.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’24
Reply to Safari extension not showing up
In my case, the issue occurred after installing an app with the same bundle identifier that was installed through TestFlight. I removed the TestFlight version of the app, ran this command, and the extension appeared again: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Topic: Safari & Web SubTopic: General Tags:
Mar ’25
Reply to Fill a RoundedRectangle with custom color
You should use fill(). RoundedRectangle(cornerRadius: 8, style: .continuous)     .fill(Color(red: 255, green: 245, blue: 158)) Don't use background() for changing the color of RoundedRectangle. It just fills the background of the rounded rectangle rather than the rounded rectangle itself.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Receipt validation: no MAC address, en0 port missing in registry
Apple recommends checking built-in en0, built-in en1, and non built-in en0 in that order. This is the details: https://developer.apple.com/documentation/appstorereceipts/validating_receipts_on_the_device
Replies
Boosts
Views
Activity
Jun ’21
Reply to How can I change app name?
@DSNET If you want to change the displayed extension name on Safari's Preferences window, changing CFBundleDisplayName (not CBBundleDisplayName) should work for Safari extensions too, but you need to reopen Safari to reflect it.
Replies
Boosts
Views
Activity
Oct ’21
Reply to Navigation-related listeners are not called after opening an embedded Web page
I've just chatted with an Apple developer (Timothy Hatcher) in the WWDC's lab. According to him, this has already been fixed internally and will be deployed soon. So this issue will be solved once your users update the Safari version to (hopefully) 15.6 or later, since the current version is 15.5. Thanks, Timothy. 🙂
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to SFSafariApplication.dispatchMessage() switches Safari to foreground?
Just an update; I've just chatted with an Apple developer (Timothy Hatcher) in the WWDC's lab. According to him, it's not solved yet, but at least Apple recognizes it's a bug. A certain famous company also sent the same feedback before mine, so my FB9804951 is internally marked as duplicated. I hope it'll be fixed soon. Thanks Timothy. 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Tester invite getting kicked back saying invalid
I'm also facing the same issue so I've sent Apple my feedback on Feedback Assistant as FB10748429. The more feedback, The more they care about this issue. Unfortunately, Just posting "same" or "any news?" in the developer forums never changes Apple's priority. The only way to change it is to submit feedback on Feedback Assistant. As far as I can see, only dcordero sent feedback on this thread but it's not enough. I need your help. Please submit your own feedback and let's change Apple's mind.
Replies
Boosts
Views
Activity
Jul ’22
Reply to Offer codes for non-consumable in-app purchases
I also need this for a certain educational institution that wants my app for their thousands of Macs. I would like to provide it free of charge. This feature will be essential for my use case. As the App Store Commerce Engineer suggested in this thread, I submitted feedback as FB11830690. If you also agree that this is needed, I want you to submit the same feedback as mine. The more feedback Apple receives, the higher priority they will set for this issue!
Replies
Boosts
Views
Activity
Nov ’22
Reply to Wrong price for in-app purchases
My app was rejected because of this. I sent them a link to this forum, and then they approved it. Thanks Apple.
Replies
Boosts
Views
Activity
Sep ’23
Reply to How to install self signed CA root certificate on iOS 13 simulators
If you can't find your certificate in the list of Settings > General > About > Certificate Trust Settings, run this command to place your certificate in your simulator: xcrun simctl keychain booted add-root-cert <path to your certificate> If drag and drop didn't work for you, try it.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Parental controls and Safari extensions
I believe this hasn't been addressed yet, and +1 for this functionality on macOS. On iOS 17, you can prohibit your kids from disabling/enabling extensions by limiting adult websites from the Settings app > Screen Time > Content & Privacy Restrictions > Store, Web, Siri & Game Center Content > Web Content. However, on macOS Sonoma, you can't prohibit them similarly. I'm a developer of a Safari extension called Redirect Web for Safari, which can redirect users from any web page to another. Some users use it to protect their kids from unwanted websites. Recently, I received user feedback to add passcode protection so their kids won't be able to turn off the redirect rules. However, if the kids can turn off the extension, they can bypass the protection by turning it off, diminishing the benefit of the passcode protection. Therefore, this functionality is essential to implement it. If you, reading my comment, have the same demand, I hope you will push the Boost button of this thread. Furthermore, I sent a feature request to Apple as FB14709779 through Feedback Assistant. It would be great if you could also submit it. The more feedback we send, the higher the possibility that Apple will prioritize this issue.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to APNS key download issue
@seithogei@gmail.com's solution worked for me as well! Additionally, the answer from StackOverflow also worked for me. (= Right-click the Download button and select "Download Linked File" from the context menu to download the key.): https://stackoverflow.com/a/78357842/4366470 But this is a workaround. I hope Apple will fix this issue anyways.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Safari DNR Redirect Issue When Using Address Bar for Default Search Engine Queries
@jeffjohnson Thanks for checking it. I see, tthat's strange. I still haven't seen the sample extension working correctly on Safari Technology Preview 202. I've tried to make it work for 30 minutes, but it never does. By the way, I also succeeded in replicating this issue on Safari 17.6. Specifically, when I search from the address bar for the first time in a new tab, it correctly redirects to Brave. However, after that, it doesn't work with the same tab. This is the demo: https://github.com/user-attachments/assets/c8a84403-c878-44a5-8748-91721c0ea66b It works again when I open another new tab. So, on my end, the issue seems to have worsened rather than newly appeared.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Sequoia Group Container for Mac Catalyst Apps
As it's part of SIP, the alert will be suppressed if you disable SIP itself, but I don't like this workaround since it unnecessarily endangers my machine. However, I can't live with this alert. Not only does it significantly slow down development, but I also can't properly test the actual behavior. Technically, I could change the app to meet the criteria, but I wouldn't do that, as it would require writing migration code for CoreData, User Defaults, and other files in the Group Container for existing users. This would be a huge amount of work, including testing. I’m hoping that one day we’ll be able to include iOS-style app group IDs in the allowlist for macOS provisioning profiles, which will allow apps like yours to fall under criteria 3. However, today is not that day )-: I hope that day comes soon. It's ironic that this new security feature could end up encouraging people to disable one of the most important security layers.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Safari extension not showing up
In my case, the issue occurred after installing an app with the same bundle identifier that was installed through TestFlight. I removed the TestFlight version of the app, ran this command, and the extension appeared again: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Animated scale effect causes NSCursor to reset in SwiftUI macOS app
@DTS Engineer Yes, I can replicate it on macOS 15.5 Beta 1 (24F5042g) as well.: FWIW, the macOS of my initial comment was Sequoia 15.4 (24E248).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25