Post

Replies

Boosts

Views

Activity

2 iPhones connected to mac, XCode doesnt recognize them
Hello together. Since a few weeks I have the problem, that both of my iPhones (iPhone 15 with iOS 26.4.1 and an iPhone Xs with iOS 18.7.4) are NOT recognized by xcode, but are visible in Mac Finder this is what xcode shows: When I click on that I see this: and in finder: I tried everyhting I re-installed XCode 5 times and deleted ALL XCode folders manually I restarted all devices and today I completely reinstalled my mac My Macbook has iOS 26.4.1 as well and XCode is freshly installed from App Store
1
0
57
1w
Help with "serviceSubscriberCellularProviders"
Hey, I've got a source code in XCode which looks like that: #if !(TARGET_IPHONE_SIMULATOR)   NSString *carrierName = nil;   CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];   if (netinfo) {     CTCarrier *carrier = netinfo.serviceSubscriberCellularProviders;     carrierName = carrier.carrierName;   }   if (carrierName) {     info[@"carrierName"] = carrierName;   } #endif       return info; } @end Now I get a warning: "Incompatible pointer types initializing 'CTCarrier *' with an expression of type 'NSDictionary<NSString *,CTCarrier *> * _Nullable'" What does that mean?
1
0
662
Oct ’22
2 iPhones connected to mac, XCode doesnt recognize them
Hello together. Since a few weeks I have the problem, that both of my iPhones (iPhone 15 with iOS 26.4.1 and an iPhone Xs with iOS 18.7.4) are NOT recognized by xcode, but are visible in Mac Finder this is what xcode shows: When I click on that I see this: and in finder: I tried everyhting I re-installed XCode 5 times and deleted ALL XCode folders manually I restarted all devices and today I completely reinstalled my mac My Macbook has iOS 26.4.1 as well and XCode is freshly installed from App Store
Replies
1
Boosts
0
Views
57
Activity
1w
Help with "serviceSubscriberCellularProviders"
Hey, I've got a source code in XCode which looks like that: #if !(TARGET_IPHONE_SIMULATOR)   NSString *carrierName = nil;   CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];   if (netinfo) {     CTCarrier *carrier = netinfo.serviceSubscriberCellularProviders;     carrierName = carrier.carrierName;   }   if (carrierName) {     info[@"carrierName"] = carrierName;   } #endif       return info; } @end Now I get a warning: "Incompatible pointer types initializing 'CTCarrier *' with an expression of type 'NSDictionary<NSString *,CTCarrier *> * _Nullable'" What does that mean?
Replies
1
Boosts
0
Views
662
Activity
Oct ’22