Post

Replies

Boosts

Views

Activity

Comment on Xcode Launch Fails for Destination: Mac (Designed for iPad)
Thank you for your help. Your input did put me onto the entitlements. I did run syspolicy_check on my app that I purchased. When I ran it with notary-submission, I got AppleMobileFileIntegrity Error Severity: Fatal Full Error: No matching profile found Type: Distribution Error When I ran it with distribution, I got Notary Ticket Missing File: MyApp.app Severity: Fatal Full Error: A Notarization ticket is not stapled to this application. Type: Distribution Error
Oct ’23
Comment on SwiftData Predicate Issue Workaround
When I played with this situation on Swift Playgrounds, the starts(with: worked no matter if the ? was used after variable of if the ? was used. The problem is that this condition is being evaluated within the Predicate macro and I think there's something going in with that so that only the data.variable?.starts(with: SomeString) ?? false one works.
Aug ’23
Comment on How to form a search predicate using swift data with a one to many model
I’m using UIKit and this form of Predicate works for me.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Profiles
That image is not of a website. That image is of Xcode. You should have Xcode.
Replies
Boosts
Views
Activity
Oct ’23
Comment on Xcode Launch Fails for Destination: Mac (Designed for iPad)
Thank you for your help. Your input did put me onto the entitlements. I did run syspolicy_check on my app that I purchased. When I ran it with notary-submission, I got AppleMobileFileIntegrity Error Severity: Fatal Full Error: No matching profile found Type: Distribution Error When I ran it with distribution, I got Notary Ticket Missing File: MyApp.app Severity: Fatal Full Error: A Notarization ticket is not stapled to this application. Type: Distribution Error
Replies
Boosts
Views
Activity
Oct ’23
Comment on Xcode Launch Fails for Destination: Mac (Designed for iPad)
The issue started with macOS 14.0 Sonoma. I don't have any login items.
Replies
Boosts
Views
Activity
Oct ’23
Comment on SwiftUI tabItem Label Text Cut Off on iPad
@Tomato Yes, I did that thanks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on SwiftUI tabItem Label Text Cut Off on iPad
On second thought, it might be doable as a sidebar. Thank you very much for your help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on Does SwiftData support UIImage
Are you trying to save an Arrsy of data?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData Predicate Issue Workaround
When I say the above don't work, I mean they always evaluate to false.
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData Predicate Issue Workaround
When I played with this situation on Swift Playgrounds, the starts(with: worked no matter if the ? was used after variable of if the ? was used. The problem is that this condition is being evaluated within the Predicate macro and I think there's something going in with that so that only the data.variable?.starts(with: SomeString) ?? false one works.
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData Predicate Issue Workaround
Here's my original thread which I closed too early. https://developer.apple.com/forums/thread/735397
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData Predicate Issue Workaround
data.variable?.starts(with: SomeString) != nil always evaluates to true. The one that works is data.variable?.starts(with: SomeString) ?? false
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData and 'Circular references'
Well, it crashed because I initialized items to nil, init(items: [ChildItem]? = nil). But init (items: [ChildItem]? = []) worked, did not crash.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on SwiftData AppGroups
Several of us have had an issue with Data meant for Images on Xcode 15 Beta 5. Beta 4 worked fine. Beta 5 is broken. I recommend filling a Feedback.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Xcode Version 15.0 beta 5 (15A5209g), SwiftData Problem - "The given data was not valid JSON."
Also, if I change my model to include a structure, that may persist the data, but how would I sync a structure with CloudKit? No, they have to fix this issue. I don't see a viable workaround that includes iCloud syncing.
Replies
Boosts
Views
Activity
Aug ’23