Hi Team,
I work for one of the networks. I got eSIM entitlement for dev/distribution profile.
Done the below changes to check the device support eSIM or not.
Added below changes in <appname>.entitlements
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>public-cellular-plan</string>
</array>
info.plist
<key>CarrierDescriptors</key>
<array>
<dict>
<key>MCC</key> //Mobile country code
<string>’mnc value’</string>
<key>MNC</key> // Mobile network code
<string>’mnc value’</string>
</dict>
</array>
I am checking the device support eSIM or not.
func isDeviceSupportESIM() -> Bool {
if #available(iOS 12.0, *) {
let plan = CTCellularPlanProvisioning()
if plan.supportsCellularPlan() {
return true
}
return false
}
return false
}
Method always return nil.