Xcode 5.1 - iOS 7.1 error

我怕爱的太早我们不能终老 提交于 2019-12-11 12:06:28

问题


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.

  1. types.h - User Defined Issues - Architecture not supported
  2. _types.h - User Defined Issues - Architecture not supported
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!