iOS错误Error
文章平均质量分 93
iOS开发过程中遇到的错误
莫小言mo
用心梳理加强理解,记录在案方便查阅
https://github.com/mxh-mo
展开
-
iOS_Error(五)
新增一个值 ${SRCROOT} - Recursive (在根目录递归查找)pod install 时某些库安装失败了,重新 pod install 一下。平时遇到的一些error+解决办法,记录 for 再次遇到。退出Xcode,清理DerivedData,后打开重试。“XCBBuildService”意外退出。库限制的iOS版本太低了,改高点就好了。原创 2023-06-06 23:01:18 · 3038 阅读 · 1 评论 -
iOS_Error(四)
Merge 其他分支后提交失败提示:HEAD -> refs/for/pod (no new changes)merge指令加上–no-ff(不使用fast-forward方式合并,合并的时候会创建一个新的commit用于合并)git merge --no-ff master参考:https://blog.csdn.net/u013848401/article/details/86311491 [!] Unable to read the license file LICENSE...原创 2021-01-10 14:16:08 · 1330 阅读 · 0 评论 -
iOS_Error(三)
You don’t have permission to file(没有权限操作文件).plist文件-> Executable file -> $(EXECUTABLE_NAME)dyld: Library not loaded: @rpath/BTLibrary.framework/BTLibrary no suitable image foundBuild Settings -> Link Binary With Libraries相应的库status改成 Opt.原创 2020-07-03 18:11:47 · 578 阅读 · 0 评论 -
iOS_版本低于iOS13 Crash:dyld: Library not loaded CryptoKit
公司要了高通的Gaia库实现OTA,版本迭代他们用了CryptoKit,而我们的app还是支持iOS9的,所以得做一下兼容:网上找了方法:(虽然编译过了,但是iOS12的手机点击就闪退)#if canImport(CryptoKit)import CryptoKit// Use CryptoKit#elseimport CommonCrypto// Use CommonCrypto#endif然后翻到:官服文档,知道了需要弱引用,但是不会具体操作,继续翻~ 然后找到了一个:原创 2020-05-22 16:00:59 · 435 阅读 · 0 评论 -
iOS_环信SDK报错处理方法obtain an updated library from the vendor, or disable bitcode for this target
ld: '/Users/momo/Desktop/ThreeFingers/Pods/EaseMobSDKFull/EaseMobSDKFull/lib/libEaseMobClientSDK_arm64.a(easemobvideo.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode sett...原创 2016-03-02 16:18:00 · 2992 阅读 · 0 评论 -
iOS_pod的SDK报错,Linker command failed with exit code1(use -v to see invocation)
错误1789个重复的符号:原因是我用cocopads 导入了重复的SDK环信的SDKEaseMobSDK: 不包含语音的EaseMobSDKFull: 包含语音的在Podfile中将导入EaseMobSDK的命令行删除,然后打开终端,输入你当前工程的路径,进入到工程文件夹,更新一下pod,重新打开工程就好了...原创 2016-03-02 16:53:05 · 659 阅读 · 0 评论 -
iOS_Error_Attempted to dereference an invalid ObjC Object or send it an unrecognized selector.
album = responseObject[@"album"];是我将一个字典直接赋值给了对象改为如下即可[albumsetValuesForKeysWithDictionary:responseObject[@"album"]];原创 2016-03-02 17:01:05 · 7635 阅读 · 0 评论 -
iOS_Error(二)
之前的博客添加不了了, 只能重新写一个了(null): warning: (arm64) /Users/scmbuild/workspace/standard-pay/IOS/cp_record_client_release_729146/2134/mspc_iphone_msdk/AlipaySDK4Standard/AlipaySDK/Library/UTDID.framework/UTD...原创 2018-08-09 15:14:26 · 1245 阅读 · 0 评论 -
iOS_Error(一)
// 2018.01.19 添加:Warning: The Copy Bundle Resources build phase contains this target's Info.plist file '*/Info.plist'.大概步骤就是点击 项目名->Build phases->找到Copy bundle Resources->找到里面的info.plis...原创 2016-03-02 17:02:40 · 7306 阅读 · 0 评论