iOS设备和模拟器的构建实际上有何不同?

由于iOS模拟器是一个模拟器,为什么我需要专门为它构建?在某种VM /沙箱中运行真实代码的模拟器不是重点吗?

那么,设备/模拟器的构建方式与实际构建的应用程序的不同之处存在哪些实际差异呢?

解决方法

An application running natively on an iOS device is an ARM program. However,an application running in the iOS Simulator is an ordinary 32-bit (i386 architecture) Mac OS X program. In other words,the Simulator doesn’t simulate an iOS device down to the hardware level. It provides a faithful copy of the iOS environment,reimplemented to run natively on the Mac.

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...