prife
prife
Failed invoking method '_IDE_initiateSessionWithIdentifier:capabilities:' with error: {%!s(uint64=1) DTXMessage map[]}
1. add cmake support, only macOS now 2. add libraries/corecrypto porting from [rileytestut](https://github.com/rileytestut) without any change, cause corecrypto.zip from apple's site can't be built on arm macOS. 3. add an...
add more information when logging, like this ``` [20:55:03.616][3] main.c:719 enabling libimobiledevice logging [20:55:03.616][3] main.c:730 usbmuxd v1.1.2 starting up [20:55:03.616][4] main.c:838 Creating socket [20:55:03.616][4] main.c:196 Preparing a Unix socket [20:55:03.616][4]...
$ brew install caskroom/cask/brew-cask ==> brew cask install caskroom/cask/brew-cask Error: Tap caskroom/cask already tapped. Follow the instructions here: https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md If this doesn’t fix the problem, please report this bug: https://github.com/caskroom/homebrew-cask#reporting-bugs...
I've made iPhone13/iPad supported for qvh. will PR in soon.
**Test environment** - Host OS version. - Target device model and iOS version. ``` { "BuildVersion": "17G68", "ConnectionType": "USB", "DeviceClass": "iPhone", "DeviceName": "\u4f59\u59d7\u7684 iPhone", "Identifier": "82d8ccbcd9160681f7fd9d377d8e0dff7c6591a5", "ProductType": "iPhone10,3", "ProductVersion": "13.6"...
问题描述:假设两个应用A和B,A中发送某广播,B中接收。A、B都安装到了系统中,即只讨论双开模式。那下面有如下问题, 1. 如果A安装到了VA中,B没有,那么运行A发送广播,B是否应该收到? 2. 如果A、B都安装到了VA中。运行A,那么应该是系统B收到还是VA里的B收到,还是都收到? 目前VA Master分支最新代码,这两种下B(无论是否安装到VA中)都不能收到A发送的广播。 对比平行空间: 1. 系统中B能收到广播 2. 平行空间中的B收到平行空间中A发送的广播。 因为VA还支持插件模式,这个问题就变的比较复杂。
bug描述: VA中打开一个应用,然后在最近列表中移除它,再在va中重复打开它,就启动不了了。 目前分析的结果是这样: 最近应用列表移除会调用到AMS的removeTask,并且在里面执行kill进程。但是VA里面启动的进程被移除时,不会被AMS kill掉,这个在removeTask里走了特殊的path,**Task相关数据结构被删除了**。对比平行空间,通用启动的应用也没有被kill掉。因此 VAMS里的linkToDeath不会生效,ActivityStack.processDied不会被调用。 这个过程VA主进程没有得到通知,VA里再去通过 ActivityManager.moveTaskToFront启动应用是起不来的。AMS里相关数据结构没了。 VA当前缺失了对这种情况处理的代码。 一个思路:利用这个API ActivityManager.getRecentTasks ,VA里 每次luanch intent时,对去比较一下当前系统中存在的Task和VA内部维护的Task列表,如果找到,继续用VA ActivityStack里每次moveTaskFromFront逻辑。找不到说明出现了Task被干掉的情况,但是这时候如何启动client我就没啥思路了。 **平行空间里也是利用了这个 getRecentTasks API。** 测试代码: https://github.com/prife/VirtualApp/commit/6d568acedf6c2b14a7e556d58528a57d821278e2
VA的 版本还可以同时打开多个应用. [f8f8e93](https://github.com/asLody/VirtualApp/commit/f8f8e93842eb5c1fba47e07511b6a750f6595bd6) master上最新代码 [cfc3228](https://github.com/asLody/VirtualApp/commit/cfc322820c8f1ea7e4d579e63cdcd4b29fa0ad69) 已经不能打开同时打开多个应用,即使注释掉: ``` java //HomePresenterImpl.java public void launchApp(AppModel model) { try { // VActivityManager.getInstance().killAllApps(); 注释掉这一行也不能同时打开多个 LoadingActivity.launch(mActivity, model); } catch (Throwable e) { e.printStackTrace(); } } ```