Exceptions iOS备忘录
Jabony
只要还有明天,今天就永远是起跑点
展开
-
【iOS】The run destination My Mac 64-bit is not valid for Running the scheme '*'
感谢浏览 换了imac,Xcode换到了5.0 遇到了一些问题,之前的代码很多都不能运行,提示如标题所示的错误,在国外论坛上给出了解决办法,如下: How to change the SDK: 1) 选择你的工程徐图标. 2)在右侧选择 Build Settings ——all. 3)找到Architectures ——Base SDK 修改成 the latest OS X原创 2014-01-19 17:40:28 · 1335 阅读 · 0 评论 -
【iOS】Autosynthesized property警告解决方案
warning: Autosynthesized property 'myTimer' will use synthesized instance variable '_myTimer', not existing instance variable 'myTimer'. 我所有在@synthesize 里的变量或者说在@property里面的变量都有这个警告。 在我的.h 文件中我声明了一原创 2014-02-09 23:54:11 · 7965 阅读 · 0 评论 -
【iOS异常】 JSonKit does not support Objective-C Automatic Reference Counting(ARC)
iOS开发 JSonKit does not support Objective-C Automatic Reference Counting(ARC)使用JSonKit遇到“JSonKit does not support Objective-C Automatic Reference Counting(ARC)”这种情况,可参照如下方法:点击项目根目录->targets->Buil...原创 2018-06-07 20:49:22 · 685 阅读 · 0 评论 -
【iOS异常】导入SDWebImage时SDWebImageDownloaderOperation.m错误
导入工程后编译,SDWebImageDownloaderOperation.m 和 UIImage+MultiFormat.m 文件报错如下:No matching function for call to 'CFNumberGetValue'解决办法:builder setting - Compile Sources As 改为According to fie type,之前是ObjectC++...原创 2018-06-07 20:53:35 · 938 阅读 · 0 评论 -
[iOS已解决]:linker command failed with exit code 1 (use -v to see invocation)
linker command failed with exit code 1 (use -v to see invocation)根据输入错误日志log,能够看到某些类重复引用出现这种情况很可能是,项目中引入了多个相同的文件。我的项目出错就是项目中出现了两个相同的文件引用(来自腾讯直播和腾讯IMsdk集成造成),不得不说这两个demo的集成非常坑,集成不仅仅要替换整套IM的framework,还要...原创 2018-06-07 19:06:19 · 1144 阅读 · 0 评论 -
[iOS]NSPhotoLibraryAddUsageDescription 错误的解决办法
项目将图片并保存到本地的功能,一点发现闪退了。 发现 Xcode 报以下错误: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryAd...原创 2018-10-15 23:35:19 · 2633 阅读 · 0 评论