Git Product home page Git Product logo

Comments (28)

liuyongjiesail avatar liuyongjiesail commented on August 24, 2024 5

from appbrowser.

LithiumCarbonate avatar LithiumCarbonate commented on August 24, 2024 2

大家看看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]

from appbrowser.

xiongwj0910 avatar xiongwj0910 commented on August 24, 2024 2

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

from appbrowser.

macRong avatar macRong commented on August 24, 2024 1
  • (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;
    }

from appbrowser.

lanvsblue avatar lanvsblue commented on August 24, 2024

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

from appbrowser.

Charlotte3240 avatar Charlotte3240 commented on August 24, 2024

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

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

各位找到方式了吗

from appbrowser.

liuyongjiesail avatar liuyongjiesail commented on August 24, 2024

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

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

有方案了吗,

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

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

from appbrowser.

liuyongjiesail avatar liuyongjiesail commented on August 24, 2024

from appbrowser.

lanvsblue avatar lanvsblue commented on August 24, 2024

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

from appbrowser.

ganvinalix avatar ganvinalix commented on August 24, 2024

@LithiumCarbonate 有进展没有

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

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

from appbrowser.

luckyzwei avatar luckyzwei commented on August 24, 2024

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

from appbrowser.

luckyzwei avatar luckyzwei commented on August 24, 2024

@LithiumCarbonate 哥们儿有进展没

from appbrowser.

chuziming avatar chuziming commented on August 24, 2024

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

from appbrowser.

adevios avatar adevios commented on August 24, 2024

What about iOS 12?

from appbrowser.

Superdaren avatar Superdaren commented on August 24, 2024

What about iOS 12?

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

from appbrowser.

Superdaren avatar Superdaren commented on August 24, 2024

@wengxianxun any ideas about iOS 12 ?

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

@Superdaren no idea

from appbrowser.

adevios avatar adevios commented on August 24, 2024

Any news?

from appbrowser.

jiejianyou avatar jiejianyou commented on August 24, 2024

大佬们 iOS12有头绪吗???

from appbrowser.

wengxianxun avatar wengxianxun commented on August 24, 2024

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

from appbrowser.

liang530 avatar liang530 commented on August 24, 2024

ios 12好了吗?

from appbrowser.

shijinliang avatar shijinliang commented on August 24, 2024

期待iOS12找到解决方案

from appbrowser.

liang530 avatar liang530 commented on August 24, 2024

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

from appbrowser.

Related Issues (8)

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.