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.xxx" 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"}}
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Reply to 'User Assigned Device Name' in XCode Capabilities list
I tried downloading manually the provisioning profiles and it's there with "com.apple.developer.device-information.user-assigned-device-name" assigned to true.
Replies
Boosts
Views
Activity
Dec ’22
Reply to 'User Assigned Device Name' in XCode Capabilities list
I don't get it. Where can I look at this? "iOS Team Provisioning Profile" Provisioning profile "iOS Team Provisioning Profile: com.xxxx.xxxxxx" doesn't match the entitlements file's value for the com.apple.developer.device-information.user-assigned-device-name entitlement
Replies
Boosts
Views
Activity
Dec ’22
Reply to 'User Assigned Device Name' in XCode Capabilities list
Never mind, it's still not working
Replies
Boosts
Views
Activity
Dec ’22
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.
Replies
Boosts
Views
Activity
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.xxx" doesn't match the entitlements file's value for the com.apple.developer.device-information.user-assigned-device-name entitlement
Replies
Boosts
Views
Activity
Nov ’22
Reply to dataWithContentsOfURL is nil with url from Files app
Here is the answer. There's an option to access the sandboxed url. Hope this helps others. Wrap your NSData call with this: BOOL isAcccessing = [url startAccessingSecurityScopedResource]; // access NSData here  if (isAcccessing) {                 [url stopAccessingSecurityScopedResource];   }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to dataWithContentsOfURL is nil with url from Files app
I understand that, but the share icon and open in.... should pass the document via the inbox right?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
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"}}
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to How to send midi data over Bluetooth ?
Once the connection is made it will appear as a MIDI destination. You need to send MIDI to this device using Core MIDI.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21