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
Adding a sidebar for this is complicated as all of my main view controller views are UIKit views using UIViewControllerRepresentable. I have search icons and delegates to contend with. A future submittal may go with Sidebars, but for now, I'll stick with TabViews.
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.
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.
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
Adding a sidebar for this is complicated as all of my main view controller views are UIKit views using UIViewControllerRepresentable. I have search icons and delegates to contend with. A future submittal may go with Sidebars, but for now, I'll stick with TabViews.
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.
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.