iOS: 如何获取iOS 9的servicebundle头文件?

9

我们如何获取/转储iOS 9服务包标头(特别是IncomingCall.servicebundle标头)?

旧版iOS版本(例如:https://github.com/justzt/iPhone-IncomingCall.servicebundle-headers)发布了IncomingCall.servicebundle标头。

我一直在尝试查找或转储它们用于iOS 9,但没有成功。classdump-dyld工具(按照http://iphonedevwiki.net/index.php/Reverse_Engineering_Tools#class-dump.2C_class_dump_z.2C_classdump-dyld描述的那样)无法转储我的dyld库,因为它是 “不适合的映像:dyld_shared_cache_arm64”。

2个回答

1

看起来这里有它了(问题所指的链接):https://github.com/CPDigitalDarkroom/iOS9-SpringBoard-Headers/tree/master/System/Library/SpringBoardPlugins

(这里还有一些iOS 9.1的内容,但似乎不完整:https://github.com/GreenyDev/iOS9.1-SpringBoard-Headers

编辑:我不明白为什么我的答案有资格被删除。问题是由我提出的,我期望得到像这样的答案(一个服务束头文件的链接)。当然我们不能在stackoverflow上发布头文件。问题是“如何/在哪里获取”。在问题中添加“如何转储”的内容仅在它们无处可得时才有意义。


我不明白为什么我的答案可以被删除。这个问题是我提出的,我期望得到像这样的答案(服务包头文件的链接)。当然,在stackoverflow上我们不能发布头文件。这个问题是“如何/在哪里获取”的。加上“如何转储”只是为了防止它们在任何地方都不可用。 - jakob.j

-3

试一下这个

[NSURLConnection sendAsynchronousRequest:request queue:[[NSOperationQueue alloc] init] completionHandler:^(NSURLResponse *response, NSData *data, NSError *connectionError) {

    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse*)response;
        NSLog(@"response status code: %ld", (long)[httpResponse statusCode]);
    if ([httpResponse statusCode] == 200) {


    if ([response respondsToSelector:@selector(allHeaderFields)]) {
        NSDictionary *dictionary = [httpResponse allHeaderFields];
        if ([dictionary valueForKey:@"X-Auth"]) {
            [userDefaults setValue:[NSString stringWithFormat:@"%@",[dictionary valueForKey:@"X-Auth"]] forKey:@"X-Auth"];
        }
    }

这根本没有回答问题。 - JAL

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接