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
2
votes
2 answers

Aren't universal binaries a huge waste of memory on the device?

While working on an universal binary for iPhone / iPad, I've been asking my self often: Is this really so good? I believe the iPhone and iPod touch devices will simply download the whole package, including all the irrelevant iPad content. Since my…
openfrog
  • 40,201
  • 65
  • 225
  • 373
2
votes
2 answers

Universal App won't run on iPad Simulator

I have an existing iPhone app that I'm trying to convert into a universal app for both iPhone and iPad. Everything seems to work fine when I run it on an iPad device, but I get the following runtime error when I try to run in the iPad…
2
votes
2 answers

Share NSUserDefaults in universal binary between iPhone and iPad Versions

This is my first stab at creating two targets within one project for iPhone and iPad. My question is, if I save an array to NSUserDefaults, and the iPhone syncs with iTunes, and then I sync the iPad, will the iPad version have access to the array…
W Dyson
  • 4,604
  • 4
  • 40
  • 68
2
votes
1 answer

How can I force qtcreator to create non-universal binaries

When I use qtcreator on mac, it creates universal binaries. Does anyone know how to set it so it just creates a 'native' binary? (So i386' in my case?) Qtcreator uses qmake as a buildsystem. Google hasn't been my friend so far, I hope stackoverflow…
Toad
  • 15,593
  • 16
  • 82
  • 128
2
votes
1 answer

Building a universal binary on OS X - what's a ppc slice?

I'm building a universal binary for OS X. I'm doing this through QT which calls ld. ld throws an error when building for the ppc architecture: in ../MyPathToLib/libcrypto.a, file is universal but not does contain a(n) ppc slice for architecture…
Nantucket
  • 1,647
  • 3
  • 14
  • 25
2
votes
1 answer

Want to downgrade from an Universal app to just an ipad app

I originally wanted to make a universal app, but now scopes have been changed and I am stuck with a universal app, now all I want is an iPad app. So I went and changed the Targeted Device Family to just 'iPad' (or 2) but when I submit the app it…
DevEarley
  • 221
  • 3
  • 11
2
votes
1 answer

Universal iPhone/iPad project with iAd framework

how can I set up a Universal project which has support for iAd (just in the iPhone app)? Using the iPhone SDK 4, let's suppose I do the following steps: Open XCode; Go to File > New Project ; Select Window-based application (or whatever), choose…
Eduardo Coelho
  • 1,953
  • 8
  • 34
  • 60
2
votes
1 answer

iPhone/iPod & iPad - Limitatios about Universal applications

Are there any limitation in writing universal application for iPhone and iPad ? (or the choice it's only about the code re-usability/design )
Cesar
  • 4,418
  • 2
  • 31
  • 37
2
votes
2 answers

iPhone SDK - How is data shared in a universal app

Stack overflow I want to make a universal version of my app available, but I am wondering how is data managed between the iPad and the iPhone versions? -Are they completely independent? or if I have a plist in the iPad app, does it also appear in…
oberbaum
  • 2,451
  • 7
  • 36
  • 52
2
votes
3 answers

How to keep iPhone app out of iPad store?

I have an iPhone app that I have started to turn into a universal app, however the process is not complete and I want to release an update to the iPhone version. I know that you can specify device capabilities in the Info.plist file to restrict your…
Eric
  • 495
  • 2
  • 6
  • 19
2
votes
4 answers

How to build C++ for OSX 10.4, 10.5 and 10.6 in Xcode with dynamic libraries

I'm building a C++ command line tool in Xcode. The project contains dylibs for curl, boost and log4cpp. Ideally id like to build an i386 universal binary that supports 10.4 through to 10.6. I cant seem to get Xcode to compile, when I target 10.4 it…
user210437
2
votes
2 answers

Merge two iOS Project into one for universal build

I have different project set up for iPhone and iPAD and most of the file names in these two projects are same. Now i would like to merge these two into one and create a Universal build. Is there any tutorial or a better way to handle this without…
2
votes
1 answer

Virtualenv on OSX uses a different universal Python binary than my specified 32-bit only Python binary

On OSX, I have a Python universal binary which just contains 32-bit code: $ file $(python3.2-32) /Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2-32: Mach-O universal binary with 1…
Jonathan Hartley
  • 15,462
  • 9
  • 79
  • 80
1
vote
5 answers

How to make universal iOS application

My xcode version is 3.2.5. My application was created on iPhone. I want that which I had written for iPhone should be run and work for iPad. How to work on this? Help me friend, how to create this type of application?
Rocky
  • 1,427
  • 1
  • 28
  • 65
1
vote
2 answers

Universal Binary supporting i386, x86_64 and PPC

Can you build an OSX program supporting i386, x86_64 and PPC at the same time?
Prof. Falken
  • 24,226
  • 19
  • 100
  • 173