1. I am working for the carrier.
2. On July 24, I filed an eSIM Access Entitlement request through the Apple Developer Portal.
3. I didn't receive any feedback from Apple, but I found out that when I create a development provisioning profile, I can add a eSIM Development to the Entitlement.
4. After downloading and opening the profile, I could check the following information.
<key>Entitlements</key>
<dict>
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>public-cellular-plan</string>
</array>
...
5. I executed the following code but did not get the desired result as the log.
<DEVICE>
iPhone XS MAX
iOS 12.2
<code>
if #available(iOS 12.0, *) {
let provision = CTCellularPlanProvisioning()
let cellrequest = CTCellularPlanProvisioningRequest()
let isSupportEsim = provision.supportsCellularPlan()
cellrequest.address = "https://rsp..." // Address confirmed to download eSIM normally through "add cellular plan" of "iPhone settings"
// cellrequest.matchingID = ""
// cellrequest.oid = ""
// cellrequest.confirmationCode = ""
// cellrequest.iccid = ""
// cellrequest.eid = ""
provision .addPlan(with: cellrequest) { (result) in
var strResult : String = ""
if result == .success{
strResult = "success"
}else if result == .fail{
strResult = "fail"
}else{
strResult = "unknown"
}
print("isSupportEsim = \(isSupportEsim)")
print("strResult is \(strResult)")
}
}
<log>
2019-09-05 14:55:03.651979+0900 *****[588:36758] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}
isSupportEsim = false
strResult is unknown
6. First of all I got a DTS answer through TSI, but I got an answer saying "DTS does not provide support with the CoreTelephony APIs".
7. Is there a way to check if eSIM Entitlement has been granted?
8. Please help us develop Carrier app using eSIM api.