![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Xcode 使用、警告、报错
回眸乱了流年
再真挚的感情,再深沉的牵挂,还是会有分开的一天。。。
展开
-
There was an internal API error.
There was an internal API error.xcode7更新之后使用真机调试,在IOS8的一台Iphone5手机上面没什么问题,IOS8的一台iphone6也没问题。但是在IOS6的一台Iphone4s和 IOS7的ipad air2上面在最后安装的时候居然安装失败,提示 There was an internal API error. 然后百度Google了一下,找到一下几种可能或解决办法:1.私有api的问题。2.product转载 2016-07-11 19:04:41 · 612 阅读 · 0 评论 -
iOS——your session has expired please log in
xcode - Your session has expired. Please log in.原因:Xcode中有多个账户,其中有密码过期的账户。重新登录即可。Xcode-->Preferences-->Apple ID。检查哪个账户过期了。可能需要重置密码。原创 2016-12-16 15:52:33 · 8256 阅读 · 0 评论 -
This application's application-identifier entitlement does not match that of the installed applicat
This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.解决办法, 把你以前安装的卸掉, 或者 吧这个项目的 bunl转载 2017-03-05 18:29:09 · 5175 阅读 · 0 评论 -
couldn't get cmd pointer (substituting NULL): extracting data from value failed Couldn't materialize
今天再调试程序的时候 po 一个变量出现这个错误 couldn't get cmd pointer (substituting NULL): extracting data from value failed Couldn't materialize其他的可以进行 网上查了一下 说是工程编译的目标类型是release 应该是debug 解决方法很简单 : product--scheme转载 2017-07-25 16:17:53 · 2327 阅读 · 0 评论 -
Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable con
在使用AFNetworking 2.0 的时候本来一切很顺畅,但是中途遇到几个比较坑的地方这里分享一下爬坑经历,忘读者不能速爬坑!在发送请求后,NSURLSessionDataTask一直报错[html] view plain copy Error Domain=com.alamofire.error.serialization.response Code转载 2017-07-25 16:19:55 · 984 阅读 · 0 评论 -
如何解决问题“This Class is not Key Value Coding-Compliant for the Key”
错误“这个类是不关键价值的关键标准与编码”是iOS开发这将导致一个应用程序来发布之时死机的通病。请仔细阅读,找出解决问题。这个错误经常是一个丢失的对象之间在故事板和一个IBOutlet在代码文件中的连接的结果。这将导致这方面的一个常见的情况是,当你不小心在代码中创建一个IBOutlet中不必要的,而你只是删除出口申报不除去故事板对象上的连接。对于小项目,查找和删除有问题的连接很转载 2017-08-29 16:58:19 · 990 阅读 · 0 评论 -
iOS — 通过自定义framework,在调用的时候,里面的类扩展方法不能调用
Objective-C不会为每一个objc函数生成链接符号,而是会为每一个类生成链接符号。通过category对一个已有的类进行扩展,那么链接器就不知道如何把原代码与category的代码实现关联起来,导致生成的对象无法响应属于category的消息。解决办法:build settings中的Other Linker Flags添加-Objc选项。这个选项会促使链接器加载库中所有定义了Cl原创 2017-10-13 16:27:56 · 3355 阅读 · 0 评论 -
Xcode 7 App Transport Security has blocked a cleartext HTTP 报错解决办法
Xcode 7 创建新项目用到 UIWebView 发送请求时,报下面的错: “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.p原创 2017-06-28 16:39:09 · 310 阅读 · 0 评论 -
解决OBJC_CLASS_$_MBProgressHUD无法引用的问题
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MBProgressHUD", referenced from: objc-class-ref in WLBaseViewController.old: symbol(s) not found for architecture x86_64clang: e原创 2017-10-16 15:11:40 · 4418 阅读 · 0 评论 -
解决symbol(s) not found for architecture x86_64报错
今天在引入一个第三方的拍照选择照片的库时,编译报错。Undefined symbols for architecture x86_64: "_ALAssetPropertyAssetURL", referenced from: -[TZImageManager getAssetIdentifier:] in TZImageManager.o "_ALAssetProperty转载 2017-10-25 15:02:13 · 62523 阅读 · 0 评论 -
iOS平台5+SDK集成
iOS嵌套H5项目,5+SDK集成网上H5页面与原生框架的交互很多,但是在原生框架中嵌入H5页面资料不多。(在多次HBuilder官方人员的指导下才完成,主要官网的文档说明太少)5+SDK下载地址下载好的文件包SDK.pngSDk文件包所以文件SDK包文件.png有三种方式集成- WebView方式集成 用户可在任何页面酱HTML5+SDK的页面以w转载 2017-10-25 15:15:22 · 2106 阅读 · 5 评论 -
iOS开发-Xcode Debug、Release、Archive、Profile、Analyze概念解释
1,Debug和Release版本区别?众所周知,我们进行iOS开发,在Xcode调试程序时,分为两种方式,Debug和Release,在Target的Setting中相信大家应该看到很多选项都分为Debug和Release,方便我们分别设置,满足调试和发布的不同需求。Release是发行版本,比Debug版本有一些优化,文件比Debug文件小 Debug是调试版本,Debug和Relea转载 2016-12-12 16:49:20 · 1057 阅读 · 0 评论 -
xcode——unable to boot the simulator解决方法
解决此问题需要修改目录权限,而对于Mac OS X 10.11 El Capitan用户,由于系统启用了SIP(System Integrity Protection), 导致root用户也没有权限修改目录或文件权限。按如下方式可恢复权限。屏蔽方法:重启Mac,按住command+R(不动,等进度条加载完),会进入recovery模式。选择打开实用工具下的终端,输入:csrutil dis转载 2016-10-19 11:01:12 · 2323 阅读 · 0 评论 -
Could not find Developer Disk Image
Could not find Developer Disk Image真机调试的时候出现这种警告,说明xcode版本过低,不支持当前真机系统,应该升级xcode。原创 2016-07-29 19:08:24 · 287 阅读 · 0 评论 -
process launch failed: failed to get the task for process 7680
process launch failed :failed to get the task for process ***报这样错误的原因:使用真机测试时,在build setting ->code signing ->(code signing Identity)项里选择的不是IOS Developer(开发证书) 而是IOS Distribution (发布证书)把证书改过来重新调试就可以了转载 2016-07-29 20:12:19 · 425 阅读 · 0 评论 -
Xcode警告Category is implementing a method which will also be implemented by its primary class 处理
Xcode警告Category is implementing a method which will also be implemented by its primary class 处理转载 2016-07-19 13:49:35 · 535 阅读 · 0 评论 -
Xcode 自定义代码段
Xcode 自定义代码段看见老师敲程序时,快捷键一打,所需要的一整行代码都出来了,着实感觉到效率太高了。看了几天,才反应过来为什么自己没有get这个方法呢,现在就整理一番,记录一下。此处以@property(nonatomic,copy)NSString * placeHolderStr; 为例,建立一个简单的。1.首先,先在任意一个.h里面,输入这一行文字:转载 2016-08-05 12:06:47 · 367 阅读 · 0 评论 -
Xcode7.2下载安装vvdocument插件(提供的插件已经支持7.3beta)
Xcode7.2下载安装vvdocument插件(提供的插件已经支持7.3beta)1,去GitHub下载插件,网址请戳https://github.com/onevcat/VVDocumenter-Xcode2,解压下载的插件,打开VVDocumenter - Xcode.xcodeprij 3,打开终端 输入命令 defaults read /Applications转载 2016-08-24 12:00:00 · 369 阅读 · 0 评论 -
Xcode iOS9.3 配置包 could not find developer disk image
Xcode iOS9.3 配置包 could not find developer disk image在Finder状态下前往文件夹,快捷键:shift+command+G,填写路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport转载 2016-08-05 14:46:39 · 1640 阅读 · 0 评论 -
Xcode iOS10.0 配置包 could not find developer disk image
Xcode could not find developer disk image在Finder状态下前往文件夹,快捷键:shift+command+G,填写路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport这时候我们把资源包放在DeviceSuppor原创 2016-10-27 15:21:05 · 1182 阅读 · 0 评论 -
iOS 约束警告
iOS 约束警告原创 2016-07-22 17:55:57 · 850 阅读 · 0 评论 -
xcode 编写代码没有代码提示解决办法
xcode 编写代码没有代码提示解决办法方法一: 删除 /Users/用户名/Library/Developer/Xcode/DerivedData 路径下的缓存文件,重启xcode即可。方法二: window -- > Projects - -->Delegate Derived Data 重启Xcode。尝试方法一可行,方法二未尝试。原创 2016-07-27 16:41:35 · 1989 阅读 · 0 评论 -
xcode——You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)
以前的项目 放到Xcode7中运行时可能会遇到以下错误:You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)未来Watch应用须包含Bitcode,iOS不强制,但Xcode7默认会开启Bitcode。如何适配?方法一:更新library使包含Bitcode,否则会出现以下中的警告;转载 2016-10-18 17:15:16 · 379 阅读 · 0 评论 -
AFNetworking报错"_UTTypeCopyPreferredTagWithClass", referenced from: _AFContentTypeForPathExtens
问题:最近在原来项目中用MKNetworkKit 实现网络请求,想为了使应用符合AppStore的要求,用AFNetworking3.0+来满足ipv6。导入AFNetworking 和UIKit+AFNetworking 两个文件的时候5处地方报错:Undefined symbols for architecture x86_64: "_UTTypeCopyPreferre转载 2017-10-25 15:26:38 · 399 阅读 · 0 评论