• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CNCopySupportedInterfaces broken in iOS 9.2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CNCopySupportedInterfaces broken in iOS 9.2.1


  • Subject: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
  • From: Carl Hoefs <email@hidden>
  • Date: Wed, 20 Jan 2016 13:18:31 -0800

On 29 Jan 2016, at 09:37, Quinn \"The Eskimo!\" wrote:

> I just updated two of my victim devices (an iPad mini 2 and an iPhone 5C) to iOS 9.2.1 and CNCopySupportedInterfaces is working just fine on both of them.

Ah yes, but you did not try it on an iPod Touch 5th gen A1421!

Seriously, your code works on iPads and iPhones running iOS 9.2.1, but not iPod Touchs. On all of our iPod Touch 5th gens (A1421), CNCopySupportedInterfaces() returns nil.

In the debugger, the CNCopySupportedInterfaces() call jumps to NSObject.h:

NS_INLINE id __nullable CFBridgingRelease(CFTypeRef CF_CONSUMED __nullable X) {
    return (__bridge_transfer id)X;
}

On an iPhone 5S, X is a valid object:

> X __NSCFArray * @"1 object" 0x000000015ee49ca0
  > [0] NSTaggedPointerString * @"en0" 0xa00000000306e653
    > NSString NSString
      > NSObject NSObject
        > isa Class 0x0

But on an iOS 9.2.1 iPod Touch 5th gen, X is nil:

> X CFTypeRef 0x0 0x00000000

Same wifi network environment for both.

How is this even possible?
-Carl



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: CNCopySupportedInterfaces broken in iOS 9.2.1
      • From: Carl Hoefs <email@hidden>
    • Re: CNCopySupportedInterfaces broken in iOS 9.2.1
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
  • Next by Date: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
  • Previous by thread: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
  • Next by thread: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
  • Index(es):
    • Date
    • Thread