NSLog(@"plist文件:%@",[[NSBundle mainBundle] infoDictionary]);
plist文件:{
BuildMachineOSBuild = 15F34;
CFBundleDevelopmentRegion = en;
CFBundleExecutable = Test;
CFBundleIdentifier = "com.laoda.Test";
CFBundleInfoDictionaryVersion = "6.0";
CFBundleInfoPlistURL = "Info.plist -- file:///Users/zhangjuntao/Library/Developer/CoreSimulator/Devices/0AD97A8B-25A0-40E2-ACA6-D0343B00B225/data/Containers/Bundle/Application/636D8071-F921-4CC7-8406-DF832A541421/Test.app/";
CFBundleName = Test;
CFBundleNumericVersion = 16809984;
CFBundlePackageType = APPL;
CFBundleShortVersionString = "1.0";// 这个才是App Store上的版本号
CFBundleSignature = "????";
CFBundleSupportedPlatforms = (
iPhoneSimulator
);
CFBundleVersion = 1;// 这个只是Build版本号
DTCompiler = "com.apple.compilers.llvm.clang.1_0";
DTPlatformBuild = "";
DTPlatformName = iphonesimulator;
DTPlatformVersion = "9.2";
DTSDKBuild = 13C75;
DTSDKName = "iphonesimulator9.2";
DTXcode = 0721;
DTXcodeBuild = 7C1002;
LSRequiresIPhoneOS = 1;
MinimumOSVersion = "9.2";
UIDeviceFamily = (
1
);
UILaunchStoryboardName = LaunchScreen;
UIMainStoryboardFile = Main;
UIRequiredDeviceCapabilities = (
armv7
);
UISupportedInterfaceOrientations = (
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight
);
}