IOS查看包名、版本号、设备信息、签名、进程ID

获取info.plist文件

  1. 获取ipa的安装包,可以通过iTools导出手机中已安装App的ipa包。
  2. 导出ipa包后将后缀“.ipa”改成“.zip”并解压。
  3. 在解压的文件找到info.plist文件。

打开info.plist文件

  1. windows下需要安装一个plist文件编辑器:
    plist edit下载地址:http://download.cnet.com/Plist-Editor/3000-2141_4-10909598.html
  2. 下载plist edit并安装然后之前找到的info.plist文件图标会变成一个黄色图标,双击打开。

获取包名、进程ID、协议名

在plist edit中可以通过ctrl+f查找一下信息。

  • CFBundleIdentifier包名
  • CFBundleExecutable 进程id
  • CFBundleName(一般和进程id是一样的,然后同info.plist文件中会有一个和进程id名的文件)
  • CFBundleURLTypes 协议 (一般有多个)用来唤起APP,暂时还没有使用到

举例参考

应用名称 包名 进程ID 协议名
QQ安全中心 com.tencent.QQ-Mobile QQMobileToken wx68451b483ebd18ce
Todoist com.todoist.ios Todoist db-o8lsvx1nvnswy6q
阿里小号 cn.aliqin.KB KB wxe39210a97e3a9c10
借贷宝 com.renrenxing.JDB JDBClient wxbae9446f8aeb25d5
天天基金网 com.eastmoney.jijin EMProjJijin wx4654ffed0376f250
惠惠购物助手 cn.huihui.deals deals wx5ee450e46e396fd1
赚客帮 com.qixiao.zkbios13 ZhuangKeBang wx3fd85989fa215ecc


=================================

// app名称
 NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
 
// app版本
 NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
 
 // app build版本
 NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"];


```
##所有字段详细说明
```
{
    BuildMachineOSBuild = 15B42;
    CFBundleDevelopmentRegion = ***;       //所属地区
    CFBundleExecutable = **;
    CFBundleIdentifier = "com.***.***";    //包名
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleInfoPlistURL = "xxxxx";        //infoPlist 地址
    CFBundleName = "xxxxx";                //app名字
    CFBundleNumericVersion = 16809984;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "1.0";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        iPhoneOS
    );
    CFBundleVersion = "1.0";
    DTCompiler = "com.apple.compilers.llvm.clang.1_0";
    DTPlatformBuild = 13B137;
    DTPlatformName = iphoneos;
    DTPlatformVersion = "9.1";
    DTSDKBuild = 13B137;
    DTSDKName = "iphoneos9.1";
    DTXcode = 0711;
    DTXcodeBuild = 7B1005;
    LSApplicationQueriesSchemes =     (
        wechat,
        weixin,
        weibosdk,
        mqqapi,
        mqqbrowser,
        mqqopensdkapiV2,
        mqq,
        mttbrowser,
        taobao
    );
    LSRequiresIPhoneOS = 1;
    MinimumOSVersion = "7.0";
    NSAppTransportSecurity =     {
        NSAllowsArbitraryLoads = 1;
    };
    UIDeviceFamily =     (
        1,
        2
    );
    //开机启动画面
    UILaunchImages =     (
                {
            UILaunchImageMinimumOSVersion = "8.0";
            UILaunchImageName = "boluomiLaunch-800-Portrait-736h";
            UILaunchImageOrientation = Portrait;
            UILaunchImageSize = "{414, 736}";
        },
                {
            UILaunchImageMinimumOSVersion = "8.0";
            UILaunchImageName = "boluomiLaunch-800-667h";
            UILaunchImageOrientation = Portrait;
            UILaunchImageSize = "{375, 667}";
        },
                {
            UILaunchImageMinimumOSVersion = "7.0";
            UILaunchImageName = "boluomiLaunch-700";
            UILaunchImageOrientation = Portrait;
            UILaunchImageSize = "{320, 480}";
        },
                {
            UILaunchImageMinimumOSVersion = "7.0";
            UILaunchImageName = "boluomiLaunch-700-568h";
            UILaunchImageOrientation = Portrait;
            UILaunchImageSize = "{320, 568}";
        },
                {
            UILaunchImageMinimumOSVersion = "7.0";
            UILaunchImageName = "boluomiLaunch-700-Portrait";
            UILaunchImageOrientation = Portrait;
            UILaunchImageSize = "{768, 1024}";
        }
    );
    UIRequiredDeviceCapabilities =     (
        armv7
    );
    UIRequiresFullScreen = 1;
    UIStatusBarStyle = UIStatusBarStyleLightContent;
    UISupportedInterfaceOrientations =     (
        UIInterfaceOrientationPortrait
    );
}
```




你可能感兴趣的:(IOS)