美文网首页
iOS 错误集合

iOS 错误集合

作者: 彦子凡 | 来源:发表于2018-04-17 12:00 被阅读23次

1.证书错误

xxx has conflicting provisioning settings.
xxx is automatically signed, but provisioning profile 02e97ddc-da59-4ba0-9081-d93b50d620f1 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.

项目右键==>显示包内容==>project.pbxproj删除"02e97ddc-da59-4ba0-9081-d93b50d620f1"行

2.xib 相关错误

Internal error. Please file a bug at bugreport.apple.com and attach......

clean 项目就可以~
解决方法:
cmd + shift + k
cmd + option + shift + k
Restart Xcode

3.归档的时候出现崩溃

ClassName : unrecognized selector sent to instance

原因:归档的实现函数中键值对错误,或者直接未实现
解决:实现.m中的函数,且不要出现错误键值对

4.代理属性重名

Auto property synthesis will not synthesize property 'delegate'; it will be implemented by its superclass, use @dynamic to acknowledge intention
Property type 'id<XXTabBarDelegete>' is incompatible with type 'id<UITabBarDelegate> _Nullable' inherited from 'UITabBar'

原因:和原生提供的delegate属性重名
解决:让代理继承UITabBarDelegate,并修改属性名

@protocol XXTabBarDelegete < UITabBarDelegate >
@end

...
@property (weak, nonatomic)id < XXTabBarDelegete >myDelegate;

5.代理错误

设置代理处黄色警告:
IOS Assigning to 'id<XXXDelegate>' from incompatible type...

原因:
未添加代理或者代理写错
解决:
添加上代理就可以了

6.iOS项目未清理错误

Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/v5/......

解决方法:
cmd + shift + k
cmd + option + shift + k
Restart Xcode

相关文章

  • iOS错误集合

    一、XCode警告[Unknown process name] CGContextSaveGState: inva...

  • iOS 错误集合

    1.证书错误 项目右键==>显示包内容==>project.pbxproj删除"02e97ddc-da59-4ba...

  • iOS 错误集合

    1、iOS 不能加载Https网页 https://h5.ele.me/baida/#group_sn=994f...

  • openCV for iOS 错误集合

    最近项目在有一个功能 是利用opencv的一个功能,在集成opencv 的时候遇见了很多小问题 也是非常头疼的,在...

  • IOS编译错误集合

    本文仅收集了作者工作中遇到的错误情况,边查错边更新,当然作者遇到的肯定是很小的一部分,如果有兄弟姐妹没遇到其他的错...

  • IOS学习之错误集合

    错误1: unrecognized selector send to instance 问题原因:你想调用A函数,...

  • iOS开发遇到错误集合

    练习项目,遇到所有问题都在这记录。 一、请求参数count需要使用NSString类型 1、开发中,接口文档有个参...

  • Flutter iOS异常错误集合

    ERROR ITMS-90206:"Invalid Bundle. The bundle at ‘xx.app/x...

  • iOS开发遍历集合(NSArray,NSDictionary、N

    iOS开发遍历集合(NSArray,NSDictionary、NSSet)方法总结 iOS开发遍历集合(NSArr...

  • 错误集合

    Commit failed with error: did not match any file(s) known...

网友评论

      本文标题:iOS 错误集合

      本文链接:https://www.haomeiwen.com/subject/gopukftx.html