Post

Replies

Boosts

Views

Activity

Reply to Invalid code signing entitlements with app group on macOS
[quote='826785022, xubowen, /thread/775022?answerId=826785022#826785022, /profile/xubowen'] I solved this issue by recreating the Certificates and Profiles on the Apple Developer website [/quote] Hi, thanks for sharing your solution. Could you please list all the steps you took to recreate the certificates and profiles on the Apple Developer website? I suspect I might be missing something in my process. Also, did you upload the archive using those newly created certificates, or did you switch back to using automatic ones afterward? Did you have to remove any existing certificates to get it to work? Thanks a lot for your help!
Topic: Code Signing SubTopic: Entitlements Tags:
Feb ’25
Reply to Invalid code signing entitlements with app group on macOS
Hi DTS Engineer, Thanks for your input. I have a couple of questions regarding your advice: Did you mean Xcode 16.3 beta instead of Xcode 15.3 beta? Could you please provide a more detailed solution or workaround? I have a single app targeting iPhone, iPad, and Mac Catalyst, and when I try to upload the Mac archive, I encounter the error. Any further guidance would be greatly appreciated. Thanks in advance!
Topic: Code Signing SubTopic: Entitlements Tags:
Feb ’25
Reply to swift ios macCatalyst app does not load some views on startup on macOS Monterey
I understand what happens.  If it can be useful to anyone ...  For my UIViewControllers I use custom margins that take into account the minimum width of a scene.  I take this value like this:  var minSceneWidth:CGFloat = 400 scenes.forEach { windowScene in if let w = windowScene.sizeRestrictions?.minimumSize.width { if minSceneWidth > w { minSceneWidth = w } } } Since the latest version of macOS the value "minimumSize.width" seems to be also "0" and this is not good for the calculation of my margins.  Thank you all.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’22
Reply to Invalid code signing entitlements with app group on macOS
Thank you so much for your help—you literally saved my day! I really appreciate you taking the time to share your solution.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Invalid code signing entitlements with app group on macOS
[quote='826785022, xubowen, /thread/775022?answerId=826785022#826785022, /profile/xubowen'] I solved this issue by recreating the Certificates and Profiles on the Apple Developer website [/quote] Hi, thanks for sharing your solution. Could you please list all the steps you took to recreate the certificates and profiles on the Apple Developer website? I suspect I might be missing something in my process. Also, did you upload the archive using those newly created certificates, or did you switch back to using automatic ones afterward? Did you have to remove any existing certificates to get it to work? Thanks a lot for your help!
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Invalid code signing entitlements with app group on macOS
Hi DTS Engineer, Thanks for your input. I have a couple of questions regarding your advice: Did you mean Xcode 16.3 beta instead of Xcode 15.3 beta? Could you please provide a more detailed solution or workaround? I have a single app targeting iPhone, iPad, and Mac Catalyst, and when I try to upload the Mac archive, I encounter the error. Any further guidance would be greatly appreciated. Thanks in advance!
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to How to refresh local Swift Package after adding files in Xcode 16?
Hi @pprobola , thank you for your answer. Unfortunately, I have many packages, and I don't want to update all of them every time I add a file. I am currently solving this by using File -> Packages -> Reset Package Caches, but this is a workaround that I don't particularly like because, in previous versions, the update was instantaneous.
Replies
Boosts
Views
Activity
Oct ’24
Reply to swift ios macCatalyst app does not load some views on startup on macOS Monterey
I understand what happens.  If it can be useful to anyone ...  For my UIViewControllers I use custom margins that take into account the minimum width of a scene.  I take this value like this:  var minSceneWidth:CGFloat = 400 scenes.forEach { windowScene in if let w = windowScene.sizeRestrictions?.minimumSize.width { if minSceneWidth > w { minSceneWidth = w } } } Since the latest version of macOS the value "minimumSize.width" seems to be also "0" and this is not good for the calculation of my margins.  Thank you all.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22