升级xcode8 的那些坑

1.subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-19 10:28:48.056950 afnetwork[13688:378625] subsystem: com.apple.UIKit, category: HIDEventIncoming, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-19 10:28:48.083526 afnetwork[13688:378622] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0

2016-09-19 10:28:48.115729 afnetwork[13688:378543] subsystem: com.apple.UIKit, category: StatusBar, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-19 10:28:48.172 afnetwork[13688:378543] ****225****

2016-09-19 10:29:00.147161 afnetwork[13688:378543] subsystem: com.apple.securityd, category: SecError, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 升级后出现这个错误

解决办法:

升级xcode8 的那些坑_第1张图片

2.RSA 加密失败问题

CFTypeRef persistKey =nil;

OSStatus status = SecItemAdd((__bridge CFDictionaryRef)publicKey, &persistKey);

if(persistKey !=nil){

CFRelease(persistKey);

}

if((status != noErr) && (status != errSecDuplicateItem)) {

returnnil;

}调试运行后 status的值 为-34018

解决方法:

选择TARGETS项目里的-Capabilities,然后打开Keychain Sharing 选项 即可


升级xcode8 的那些坑_第2张图片

3.其他问题适配xcode8 及iOS10

你可能感兴趣的:(升级xcode8 的那些坑)