问题
I had successfully built an app with xcode 4.5 and iOS 6.1 SDK. But yesterday I updated Xcode to 5.1. And now when I try to build for releasing, it throws so many errors.
These are the errors.
- types.h - User Defined Issues - Architecture not supported
- _types.h - User Defined Issues - Architecture not supported
- Semantic issue - Unknown type name '__int64_t', Unknown type name '__int32_t', Unknown type name '__uint64_t', Unknown type name '__uint32_t', Unknown type name '__darwin_natural_t'.. etc.
I think these errors are from iPad-prefix.pch, UIKit.h, iPhoneOS6.1.sdk and some frameworks. I have no clue how to fix it.
The Deployment target is 6.1 and Base SDK is 7.1. Architecture is Standard Architecture armv7, armv7s, arm64.
回答1:
Please, try remove from "Standart Architectures" arm64. And leave arm64 in "Valid Architectures"
来源:https://stackoverflow.com/questions/22424568/xcode-5-1-ios-7-1-error