Entitlements

RSS for tag

Entitlements allow specific capabilities or security permissions for your apps.

Entitlements Documentation

Pinned Posts

Posts under Entitlements tag

165 Posts
Sort by:
Post not yet marked as solved
2 Replies
558 Views
In iOS 16, UIDevice.name has changed to only return the model of the device, not the user specified name. There is an entitlement, com.apple.developer.device-information.user-assigned-device-name that can be requested to keep the old behaviour, but I can't find any info on how to request that entitlement. Anyone able to help?
Posted Last updated
.
Post not yet marked as solved
2 Replies
238 Views
Hi, I'm using XCode 13.4.1, but this issue originally started occurring in XCode 13.4. The iOS app I'm working on uses XCode automatic signing for its provisioning profile and within the past couple of days has started including Game Center in its listed capabilities. This is causing failures when I attempt to upload builds of the app to the store, as our app does not and should not support Game Center. I have never added Game Center as a capability in the Signing & Capabilities section of XCode, it is not ticked as a capability on the Apple Developer Portal and it is not included in my entitlements file. Stuff I've tried to fix this: Adding/removing Game Center from Development Portal & in XCode, then re-generating provisioning profile. Updating from XCode 13.4 to 13.4.1. Closing XCode, deleting all installed provisioning profiles from Library and re-opening. No joy so far. Anyone got any advice for how to resolve? Thanks
Posted
by Strafe86.
Last updated
.
Post marked as solved
4 Replies
314 Views
Hi forum! I'm a n00b in apple development, so I apologise in advance if something is very wrong. I have a python app for MacOS that I am deploying with pyinstaller (thus I am NOT using Xcode). The app is to be deployed through github not through the app store. I could sign it and notarize it and it works. However, the app needs to run some external unsigned code (like a plugin). The hardened runtime blocks that, so I need to add entitlements. I've done it as it's explained in many other places with codesign. It seems to work but when I run the app, it crashes immediately with EXC_CRASH (Code signature invalid). The crash doesn't happen unless I add the entitlements. Now my questions: how do I make my situation work? Do I need a provisioning profile? The entitlements I am trying to add (hardened runtime-related) are not restricted AFAIK, so I don't think I do? If I need a provisioning profile, how can I add it to the app after it's bundled with pyinstaller? Thank you so much! Francesco
Posted
by Fsantini.
Last updated
.
Post not yet marked as solved
0 Replies
122 Views
#define KdownloadsPath NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory, NSUserDomainMask, YES).firstObject _downloadedPath = [KdownloadsPath stringByAppendingPathComponent:fileName]; _downloadingPath = [_downloadedPath stringByAppendingString:@".download"]; NSDictionary* info = [NSDictionary dictionaryWithObjectsAndKeys:         @"NSProgressFileOperationKindDownloading", @"NSProgressFileOperationKindKey",         [NSURL fileURLWithPath:_downloadingPath], @"NSProgressFileURLKey",         nil]; self.progress = [[NSProgress alloc] initWithParent:nil userInfo:info]; [self.progress setKind:@"NSProgressKindFile"]; [self.progress setPausable:NO]; [self.progress setCancellable:YES]; [self.progress setTotalUnitCount:_totalBytes]; [self.progress publish]; (updating the progress indicator happens elsewhere) I'm creating an NSProgress object to show a progress indicator underneat a file in my Downloads directory. The entitlements includes com.apple.security.files.downloads.read-write. The indicator does not show when NSProgressFileURLKey points to the sandboxed file path, e.g. /Users/mdbraber/Library/Containers/com.mdbraber.TestApp/Data/Downloads/Test.pptx.download. It does work when NSProgressFileURLKey points to the direct download location which the sandbox links to e.g. /Users/mdbraber/Downloads/Test.pptx.download Is this a bug or should I use something else for NSProgressFileURLKey to make this work?
Posted
by mdbraber.
Last updated
.
Post not yet marked as solved
2 Replies
210 Views
Hello, When it comes to creating application build I've made an application that requires LiDAR to function and knowing that it is possible to restrict an application to iPhone or iPad only for example does a similar situation exist for functionality? Thank you!
Posted
by TonyAmaze.
Last updated
.
Post not yet marked as solved
0 Replies
162 Views
We are trying to suppress or show the notification received based on device. We have a business requirement that once the notification receives on the device, based on device location and predefined geo-fence location, we want to either show or suppress it. we have submitted the similar request to apple entitlement and the request got rejected by apple saying "This is not a supported usecase of the Notification Service Extension filtering entitlement." Can you please help why is this rejected and what are the usecases we can make use of this "com.apple.developer.usernotifications.filtering" request get approved by apple.
Posted Last updated
.
Post marked as solved
5 Replies
345 Views
I'm getting ready to release a new app that uses CloudKit. I just deployed my Development schema to Production in CloudKit dashboard. Is there a way to run my app from Xcode using the CloudKit Production environment for testing? Details of how to test in the production environment are described here: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitQuickStart/TestingYourApp/TestingYourApp.html But would be faster (and easier for debugging potential issues) if I could select tell Xcode to use the production environment when running from the debugger. Is this supported? Thanks
Posted Last updated
.
Post not yet marked as solved
0 Replies
160 Views
Developing Apple Wallet functionality (provisioning credit and debit cards) from my App, I'm unable to open the Apple Wallet screens with the provisioning steps. The bug occurs only in RELEASE (installing the App from TestFlight). Tests in DEBUG/DEVELOP (deploying from XCode) are successful, this means that the Apple provisioning screen opens correctly. We have generated the provisioning profile, setting the Select for the Entitlement that Apple has enabled and we have loaded them correctly. At the same time, we enabled the CAPABILITY Apple Wallet and configured the related Entitlements as follows: <key>com.apple.developer.pass-type-identifiers</key> <array>       <string>$(TeamIdentifierPrefix)*</string> </array> <key>com.apple.developer.payment-pass-provisioning</key> <true/> The only information we have obtained, taken from the gather logging, is that when we install the App (from TestFlight) the following error is generated: <err> (0x16fecXXXXXX) _InstallProvisioningProfile: Could not install embedded profile: 0xeXXXXXXXXXXX (Attempted to install a Beta profile without the proper entitlement.). We have exhausted the alternatives available to us, we can only wait for Apple to respond. If anyone has encountered this situation and could share their experience or solution, I would be completely grateful.
Posted
by fgarcia5.
Last updated
.
Post not yet marked as solved
0 Replies
130 Views
General: DevForums tags: Code Signing, Signing Certificates, Provisioning Profiles, Entitlements Developer Account Help — This document is good in general but, in particular, the Reference section is chock-full of useful information, including the names and purposes of all certificate types issued by Apple Developer web site, tables of which capabilities are supported by which distribution models on iOS and macOS, and information on how to use managed capabilities. TN3125 Inside Code Signing: Provisioning Profiles — This includes links to other technotes in the Inside Code Signing series. Certificate Signing Requests Explained DevForums post --deep Considered Harmful DevForums post Entitlements documentation Don’t Run App Store Distribution-Signed Code DevForums post Mac code signing: DevForums tag: Developer ID Creating Distribution-Signed Code for Mac DevForums post Packaging Mac Software for Distribution DevForums post Manual Code Signing Example DevForums post Placing Content in a Bundle documentation Embedding Nonstandard Code Structures in a Bundle documentation Embedding a Command-Line Tool in a Sandboxed App documentation Signing a Daemon with a Restricted Entitlement documentation For problems with notarisation, see Notarisation Resources. For problems with the trusted execution system, including Gatekeeper, see Trusted Execution Resources. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"
Posted
by eskimo.
Last updated
.
Post not yet marked as solved
2 Replies
190 Views
Hello! Does anybody know how to get the appropriate entitlement to use (or just test for the first time) of the Framework ProximityReader (Tap to pay)?
Posted Last updated
.
Post not yet marked as solved
0 Replies
170 Views
Hello, I am creating an app which includes an AppClip. I added the Clip in the build phases (as an Embed AppClip), I use everywhere the good BundleID (either the parent app, or the clip) but when I'm archiving the app, and then I distribute it, i'm still getting this error: IDEFoundation.AssociatedAppClipIdentifiersFilterErrors error 1 I can't figure why this happen, it's the first Clip I do and deploy so it's all new to me.
Posted
by iNathan.
Last updated
.
Post marked as solved
1 Replies
204 Views
Is something changed in request form for multicast permission? When I try to enter request page https://developer.apple.com/contact/request/networking-multicast I've get "Sorry, you cannot view this page." I am a developer account owner, all agreements is accepted. How can I request this permission for my app for now?
Posted
by svedm.
Last updated
.
Post marked as solved
2 Replies
260 Views
Sandbox is set to no in the entitlements file. Settings → security &amp; privacy → privacy → accessibility is enabled for the app. Can detect global mouse events. Can't use accessibility features: let systemWideElement: AXUIElement = AXUIElementCreateSystemWide() var focusedElement : AnyObject? let error = AXUIElementCopyAttributeValue( systemWideElement, kAXFocusedUIElementAttribute as CFString, &amp;focusedElement ) print(focusedElement) // this prints `nil` Can't execute applescripts ( NSAppleScript() ) Can't send keypress events ( CGEvent().post() ) Also, if i compile the executable with swiftc from terminal and then run from terminal, the app is able to access these features. Are there other xcode settings I need to change or are they always blocked when building from xcode?
Posted
by a-human-.
Last updated
.
Post marked as solved
1 Replies
210 Views
Hi everybody. I got stuck with the problem. I want to use "Sign in with Apple" capability in application signed with Developer ID certificate. I enable this entitlement in my App Store Connect for my App ID, generate the provision profile, download it in Xcode but it writes me that my provision profile does not support "Sign In with Apple" capability. Please clarify my anybody, is it possible to use "Sign in with Apple" capability in applications signed with Developer ID certificate?
Posted
by borntorun.
Last updated
.
Post not yet marked as solved
1 Replies
309 Views
I create a clips, and upload to store, have a error: ITMS-90876: Missing entitlement - This app contains an app clip. The entitlement 'com.apple.developer.associated-appclip-app-identifiers' should be present and include the value of the app clip's application identifier. I had seting clip's entitlements file infomation: com.apple.developer.on-demand-install-capable is YES; Parent Application Identifiers array has $(AppIdentifierPrefix)com.myproject. so, how to solve this error?
Posted
by songhang.
Last updated
.
Post not yet marked as solved
3 Replies
908 Views
Hi , I have successfully provisioned my card into Apple wallet. nd after that I am calling passes() API of PKPassLibrary class , getting empty data.  let passLibary = PKPassLibrary() let pass = passLibary.passes() // giving empty response.  I tried with below API as well, this is giving empty response.  let passListItems = passLibary.passes(of: .secureElement).Pls guide me where I am missing something.
Posted Last updated
.