各种编译不通过xcode

2017-08-24

Apple Mach-O Linker (Id) Error

  Linker command failed with exit code 1

  (use -v to see invocation)

报这个错,多半是因为没有在静态库里找到相应的类。

2018-05-04

 Showing Recent Messages
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/AliyunVideoSDKPro.framework/AliyunVideoSDKPro) file '/Volumes/data/Mac10-13/workspace/quPai2017/重新来过/ModulesDevProject/UZApp/AliyunVideoSDKPro.framework/AliyunVideoSDKPro' for architecture arm64
意思是说 AliyunVideoSDKPro.framework最低只支持iOS 8.0,而你的工程最低是iOS 7.0
工程中找到iOS Deployment Target 改为 iOS 8.0就好了。
 
Library not loaded: Reason: image not found 
把加载不了的framework 的在Link Binary With Libraries中把Required 变为 Optional

2018-05-05

以前好奇,有些framework的包里面是一个黑块,黑块上面有个绿字“exec” ,不知道为什么有不同,普通的是白板。

今天瞎猫撞上死耗子,花了好多时间,居然知道了它就是动态的framework
而且动态的framework是要放在targets -> General -> Embedded Binaries 而不是Build Phases里的 Link Binary With Libraries 
2018-05-06

This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

这个是因为没有加权限,需要在Info.plist里加权限。

遇到图片png不合规,我以为大面积要换,哪知道换了一个,其它的都不报错了。

转载于:https://www.cnblogs.com/angelshelter/p/7424990.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值