“文件中缺少所需的架构 arm64...”在 ios 7 设备中运行时的 Xcode 6 beta
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25546997/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
"Missing required architecture arm64 in file..."Xcode 6 beta when running in ios 7 device
提问by Thiago Magalhaes
Im currently making a project in swift and its going allright..
我目前正在快速制作一个项目并且一切顺利..
But when I run my app on my device (iPhone 5s -iOS 7.1), XCode returns me the following error
但是当我在我的设备(iPhone 5s -iOS 7.1)上运行我的应用程序时,XCode 返回以下错误
ld: in '/usr/lib/system/libsystem_configuration.dylib', missing required architecture arm64
in file /usr/lib/system/libsystem_configuration.dylib (2 slices) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried removing derived data but it didn't work and I couldn't find any other answers to that question.
我曾尝试删除派生数据,但它不起作用,我找不到该问题的任何其他答案。
EDIT:Running on simulator with iOS 7 (both 32bit and 64bit sims) works flawlessly.
编辑:在带有 iOS 7(32 位和 64 位 sims)的模拟器上运行完美无缺。
回答by bvsss
Do u have this architecture type with you under architectures.Sry had to add image so created a post .
你在架构下有这种架构类型吗?Sry 不得不添加图像,所以创建了一个帖子。
Also did u try setting Build Active architectore only to NO .
您是否也尝试将 Build Active architectore 设置为 NO 。
Is the arm64 architecture required in ur project?... if u dont need it please check this SO link to edit the architectures.Click this link
你的项目需要 arm64 架构吗?...如果你不需要它,请检查这个 SO 链接来编辑架构。点击这个链接