加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – RestKit – Lipo错误:无法在Xcode5中打开输入文件

发布时间:2020-12-14 18:09:07 所属栏目:百科 来源:网络整理
导读:我有一个iOS应用程序,我需要在iOS7上升级.我使用的是RestKit版本0.10.2.归档时我得到以下错误. /Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/khawarshahzad/Library/Dev
我有一个iOS应用程序,我需要在iOS7上升级.我使用的是RestKit版本0.10.2.归档时我得到以下错误.

/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/khawarshahzad/Library/Developer/Xcode/DerivedData/MyAPP-fcvmsuowvnqkdseskmuetssnxoww/Build/Intermediates/ArchiveIntermediates/MyAPP/IntermediateBuildFilesPath/MyAPP.build/Release-iphoneos/MyAPP.build/Objects-normal/armv7s/MyAPP (No such file or directory)

以前我按照说明修复了iOS6的这个错误
https://github.com/RestKit/RestKit/issues/930

但现在它不适用于iOS7.以下是当前RestKit.xcodeproj架构设置的屏幕截图.

任何建议表示赞赏.

解决方法

咦!终于找到了解决方案.如果您没有使用arm64架构的任何特定功能,那么就开始吧.
转到项目 – > target(您的项目名称) – >构建设置并将架构更改为标准体系结构(armv7,armv7s),以及armv7,armv7s的有效体系结构.将Build Active Architecture仅设置为Yes

对RestKit.xcodeproj重复相同的操作

清理您的项目和存档.最好的运气:)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读