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
1
vote
1 answer

How to install universal application in 2G iPhone

i have created an universal application using xcode 3.2.4. in my build setting i have set "target device" as 3.1.2. This application is working fine with iPhone 3G, iPhone 4 and iPod touch 3G. But i am facing "Unsigned" error if i try to install my…
Ram
  • 2,503
  • 2
  • 16
  • 14
1
vote
2 answers

How to switch between different classes in an universal iPhone / iPad app?

I have a special class that manages gestures and other things. It is strongly targeted towards iPhone. On the iPad, I need a 90% different behavior of that class, so I want to split MyController into MyController_iPhone and MyController_iPad. How…
openfrog
  • 40,201
  • 65
  • 225
  • 373
1
vote
2 answers

How to make a universal app (iPad and iphone 4.1) runs on iPod 3.1.3

I am building a universal for iphone/ipad and I already set the deployment target to 3.0. It can run well on iPad 3.2 and iphone 4.1. However, when I build and run it on my iPod 3.1.3, the runtime automatically picks the iPad code path and tell me…
vodkhang
  • 18,639
  • 11
  • 76
  • 110
1
vote
1 answer

How can I convert a Universal iOS app to a stand-alone iPhone app?

I started building a Universal app and it turned out the design doesn't work well with the iPad, so I've decided to make it a stand-alone iPhone app instead. By that, I mean I'd like the app store to see my app as an iPhone app, not a Universal…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
1
vote
1 answer

Universal app design 1 table view that opens different view on cell click depending if on iPad or iPhone

I'm making a universal app and I've run across a situation I'm stumped on. On the iPad I'm using a split view, and I would like to make a UITableViewController that is shared on both the iPad and iPhone. I did that, but now when the user clicks a…
jamone
  • 17,253
  • 17
  • 63
  • 98
1
vote
1 answer

How to make iPhone universal binary for iOS4 and iOS3?

It is possible to make universal binary for os 2.x and 3.x, you can see sample code for MFMailComposer But how to make it for iOS4 and iOS3 and XCode 3.2.3?
abuharsky
  • 1,151
  • 12
  • 21
1
vote
2 answers

iPhone universal app. MoviePlayer.framwork problem

I have application based on 3.0 iPhone OS SDK One of tasks is playing video (I use MPMoviePlayerController for this task) Now I try to make universal app working on both 3.0 and 3.2 OS I did all steps described in apple documentation: Upgrade…
e40pud
  • 336
  • 2
  • 18
1
vote
1 answer

How to create an Universal Binary for iTunes Connect Distribution?

I created an app that was rejected because Apple say that my App was not showing the correct iPad window and it was showing the same iPhone screen but top left aligned. Running on simulator, I get my App to show exactly what it should, a big iPad…
balexandre
  • 73,608
  • 45
  • 233
  • 342
1
vote
3 answers

iPhone SDK 3.2 Universal App issue with .xib files

So I am finding this process of universalizing my iPhone app to be a big headache! Am I alone in this? I sure hope not. Anyway, my question is regarding the .xib files for my universal application. I had my iPhone OS 3.1 running app all ready to…
Wesley
  • 402
  • 1
  • 5
  • 9
1
vote
1 answer

Xcode 4 Mavericks Creating Universal Binary for OSX hangs

was it ever possbile to create a C++ command line tool as a fat binary in XCode (32bit and 64bit in one file)? I thought it was, but if I try it now, XCode hangs during "Creating Universal Binary." I updated to OSX Mavericks and I am using XCode…
1
vote
1 answer

Loading a universal binary with Java

I have an Java applet that loads native code through JNI. Everything worked just fine until I made the upgrade to Snow Leopard, and then Safari decided to be dumb. It turns out Safari will only load 64 bit binaries when in 64 bit mode. (You can put…
Robbie
  • 831
  • 2
  • 14
  • 22
1
vote
1 answer

First releasing iPhone only, later universal

I' m working on an iOS app. I would like to release it first as a iPhone only app, and later (in a couple of months) update it to a universal app. I has to be the same app-id because it is a free game with in-app purchases. Is this possible ?
Marc Denessen
  • 201
  • 2
  • 4
0
votes
1 answer

How to make a mac application support both 32bit and 64 bit systems

I have created one mac application. It is showing 64bit as system requirement. but the app can run in 32bit systems also. When I checked the Build Settings of the application. I found: Valid Architecture : i386 x86_64 and according to my…
amrit_neo
  • 1,759
  • 4
  • 19
  • 39
0
votes
1 answer

Combining Apps Into Universal Easy? iPhone/iPad

I am about to begin developing an app and have never worked with universal binary. Is it possible to create them both individually and then merge them is needed later? Or is that out of the question? It is pretty important to decide from step one…
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
0
votes
1 answer

How to make ARM and x86 part link to different static libraries for Mac universal binaries?

Currently our product (a dynamic library) has separate ARM and x86 versions on MacOS, and now I'm trying to make universal binary. However, it relies on some precompiled close-source static libraries that only has x86 code or arm64 code. How should…
jiandingzhe
  • 1,881
  • 15
  • 35