原文地址:iphone开发错误总结-警告篇
作者:墓志铭_
警告篇
自己开发过程中遇到的警告,会持续更新,也希望大家多提意见
2.执行 svn delete missFileName
4.3默认使用的是ARC编译,不是原来的GCC编译,所以你编译老程序的话,改回GCC编译看行不行
具体改:选中 project->build setting->buildoptions->complier for c/objective-c/c++-> LLVM GCC 4.2
+ (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress;(这里报的)
#import<netinet/in.h>
四,Application failed code signverification
五,ld: warning: directory notfound for option ' '
ld: warning: directory not found for option '-L/Users/frenck/Downloads/apz/../Google Analytics SDK/Library'
解决方法 :
六,Unable to extract entitlementsfrom application
出错信息
- iPhone/iPod Touch: application executable is missing a requiredarchitecture. At least one of the following architecture(s) must bepresent: armv6
- Application failed codesign verification. The signature wasinvalid, contains disallowed entitlements, or it was not signedwith an iPhone Distribution Certificate.
- Unable to extract entitlements from application: (null)
解决方法
Your problem may due to an invalid setting for the Build Variantsbuild setting. Valid settings are
normal,
profile,and
debug.For submission to the app store, this setting shouldbe
normal.
Here’s how to fix this:
First update the Project build settings:
- Click on Project ->
<yourproject>
->Build Settings - Search for “build variants”
- Click on the arrow icon next to Build Variants in the searchresults to expand the section
- Remove any existing entries and replace themwith
normal
Next update the Target build settings:
- Click on Targets ->
<yourproject>
->Build Settings - Search for “build variants”
- Click on the arrow icon next to Build Variants in the searchresults to expand the section
- Remove any existing entries and replace themwith
normal
原文:http://stackoverflow.com/questions/10540848/validating-an-iphone-app-archive