Post

Replies

Boosts

Views

Activity

Reply to security policy does not allow @ path expansion
Hi Quinn, thanks as always for your reply. I did have hardened runtime enabled and I still see the error. I tried enabling the library validation because the error relates to a library. I removed it and the issue persists. I've refactored my code to remove the dependency on the library, but now the widget won't appear as available to install† at all. Out of desperation I've tried converting to the new AppIntents, that seems like a good idea generally but it hasn't helped in this case. Here's what I've found most recently: make a new widgets extension with a bundle id with that ends in widgets instead of widget. it appears remove the old widget extension and rename the new one to without the S it doesn't appear rename it to with the S it appears again So I assume this is something to do with signing or security, as at that point it's nothing to do with my code. As an aside, the default widget target generated by Xcode doesn't have a hardened runtime entitlement and it works. But it's also just hello world so 🤷 I should have said, I went through quite a bit of your post, but ran out of time that day. I'll go through it again. My is currently just in development for macOS but I don't intend to make it available outside of the Mac App Store, and I'm developing in Xcode so I think quite a lot of it is out of scope for this issue. Any advice on how to debug this further would be appreciated. † by available to install I mean if you bring up Notification Centre and tap "Edit Widgets" it doesn't appear on the list of apps
Topic: Code Signing SubTopic: Entitlements Tags:
Mar ’25
Reply to App will not archive a Catalyst Version
Thanks for this Ed, I had forgotten (or never knew) this subtlety. [quote='772992021, lewis42, /thread/772992, /profile/lewis42'] I have an iOS app which I'm trying to ship to the Mac App Store. [/quote] In light of your answer I guess my question is: Can I ship a "My Mac (Designed for iPad)" build to the Mac App Store, with Mac Screenshots and appear in the "Mac Apps" tab and not the the "iPhone & iPad Apps" tab? If I can, what do I need to do? My current builds don't show up as available to ship for the Mac App Store.
Jan ’25
Reply to Xcode 16.3 + Xcode Cloud: Editor could not be opened
I see this too. FB17691468
Replies
Boosts
Views
Activity
May ’25
Reply to Can't load widget with a particular bundle id on Catalyst
DTS says this is a known issue.
Replies
Boosts
Views
Activity
May ’25
Reply to Can't load widget with a particular bundle id on Catalyst
Just to say I haven't had any acknowledgment of the Feedback. I'll update here if I do.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Can't load widget with a particular bundle id on Catalyst
Thanks for this. I've raised FB17148295.
Replies
Boosts
Views
Activity
Apr ’25
Reply to security policy does not allow @ path expansion
Thanks Quinn. I realised that because the issue is just down to the bundle ID I can make a demo project to recreate it, which I've done. So I can raise a DTS ticket now. Thanks again, Lewis
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to security policy does not allow @ path expansion
Some stuff I should add: I can't find anything in the crash logs or the console logs which seems to be related to me the same code works fine on iOS
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to security policy does not allow @ path expansion
Hi Quinn, thanks as always for your reply. I did have hardened runtime enabled and I still see the error. I tried enabling the library validation because the error relates to a library. I removed it and the issue persists. I've refactored my code to remove the dependency on the library, but now the widget won't appear as available to install† at all. Out of desperation I've tried converting to the new AppIntents, that seems like a good idea generally but it hasn't helped in this case. Here's what I've found most recently: make a new widgets extension with a bundle id with that ends in widgets instead of widget. it appears remove the old widget extension and rename the new one to without the S it doesn't appear rename it to with the S it appears again So I assume this is something to do with signing or security, as at that point it's nothing to do with my code. As an aside, the default widget target generated by Xcode doesn't have a hardened runtime entitlement and it works. But it's also just hello world so 🤷 I should have said, I went through quite a bit of your post, but ran out of time that day. I'll go through it again. My is currently just in development for macOS but I don't intend to make it available outside of the Mac App Store, and I'm developing in Xcode so I think quite a lot of it is out of scope for this issue. Any advice on how to debug this further would be appreciated. † by available to install I mean if you bring up Notification Centre and tap "Edit Widgets" it doesn't appear on the list of apps
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Problem with localising a Swift package
To add to this, if you are using SwiftUI, you have to add the bundle parameter everywhere. As far as I can tell, the documentation doesn't mention this anywhere. .navigationTitle(Text("list.title", bundle: .module))
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to App will not archive a Catalyst Version
Thanks for this Ed, I had forgotten (or never knew) this subtlety. [quote='772992021, lewis42, /thread/772992, /profile/lewis42'] I have an iOS app which I'm trying to ship to the Mac App Store. [/quote] In light of your answer I guess my question is: Can I ship a "My Mac (Designed for iPad)" build to the Mac App Store, with Mac Screenshots and appear in the "Mac Apps" tab and not the the "iPhone & iPad Apps" tab? If I can, what do I need to do? My current builds don't show up as available to ship for the Mac App Store.
Replies
Boosts
Views
Activity
Jan ’25
Reply to Xcode Cloud randomly fails to resolve package dependencies
just to add that I don't recall seeing this before, but saw it twice yesterday. No private repos here, just common popular SPMs.
Replies
Boosts
Views
Activity
Dec ’24
Reply to HealthKit permission sheet appears every time for some users - bug?
My business partner is experiencing this issue. He raised FB15201360 if anyone wants to dupe. You can just go round in circles forever. You can see the write permissions disappear before the screen goes offscreen. https://cln.sh/bkSdF6YQ
Replies
Boosts
Views
Activity
Oct ’24
Reply to ShareLink doesn't attach file on watchOS
What solution did you find Patrick? for me a file with content isn't shared either
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to File transfer issue from iPhone to Watch after iOS 17.5 & WatchOS 10.5 update
FWIW I see the error message, but the files are sent from phone and received on watch fine for me. I'm on iOS 17.5.1, watchOS 10.5, Xcode 15.4
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to App store receipt URL not found on watchOS independent app targeting watchOS7+
Has anybody gotten anywhere with this?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to SwiftUI error: "cannot preview in this file"...
Not working for me in Xcode 14.1 RC
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22