AppBrowser icon indicating copy to clipboard operation
AppBrowser copied to clipboard

确实在iOS11系统Beta版测试设备上,确实无法获取已安装与安装中列表了,还在研究中

Open zhouXiaoR opened this issue 7 years ago • 28 comments

zhouXiaoR avatar Aug 04 '17 07:08 zhouXiaoR

如果有什么进展,请告诉我> <

lanvsblue avatar Aug 04 '17 08:08 lanvsblue

simulator 上可以获取到 真机上就不行了 在ios11上

Charlotte3240 avatar Sep 15 '17 06:09 Charlotte3240

各位找到方式了吗

wengxianxun avatar Sep 22 '17 09:09 wengxianxun

各位,有技术方案了吗?希望可以共享一下,谢谢!

liuyongjiesail avatar Sep 26 '17 09:09 liuyongjiesail

有方案了吗,

wengxianxun avatar Oct 11 '17 08:10 wengxianxun

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 avatar Oct 11 '17 08:10 liuyongjiesail

@liuyongjiesail 那个test返回是个对象,不是bool,所以判断一直是true

wengxianxun avatar Oct 11 '17 10:10 wengxianxun

如果安装了就返回对象,未安装返回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 avatar Oct 11 '17 10:10 liuyongjiesail

@liuyongjiesail 这样的前提是能拿到bundle id,感谢分享!

lanvsblue avatar Oct 12 '17 08:10 lanvsblue

大家看看MobileCoreServices 在 iOS 11 和 iOS8 上调用 -[LSApplicationWorkspace allInstalledApplications] 的区别 通过 API 监控 iOS 11 MobileCoreServices 方法调用-[LSApplicationWorkspace allInstalledApplications] 子过程 thread-id: 7274494848 | --------------------------------------- -[LSApplicationWorkspace legacyApplicationProxiesListWithType:] thread-id: 7274494848 | ------------------------------------------ -[LSApplicationWorkspace enumerateBundlesOfType:legacySPI:num:1block:class:__NSStackBlock__] thread-id: 7274494848 | --------------------------------------------- +[_LSBundleProxiesOfTypeQuery queryWithType:] thread-id: 7274494848 | ------------------------------------------------------ +[_LSDefaults inSyncBubble] thread-id: 7274494848 | ------------------------------------------------------ +[_LSDefaults inXCTestRigInsecure] thread-id: 7274494848 | --------------------------------------------------------- +[_LSDefaults appleInternal] thread-id: 7274494848 | ------------------------------------------------------ +[_LSDefaults appleInternal] thread-id: 7274494848 | ------------------------------------------------------ +[_LSDefaults hasPersistentPreferences] thread-id: 7274494848 | ------------------------------------------------ -[_LSDefaults isServer] thread-id: 7274494848 | ------------------------------------------------ -[_LSDefaults isServer] thread-id: 7274494848 | ------------------------------------------------ -[_LSDefaults issueSandboxExceptionsIfMayNotMapDatabase] thread-id: 7274494848 | ------------------------------------------------ -[_LSDefaults abortIfMayNotMapDatabase] thread-id: 7274494848 | --------------------------------------------------------- -[_LSDefaults databaseUpdateNotificationName] thread-id: 7274494848 | ------------------------------------------------------------ -[_LSDefaults darwinNotificationNameForCurrentUser:class:__NSCFConstantString] thread-id: 7274494848 | --------------------------------------------- -[_LSQueryContext enumerateResolvedResultsOfQuery:class:_LSBundleProxiesOfTypeQuerywithBlock:class:__NSStackBlock__] thread-id: 7274494848 | ------------------------------------------------ -[_LSQueryContext _resolver] thread-id: 7274494848 | ------------------------------------------------ -[_LSXPCQueryResolver _enumerateResolvedResultsOfQuery:class:_LSBundleProxiesOfTypeQueryXPCConnection:withBlock:class:__NSStackBlock__] thread-id: 7274494848 | --------------------------------------------------- -[_LSXPCQueryResolver _resolveQueries:class:__NSSingleObjectSetIXPCConnection:error:] thread-id: 7274494848 | ------------------------------------------------------ -[_LSXPCQueryResolver resolveWhatWeCanLocallyWithQueries:class:__NSSingleObjectSetIXPCConnection:error:] thread-id: 7274494848 | --------------------------------------------------------- -[_LSDefaults isServer] thread-id: 7274494848 | --------------------------------------------------------- -[_LSBundleProxiesOfTypeQuery _canResolveLocallyWithoutMappingDatabase] thread-id: 7274494848 | ------------------------------------------------------ +[_LSDReadService synchronousXPCProxyWithErrorHandler:class:__NSStackBlock__] thread-id: 7274494848 | --------------------------------------------------------- +[_LSDReadService synchronous:num:1XPCProxyWithErrorHandler:class:__NSStackBlock__] thread-id: 7274494848 | ------------------------------------------------------------ +[_LSDReadService XPCConnectionToService] thread-id: 7274494848 | --------------------------------------------------------------- -[_LSDefaults proxyUIDForCurrentEffectiveUID] thread-id: 7274494848 | ------------------------------------------------------------------ -[_LSDefaults proxyUIDForUID:num:501] thread-id: 7274494848 | --------------------------------------------------------------- +[_LSDReadService XPCConnectionIsAlwaysPrivileged] thread-id: 7274494848 | --------------------------------------------------------------- -[_LSDefaults serviceNameForConnectionType:] thread-id: 7274494848 | ------------------------------------------------------------------ -[_LSDefaults classesWithNameForXCTests:] thread-id: 7274494848 | --------------------------------------------------------------------- -[_LSDefaults isInXCTestRigInsecure] thread-id: 7274494848 | ------------------------------------------------------------------ -[_LSDefaults classesWithNameForXCTests:] thread-id: 7274494848 | --------------------------------------------------------------------- -[_LSDefaults isInXCTestRigInsecure] thread-id: 7274494848 | ------------------------------------------------------ -[__NSXPCInterfaceProxy__LSDReadProtocol ]

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 avatar Oct 13 '17 03:10 LithiumCarbonate

@LithiumCarbonate 有进展没有

ganvinalix avatar Oct 17 '17 12:10 ganvinalix

@LithiumCarbonate ?看区别能看出什么吗。

wengxianxun avatar Oct 30 '17 02:10 wengxianxun

@liuyongjiesail 如果应用是处于正在安装的状态,这个也会判定为已经安装的,能判断出是否已经安装成功的吗?

luckyzwei avatar Nov 01 '17 08:11 luckyzwei

@LithiumCarbonate 哥们儿有进展没

luckyzwei avatar Nov 01 '17 12:11 luckyzwei

ios 11 我并没有找到/System/Library/PrivateFrameworks/MobileContainerManager.framework 这个私有库呀 大神们

chuziming avatar Dec 01 '17 06:12 chuziming

  • (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; }

macRong avatar Mar 27 '18 03:03 macRong

What about iOS 12?

adevios avatar Jun 07 '18 14:06 adevios

What about iOS 12?

Superdaren avatar Jun 20 '18 09:06 Superdaren

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 avatar Jun 20 '18 10:06 wengxianxun

@wengxianxun any ideas about iOS 12 ?

Superdaren avatar Jun 20 '18 10:06 Superdaren

@Superdaren no idea

wengxianxun avatar Jun 28 '18 01:06 wengxianxun

Any news?

adevios avatar Aug 15 '18 21:08 adevios

大佬们 iOS12有头绪吗???

jiejianyou avatar Sep 10 '18 06:09 jiejianyou

还没找到,看来要等正式版出来在测试了

wengxianxun avatar Sep 10 '18 06:09 wengxianxun

ios 12好了吗?

liang530 avatar Sep 21 '18 03:09 liang530

期待iOS12找到解决方案

shijinliang avatar Sep 26 '18 10:09 shijinliang

ios12 检测应用安装有新的进展吗?

liang530 avatar Oct 17 '18 13:10 liang530

看pp助手可以搜索iOS12设备上的应用列表。不知道是调用什么api

xiongwj0910 avatar Oct 17 '18 18:10 xiongwj0910