lyonanderson / iOS-Diagnostics

A simple iOS Diagnostics client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ios 10 support

daniel-bluesea opened this issue · comments

is it working also for ios 10?

it seems that apple changed the private framework which has the power logs "api"

commented

@lyonanderson
Hello - seems not to be working for iOS 10 (on my iphone 6) - though it runs in the simulator. Tracing it, I see that loadPowerLogs fails. Seems to fail here:
` NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/iOSDiagnosticsSupport.framework"];

BOOL hasLoaded = [b load];
`

From what I can see by poking around a bit more. It seems that "iOSDiagnosticsSupport.framework" no longer exists but there is: "DiagnosticsSupport.framework"...and changing the name in the code allows the bundle to be loaded but it then fails in the code that follows... It seems that the class MBSDevice is no longer present... What are your ideas or knowledge on why this now fails and is there any way to fix it?