Device support eSIM or not

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.

Hi Bdurai,
Any solution you find please post here even we are facing same issue.
Hi Subareddy,

Please refer to this post https://developer.apple.com/forums/thread/662001

Also you need to update entitlement with below changes
<dict>
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>public-cellular-plan</string>
</array>
</dict>



Device support eSIM or not
 
 
Q