xcode i386、armv7和armv7s有什么区别?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16174189/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 03:16:12  来源:igfitidea点击:

What's the difference between i386, armv7 and armv7s?

xcode

提问by Mr. Frank

I would like to know the difference between those architectures in Xcode because I need to know how I understand that a library can compile correctly for iOS Simulator and also for iPhone 5, iPhone 4s and iPhone 4. Or just for one of those.

我想知道 Xcode 中这些架构之间的区别,因为我需要知道我如何理解库可以为 iOS 模拟器以及 iPhone 5、iPhone 4s 和 iPhone 4 正确编译。或者只是为其中之一。

回答by dmee3

  • i386:Typically MacOSX (I am not sure whether Simulator is included here or no).
  • arm6:old iPhones.
  • arm7:iPhone4/4S.
  • arm7s:additional instructions for arm7 to make good use of iPhone 5 processor.
  • i386:通常是 MacOSX(我不确定此处是否包含模拟器)。
  • arm6:旧 iPhone。
  • arm7:iPhone4/4S。
  • arm7s:arm7 使用 iPhone 5 处理器的附加说明。

Hope this helps. Compiling libraries to support all platforms sometimes is very frustrating and tedious task. Good luck!

希望这可以帮助。编译库以支持所有平台有时是非常令人沮丧和乏味的任务。祝你好运!