문제

I'm developing an app supporting since iOS 3.0. With Xcode 4.2, I have to add armv6 manually to Architectures. So is armv7 optimized for new devices the only advantage to compile with "armv6 armv7"? The size will be bigger than with only armv6 ?

도움이 되었습니까?

해결책

Using only armv6 is not optimal - but it will work on older iOS devices (i.e. no defect).

An alternative is to provide both armv6 and armv7 binaries so newer devices will use the armv7 code. Of course that will double the size of the application code. It might be worth it depending on your application (e.g. if speed is an issue) but it will not affect compatibility.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top