AppBrowser
AppBrowser copied to clipboard
确实在iOS11系统Beta版测试设备上,确实无法获取已安装与安装中列表了,还在研究中
如果有什么进展,请告诉我> <
simulator 上可以获取到 真机上就不行了 在ios11上
各位找到方式了吗
各位,有技术方案了吗?希望可以共享一下,谢谢!
有方案了吗,
http://m.blog.csdn.net/Yj_sail/article/details/78186723 暂时这么解决的,没有好方案
发自我的 iPhone
在 2017年10月11日,16:00,wengxx [email protected] 写道:
有方案了吗,
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@liuyongjiesail 那个test返回是个对象,不是bool,所以判断一直是true
如果安装了就返回对象,未安装返回nil
发自我的 iPhone
在 2017年10月11日,18:00,wengxx [email protected] 写道:
@liuyongjiesail 那个test返回是个对象,不是bool,所以判断一直是true
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@liuyongjiesail 这样的前提是能拿到bundle id,感谢分享!
大家看看MobileCoreServices 在 iOS 11 和 iOS8 上调用 -[LSApplicationWorkspace allInstalledApplications] 的区别
通过 API 监控 iOS 11 MobileCoreServices 方法调用-[LSApplicationWorkspace allInstalledApplications] 子过程
thread-id: 7274494848 | --------------------------------------- -[LSApplicationWorkspace legacyApplicationProxiesListWithType:
iOS 8 MobileCoreServices 方法调用 -[LSApplicationWorkspace allInstalledApplications] 子过程
thread-id: 6875816720 | --------------------------------------- +[LSApplicationProxy applicationProxyWithBundleUnitID:num:1736] thread-id: 6875816720 | ------------------------------------------ -[LSApplicationProxy _initWithBundleUnit:num:1736applicationIdentifier:class:__NSCFString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundApplicationIdentifier:class:__NSCFString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundContainerURL:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundDataContainerURL:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundResourcesDirectoryURL:class:NSURL] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconsDictionary:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconCacheKey:class:__NSCFConstantString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconFileNames:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setTypeOwner:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconIsPrerendered:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconIsBadge:] thread-id: 6875816720 | ------------------------------------------------ -[LSApplicationProxy boundDataContainerURL] thread-id: 6875816720 | --------------------------------------- +[LSApplicationProxy applicationProxyWithBundleUnitID:num:2020] thread-id: 6875816720 | ------------------------------------------ -[LSApplicationProxy _initWithBundleUnit:num:2020applicationIdentifier:class:__NSCFString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundApplicationIdentifier:class:__NSCFString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundContainerURL:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundDataContainerURL:class:NSURL] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundResourcesDirectoryURL:class:NSURL] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconsDictionary:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconCacheKey:class:__NSCFConstantString] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconFileNames:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setTypeOwner:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconIsPrerendered:] thread-id: 6875816720 | --------------------------------------------- -[LSApplicationProxy setBoundIconIsBadge:] thread-id: 6875816720 | ------------------------------------------------ -[LSApplicationProxy boundDataContainerURL]
@LithiumCarbonate 有进展没有
@LithiumCarbonate ?看区别能看出什么吗。
@liuyongjiesail 如果应用是处于正在安装的状态,这个也会判定为已经安装的,能判断出是否已经安装成功的吗?
@LithiumCarbonate 哥们儿有进展没
ios 11 我并没有找到/System/Library/PrivateFrameworks/MobileContainerManager.framework 这个私有库呀 大神们
-
(BOOL)skinContainBD:(NSString*)bd {
dlopen("/System/Library/PrivateFrameworks/MobileContainerManager.framework/MobileContainerManager",RTLD_NOW); Class am = NSClassFromString(@"MCMAppDataContainer"); NSError *error ; id con = nil; @try { con = [self f_Class:am f_fun:@"containerWithIdentifier:error:" par1:bd par2:error]; } @catch (NSException *exception) {} @finally {}return con != nil; }
-
(id)f_Class:(Class)obj f_fun:(NSString *)f_fun par1:(NSString *)par1 par2:(NSError *)par2 { if (!f_fun || f_fun.length <=0 || !obj) { return nil; }
SEL sel = NSSelectorFromString(f_fun); IMP imp = [obj methodForSelector:sel]; id (*func)(id, SEL,NSString *, NSError *) = (void *)imp; id result = func(obj,sel,par1,par2); return result; }
What about iOS 12?
What about iOS 12?
ios12 无效了,测试完毕
发自我的 iPhone
在 2018年6月20日,下午5:59,yg_lin <[email protected]mailto:[email protected]> 写道:
What about iOS 12?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/lanvsblue/AppBrowser/issues/2#issuecomment-398694316, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAyxmt-vrGastJaUgduqyJdFNqV0x0Z8ks5t-hzxgaJpZM4OtYay.
@wengxianxun any ideas about iOS 12 ?
@Superdaren no idea
Any news?
大佬们 iOS12有头绪吗???
还没找到,看来要等正式版出来在测试了
ios 12好了吗?
期待iOS12找到解决方案
ios12 检测应用安装有新的进展吗?
看pp助手可以搜索iOS12设备上的应用列表。不知道是调用什么api