Under Xcode511
Undefined symbols for architecture armv7s:
"_ IOMasterPort", referenced from:
GetValue (NSString *) in ZHPay
"_ IORegistryGetRootEntry", referenced from:
GetValue (NSString *) in ZHPay
"_ IORegistryEntrySearchCFProperty", referenced from:
GetValue (NSString *) in ZHPay
Ld: symbol (s) not found for architecture armv7s
Clang: error: linker command failed with exit code 1 (use-v to see invocation)
Search, found that the interface is in IOKit, but Xcode511 can not add IOKit. framework, even if it is forcibly added, it still reports an error,
IOKit cannot be found, ld: framework not found IOKit
So put the dog and Baidu,
Cd/Applications/Xcode. app/Contents/Developer/Platforms/iPhoneOS. platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/IOKit. framework
Sudo ln-s Versions/A/IOKit.
I can't add Xcode6 after reading it again. This .....
IOKit cannot find the problem definition