GithubHelp home page GithubHelp logo

fix_app_admin_ios11_crash's Introduction

fix app admin crash at iOS 11

如何安装应用降级App_Admin_Cydia_tweak

不看文章直接安装 deb 解决问题

在 iOS 11 使用 App Admin 每次点击下载后都闪退,但是 google 一些国外的文章都说是好用的,很捉急。原本也不着急解决,但是最近需要老版本来验证点东西,没办法,就写了一个 tweak 修复这个 bug 。

查看日志记录是崩溃在这里:

Last Exception Backtrace:
0   CoreFoundation                	0x181796d8c __exceptionPreprocess + 228
1   libobjc.A.dylib               	0x1809505ec objc_exception_throw + 55
2   CoreFoundation                	0x181796c6c +[NSException raise:format:] + 115
3   Foundation                    	0x182203104 -[__NSConcreteURLComponents setPercentEncodedQuery:] + 131
4   AppStoreDaemon                	0x196bfbff8 -[ASDPurchase setBuyParameters:] + 87
5   AppStoreKit                   	0x10539f820 0x1051c4000 + 1947680
6   AppStoreKit                   	0x1052a0160 0x1051c4000 + 901472
7   AppStoreKit                   	0x10529b17c 0x1051c4000 + 881020
8   uaupdatetools.dylib           	0x10680a9e0 0x106800000 + 43488
9   uaupdatetools.dylib           	0x10680ef98 0x106800000 + 61336
10  uaupdatetools.dylib           	0x106805c50 0x106800000 + 23632
11  uaupdatetools.dylib           	0x106805be8 0x106800000 + 23528
12  UIKit                         	0x18b66ff10 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1355
13  UIKit                         	0x18b6c3b94 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 267

复现流程是:打开 App Store ,搜索中文 app 名字,进入详情页面,然后使用降级下载,在点击旧版本下载后,App Store 就会发生闪退。

原先碰到过这种崩溃,是设置 NSURLComponents 的时候有不符合标准的 url 字符,通过打印 buyParameters 查看里面确实有汉字,导致崩溃,所以在源头上对汉字做一下 urlencode

code

fix_app_admin_ios11_crash's People

Contributors

doge1024 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.