IOS------Warning

本文转载至 http://blog.csdn.net/shijiucdy/article/details/8755667

处理警告:

1,Validate Project Settings(update to recommended settings)

A:


2,'xxxxxxx' is deprecated:first deprecated in ios 5.0
    A:ios系统版本不支持xxxxxxx方法

3,Incomplete implemention

       A:.m文件未实现代理方法或.h中声明的方法

 

 

一:

1:directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Library/Frameworks'

 

A: project (targets)--> Build Settings--> Library Search Paths--> 删除填写的路径

2:property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

A:不能使用“new” "copy"开始的属性名称

3:char *name[3]={"a","b","c"}; Conversion from string Literal to 'char*' is deprecated

A:修改成const char *name[3]={"a","b","c"};

4:Implicit declaration of function 'sysctlbyname' is invalid in C99

A:project (targets)--> Build Settings-->C Language Dialect--->GNU89[-std=gnu89]

5  :  warning:no rule to process file "xxxxxxxxx" of type sourcecode.c.h for architecture i386  

A: project (targets)-->Build Phases-->Compile Sources--把 .h 文件删掉

6 :RegexKitLite.m警告

 [[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:descriptionString];
A :  [[ NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue]description:@"%@",descriptionString];

 

7 : warning: unexpected dylib (.........) on link line

A: project (targets)-->Build Phases-->Link Binary With Libraries--把警告的类库删掉

转载于:https://www.cnblogs.com/Camier-myNiuer/p/4052594.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值