Questions tagged [universal-binary]

A universal binary is an executable file or application bundle that runs natively on either PowerPC or Intel-manufactured IA-32 or Intel 64-based Macintosh computers

A universal binary is an executable file or application bundle that runs natively on either or Intel-manufactured or Intel 64-based Macintosh computers.

Universal Binaries were announced in 2005, when Apple announced that a transition from PowerPC to Intel processors would begin.
Universal binaries typically include both PowerPC and versions of a compiled application. The operating system detects a universal binary by its header, and executes the appropriate section for the architecture in use. This allows the application to run natively on any supported architecture, with no negative performance impact beyond an increase in the storage space taken up by the larger binary.

145 questions
5
votes
1 answer

How to make Boost dylibs universal (i386 & x86_64) on os x?

I'm trying to compile a Boost library into a universal binary file (i.e. a "fat" file that contains builds for both the i386 and x86_64 architectures). Souring the internet and SO I assembled the following instructions. Download boost (e.g. from…
dB'
  • 7,838
  • 15
  • 58
  • 101
5
votes
2 answers

Boost: MacOSX binaries for Boost

Are there any MacOSX universal binaries (at least i386/ppc for >=macosx10.3) for Boost?
Albert
  • 65,406
  • 61
  • 242
  • 386
5
votes
1 answer

Universal binary for different SSE versions

Can I create a universal binary for Mac OS X that contains two versions of my app, one that is compiled with SSE4.2 and one that compiled with SSE3? In this case I would the version compiled with SSE4.2 to be loaded automatically for CPU that…
Yoav
  • 5,962
  • 5
  • 39
  • 61
4
votes
3 answers

Is there a (maybe official) checklist and guide for submitting an app to the App Store?

I submitted one almost 2 years ago and remember next to nothing. Just that it was very hard and that about a gazillion things had to be considered. Now we have a universal iPhone / iPad binary. Maybe someone can point out some resources which give a…
dontWatchMyProfile
  • 45,440
  • 50
  • 177
  • 260
4
votes
1 answer

What are best practices for universal app vs. separate targets?

Are there any well established criteria to help decide between building a universal iphone/ipad app versus building separate targets that share some code? I have an iPad app working fine and now have a requirement to support iPhone. Since the iPad…
Rayfleck
  • 12,116
  • 8
  • 48
  • 74
4
votes
3 answers

Icon.png file error in universal app

I am getting this warning while building for Release - iPhone/iPod Touch: icon.png: icon dimensions (72 x 72) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014) This is a universal app and I have two…
Saurabh
  • 22,743
  • 12
  • 84
  • 133
4
votes
1 answer

UIGestureRecognizer in iOS 3.1.3?

I am working on making an existing iPhone/iPad project backwards compatible down to iPhoneOS 3.0. My current test device is an iPod Touch with 3.1.3 on it. The following bit of code is causing problems: Class gestureRecognizer =…
Engin Kurutepe
  • 6,719
  • 3
  • 34
  • 64
4
votes
4 answers

iPod Touch 4G thinks it's an iPad

I have a universal app built that runs and works perfectly on an iPad, iPhone 4G, 3GS & 3G, but when run on an iPod Touch 4G it won't run properly. I don't have a iPod Touch to test, but I have been told by a beta tester that it installs on the…
Domestic Cat
  • 1,434
  • 11
  • 18
4
votes
2 answers

Make an iPad app Universal?

I've seen lot's of questions asking how to convert iPhone apps into Universal apps, and the answer has usually been to use the Upgrade Target For iPad and sometimes update the Info.plist. I've also seen this question, which asks the same thing as…
Moshe
  • 57,511
  • 78
  • 272
  • 425
4
votes
1 answer

Is it safe to check for UI_USER_INTERFACE_IDIOM() to determine if it's an iPhone or iPad?

I've found this code, here: if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { str = [NSString stringWithString:@"Running as an iPad application"]; } else { str = [NSString stringWithString: @"Running…
openfrog
  • 40,201
  • 65
  • 225
  • 373
4
votes
3 answers

compile Boost as static Universal binary lib

I want to have a static Universal binary lib of Boost. (Preferable the latest stable version, that is 1.43.0, or newer.) I found many Google hits with similar problems and possible solutions. However, most of them seems outdated. Also none of them…
Albert
  • 65,406
  • 61
  • 242
  • 386
3
votes
3 answers

Do universal binaries contain all the heavy ipad graphics in the App Bundle on the iPhone? What to do about it?

Since the iPad 3 has a retina display, I start to worry about the amount of "image spam" in universal binaries on iPhone and iPod touch devices. Obviously they don't need those resources. I never really checked, but maybe someone knows this: When an…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
3
votes
0 answers

How to specify specific SSE level to differnet source files when compiling Apple universal binary?

In our product, we have a DSP part that is: in x86, it is compiled with a series of different SIMD versions (at runtime it uses the supported version determined by cpuid); in arm64, it is compiled against armv8 neon. The CMake code controlling the…
jiandingzhe
  • 1,881
  • 15
  • 35
3
votes
2 answers

Would it be technically possible to create a "fat"/"Universal" Windows DLL?

Not withstanding that there is currently no tool that can create one, is it possible to have put both x64 and x86 symbols into a DLL, and have it work on both x64 and x86? Creating one would be possible if there is some sort of specification/hack…
rubenvb
  • 74,642
  • 33
  • 187
  • 332
3
votes
3 answers

Universal App (iPad+iPhone) targeted to older (iOS < 4) devices - conditionally adopt a protocol?

I'm writing an Universal App that will run natively on both iPad and iPhone. I also need it to be targeted to older devices (those that cannot run 4.0) so 3.1 is a must. I have already set up the Base SDK to the latest available version (4.2), and…
boliva
  • 5,604
  • 6
  • 37
  • 39
1 2
3
9 10