diff --git a/checkipa b/checkipa index 78fffaf..3b8fcf2 100755 --- a/checkipa +++ b/checkipa @@ -159,7 +159,7 @@ class IntegrityCheck(object): 'description': 'formatted incorrectly'}) if self.errors['appid_bundleseed_mismatch']: - appid_parts = self.profile['Entitlements']['application-identifier'].split('.', 1) + appid_parts = self.profile['Entitlements']['/out_'].split('.', 1) appid_suffix = appid_parts[1] bundleid_val = self.data['CFBundleIdentifier'] desc = 'BundleID "%s" does not match AppID "%s"' % (bundleid_val, appid_suffix) @@ -233,10 +233,18 @@ class IntegrityCheck(object): if 'CFBundleName' in self.data: txt.append(' Name: %s' % (self.data['CFBundleName'])) - + if 'CFBundleIdentifier' in self.data: + txt.append(' BundleID: %s' % (self.data['CFBundleIdentifier'])) + if 'CFBundleShortVersionString' in self.data: + txt.append(' Release Version: %s' % (self.data['CFBundleShortVersionString'])) if 'CFBundleVersion' in self.data: - txt.append(' Version: %s' % (self.data['CFBundleVersion'])) - + txt.append(' Build Version: %s' % (self.data['CFBundleVersion'])) + if ('Name' in self.profile): + txt.append(' Profile Name: %s' % (self.profile['Name'])) + if ('application-identifier' in self.profile['Entitlements']): + txt.append(' profile application-identifier: %s' % (self.profile['Entitlements']['application-identifier'])) + else: + txt.append(' profile application-identifier: %s' % ("unknown")) if ('ExpirationDate' in self.profile): txt.append(' Expiration Date: %s' % (self.profile['ExpirationDate'])) @@ -282,6 +290,7 @@ class IntegrityCheck(object): for line in txt: print(' %s' % (line)) + # end output_report @@ -295,10 +304,11 @@ class IntegrityCheck(object): self.check_bundle_id() self.check_bundle_seed() self.check_appid() - self.check_push() + #self.check_push() self.check_dist_method() self.check_dist_profile() self.check_expiration_date() + # self.check_executable_size() def check_expiration_date(self): if ('ExpirationDate' in self.profile): @@ -461,7 +471,8 @@ class IntegrityCheck(object): elif 'ProvisionedDevices' in self.profile: self.ipa_info['adhoc'] = True else: - self.errors['distmethod'] = True + self.ipa_info['app_store'] = True + #self.errors['distmethod'] = True def _initialize_results_data(self): # All errors and warnings are to be declared here and set to