ENManager fails to activate - Entitlements
pivot429 opened this issue ยท 12 comments
Getting error within xcode console that ENManager "Invalidated unexpectedly" when trying to call activate. Any suggestions?
You need a special entitlement from Apple, it doesn't look like there is a way to request one right now (at least that I know of)
The entitlement is needed even for dev builds?
The entitlement is needed even for dev builds?
Yeah looks like it
what is the entitlement name?
com.apple.developer.exposure-notification
I'm going to rename this thread to indicate it's related to entitlements.
And yea, you need access to this for development builds as best as I can tell. I'm currently developing this app in the blind.
The purpose of ENMockFramework.swift
is to mimic the behaviour of the framework as closely as possible if you don't have access to use the actual framework.
@HendX Thank you so much for this project! I think it's a great approach. Let me know if you have any BLE questions. I don't know iOS that well but have done lots of low level BLE.
I hear Apple will release guidelines for who qualifies for the entitlement soon.
From #54:
What is a process to get this entitlement key from Apple?
You likely need to be a government health department and request it from your Apple contacts. Maybe they will open this up just for development builds, I'm not sure (although I suspect not).
Iโm with JHU, We have an open ticket with Apple. Iโll let you know what the process is when we hear from them.
I work for Adafruit and asked our Apple contact for a way to test with other BLE devices (not to release an app) and the reply was that criteria for entitlement would be published soon.
Information about entitlement:
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_exposure-notification
General info and qualification info:
https://developer.apple.com/contact/request/download/Exposure_Notification_Addendum.pdf
Request for entitlement:
https://developer.apple.com/contact/request/exposure-notification-entitlement