Hi,
I have been building a MacCatalyst versions of an iOS app for years using a separate build that included a specific .entitlements file that excludes the com.apple.security.device.camera. Yet when I now build with Xcode 16.1 that entitlement is included.
I have double checked my signing entitlement for my MacCatalyst build it is configured properly. I have check my .entitlement file to ensusre com.apple.security.device.camera is not there. All is as it should be.
I have changed nothing, my build flow is the same.
App Store Review has prevented the Mac build to be release becuse the com.apple.security.device.camera is set.
What can I do to correct this?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have the following function decleration:
func validName<I:Hashable>(name: String, focusState: Binding<FocusState<I.Type>>, fieldToFocusNext: I.Type, fieldToFocusOnError: I.Type, showError: Binding<Bool> ) -> Bool
{
return true
}
I'm getting this error on the FocusState binding parameter:
Type 'I.Type' does not conform to protocol 'Hashable'
It sure seems I have declared it as a Hashable. What and I doing wrong?
I want the sidebar to show if a user launches my app in portrait mode on iPadOS. I using SwiftUI so I'm hoping there is an easy way to do that.
Is this possible?
Is there any example code to do this?
I'm using EditMode all over my iOS app and for the first time I tried compiling for MacOS.
I get "'EditMode' is unavailable in macOS" This is a huge problem because I use it all over my app.
How do I handle this on MacOS?
I get this error:
"'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release"
when I do a save on a number of core data objects I created from a .plist. (If that matters.) Very strange. I'm not using NSKeyedUnarchiveFromData anywhere in my code.
How do track down and fix this error?