首页 \ 问答 \ 使用iOS 5.0.1 beta版设备测试iOS应用(Test iOS app with device of iOS 5.0.1 beta version)

使用iOS 5.0.1 beta版设备测试iOS应用(Test iOS app with device of iOS 5.0.1 beta version)

现在,我使用支持iOS 5.0的Xcode 4.2。 Apple刚刚发布了iOS 5.0.1 beta 2.我可以在我的iPhone上安装它。

我想测试这个测试版,即从Xcode构建代码。

如何从Xcode 4.2为iOS 5.0.1 beta设备构建代码?

请帮忙


Now, I use Xcode 4.2 supporting iOS 5.0. Apple has just released iOS 5.0.1 beta 2. I can install it on my iPhone.

I want to test with this beta version, i.e build code from Xcode.

How do I build code from Xcode 4.2 for device of iOS 5.0.1 beta?

Please help


原文:https://stackoverflow.com/questions/8075179
更新时间:2022-11-11 16:11

最满意答案

在进一步调查的基础上,结论已被逆转

虽然几乎所有驱动器都使用512字节逻辑扇区,但现代分区表使用LBA地址,而LBA单元大小是设备的逻辑扇区大小,现在可能高达4096字节。

最后,我将关于单元大小的问题发布到主要的GNU parted(分区编辑器)邮件列表,并收到了此响应 。 特别:

“LBA始终指的是驱动器的块大小。因此它可能是512或4096或其他值,具体取决于驱动器报告的内容。”

先前的答案版本不正确:[[分区表(在MBR中,否则)是指512字节块/逻辑扇区。 例如,参见https://en.wikipedia.org/wiki/Master_boot_record#PTE。]]

背景资料

磁盘物理磁盘扇区大小的报告似乎从根本上通过ATA-8规范中的命令完成,特别是“IDENTIFY DEVICE”命令。 兼容性问题(最常讨论)是I / O操作的对齐。 显然大多数驱动器处理512字节对齐,但性能损失,尽管有一些驱动器被宣称为“4k native”或“4kn”,根本不支持512字节对齐的I / O. 通常,具有物理4k扇区的驱动器使用所谓的“高级格式”,这可以帮助您搜索是否需要更多信息。

本文https://linuxconfig.org/linux-wd-ears-advanced-format有一些相对清晰的讨论,特别是如果您是Linux用户。 值得一提的是,在Linux上,“parted -l”命令报告物理和逻辑扇区大小,parted也知道如何为高级格式设备正确对齐分区。

此外,您可能会发现这篇文章http://www.seagate.com/tech-insights/advanced-format-4k-sector-hard-drives-master-ti/有关此问题的信息和安慰。


Conclusion has been reversed based on further investigation

Although almost all drives use 512-byte logical sectors, modern partition tables use LBA addresses, and LBA unit size is the logical sector size of the device, which today may be as great as 4096 bytes.

In the end I posted the question about unit size to the main GNU parted (partition editor) mailing list and have received this response. Specifically:

"LBA always refers to the drive's block size. So it may be 512 or 4096 or some other value, depending on what the drive reports."

Incorrect previous answer version: [[Partition tables (in the MBR and otherwise) refer to 512 byte blocks / logical sectors. See for example https://en.wikipedia.org/wiki/Master_boot_record#PTE.]]

Background information

Reporting of disk physical disk sector sizes seems to be fundamentally done through commands in the ATA-8 specification, specifically the "IDENTIFY DEVICE" command. Compatibility issues (most often discussed) are alignment of I/O operations. Apparently most drives handle 512 byte alignment, but with performance penalties, though there are some drives advertised as "4k native" or "4kn" that do not support 512 byte aligned I/O at all. In general, drives with physical 4k sectors use what is called "Advanced Format", which may help you search if you want more info.

This article https://linuxconfig.org/linux-wd-ears-advanced-format has some relatively clear discussion, especially if you are a Linux user. For what it's worth, on Linux the "parted -l" command reports physical and logical sector size, and parted also knows how to align partitions appropriately for Advanced Format devices.

Also, you might find this article http://www.seagate.com/tech-insights/advanced-format-4k-sector-hard-drives-master-ti/ informative and reassuring on the issue.

相关问答

更多

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)