Comments (28)
from appbrowser.
大家看看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.
看pp助手可以搜索iOS12设备上的应用列表。不知道是调用什么api
from appbrowser.
-
(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.
如果有什么进展,请告诉我> <
from appbrowser.
simulator 上可以获取到 真机上就不行了 在ios11上
from appbrowser.
各位找到方式了吗
from appbrowser.
各位,有技术方案了吗?希望可以共享一下,谢谢!
from appbrowser.
有方案了吗,
from appbrowser.
@liuyongjiesail 那个test返回是个对象,不是bool,所以判断一直是true
from appbrowser.
from appbrowser.
@liuyongjiesail 这样的前提是能拿到bundle id,感谢分享!
from appbrowser.
@LithiumCarbonate 有进展没有
from appbrowser.
@LithiumCarbonate ?看区别能看出什么吗。
from appbrowser.
@liuyongjiesail 如果应用是处于正在安装的状态,这个也会判定为已经安装的,能判断出是否已经安装成功的吗?
from appbrowser.
@LithiumCarbonate 哥们儿有进展没
from appbrowser.
ios 11 我并没有找到/System/Library/PrivateFrameworks/MobileContainerManager.framework 这个私有库呀 大神们
from appbrowser.
What about iOS 12?
from appbrowser.
What about iOS 12?
from appbrowser.
from appbrowser.
@wengxianxun any ideas about iOS 12 ?
from appbrowser.
@Superdaren no idea
from appbrowser.
Any news?
from appbrowser.
大佬们 iOS12有头绪吗???
from appbrowser.
还没找到,看来要等正式版出来在测试了
from appbrowser.
ios 12好了吗?
from appbrowser.
期待iOS12找到解决方案
from appbrowser.
ios12 检测应用安装有新的进展吗?
from appbrowser.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appbrowser.