In the latest Xcode 14.3, iOS 16.4, there is no normally provided information on subscriberCellularProvider, serviceSubscriberCellularProviders, and CTCarrie.

In the latest Xcode 14.3 and iOS 16.4, we are using mobile phone information to prevent voice phishing. Is there a Class or Method in the Apple library that can check carrier information?,subscriberCellularProvider, serviceSubscriberCellularProviders

▿ Optional<CTCarrier>

  • some : CTCarrier (0x161a71850) { Carrier name: [--] Mobile Country Code: [65535] Mobile Network Code:[65535] ISO Country Code:[--] Allows VOIP? [YES]

}

Carrier name, ISO Country Code code is displayed as "--" with this unknown information. Is there a way to check it normally?

That functionality was marked as deprecated some time ago (in both the SDK headers and the documentation) and eventually was removed in iOS 16.4.

See this thread for further discussion.

In the latest Xcode 14.3, iOS 16.4, there is no normally provided information on subscriberCellularProvider, serviceSubscriberCellularProviders, and CTCarrie.
 
 
Q