Post

Replies

Boosts

Views

Activity

Reply to 'User Assigned Device Name' in XCode Capabilities list
Find the provisioning profile that Xcode is using. How do you find this? I thought whole point of automatic signing is to not have to do this manually. In any case assuming it's in ~/Library/MobileDevice/Provisioning Profiles I see a xxxxxx.mobileprovision file. But Inside Code Signing doesn't show any type of example using the mobile provisioning file. Incredible that it is this difficult to enable an entitlement. When I tried to open a TS for it, the default entry was a question about entitlement. Sorry that enabling something that Apple took away is so painful to enable.
Dec ’22
Reply to 'User Assigned Device Name' in XCode Capabilities list
This is not working for me. I received approval and did the following. 1: I added the capability and it is there enabled in Certificates, Identifiers & Profiles->indentifiers->myID->additional capabilities->User Assigned Device Name is enabled,. 2:In Xcode 13 and later, once the capability is enabled for your App ID, you can configure Xcode to support automatic signing. In your app’s .entitlements file, add the assigned entitlement key and value pair. OK where is the key and value pair shown? In my Xcode provisioning/Xcode managed profile, I see "com.apple.developer.device-information.user-assigned-device-name" OK assuming this is the key and value as described somewhere online, not in documentation that I can, I put that into my entitlements file along with Boolean YES I get this: Automatic signing failed. Xcode failed to provision this target. Please file a bug report at https://feedbackassistant.apple.com and include the Update Signing report from the Report navigator. Provisioning profile "iOS Team Provisioning Profile: com.xxxxx.***" doesn't match the entitlements file's value for the com.apple.developer.device-information.user-assigned-device-name entitlement
Nov ’22
Reply to dataWithContentsOfURL is nil with url from Files app
Why would my app not have permission to view the document when it's from the files app? Error Domain=NSCocoaErrorDomain Code=257 "The file “afile.pdf” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/private/var/mobile/Containers/Shared/AppGroup/xxxxxxxx/File Provider Storage/afile.pdf, NSUnderlyingError=0x281f4f150 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Sep ’21