WIN7 X64系统,安装CHSINT WINCE 6.0 SDK时,出现下面的错误, 造成安装失败
ToolsMsmCA(Error):IHxFilters filter registration failure:Err = 0x80040305,Context = pFilters->SetNameSapce(Namespace)
解决办法是:
在选择安装的内容时,把”Documentation”去掉即可。
WIN7 X64系统,安装CHSINT WINCE 6.0 SDK时,出现下面的错误, 造成安装失败
ToolsMsmCA(Error):IHxFilters filter registration failure:Err = 0x80040305,Context = pFilters->SetNameSapce(Namespace)
解决办法是:
在选择安装的内容时,把”Documentation”去掉即可。
Ever since I created these diagrams showing the pixel dimensions for the most common UI components on the iPhone and iPad screens, I constantly find myself referring to them. The only problem was that I usually create the Retina art first. I got tired of having to multiply the unRetina dimensions by two, and I figured you all might too! Continue reading
You can programmatically retrieve the Bundle Seed ID by looking at the access group attribute (i.e.kSecAttrAccessGroup
) of an existing KeyChain item. In the code below, I look up for an existing KeyChain entry and create one if it doesn’t not exist. Once I have a KeyChain entry, I extract the access group information from it and return the access group’s first component separated by “.” (period) as the Bundle Seed ID.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
+ (NSString *)bundleSeedID { NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: kSecClassGenericPassword, kSecClass, @"bundleSeedID", kSecAttrAccount, @"", kSecAttrService, (id)kCFBooleanTrue, kSecReturnAttributes, nil]; CFDictionaryRef result = nil; OSStatus status = SecItemCopyMatching((CFDictionaryRef)query, (CFTypeRef *)&result); if (status == errSecItemNotFound) status = SecItemAdd((CFDictionaryRef)query, (CFTypeRef *)&result); if (status != errSecSuccess) return nil; NSString *accessGroup = [(NSDictionary *)result objectForKey:kSecAttrAccessGroup]; NSArray *components = [accessGroup componentsSeparatedByString:@"."]; NSString *bundleSeedID = [[components objectEnumerator] nextObject]; CFRelease(result); return bundleSeedID; } |