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
0
votes
1 answer

trying to create a Universal app for iOS Devices

I have my iPhone app ready and now i've to make it a Universal app. I'm doing this.. self.window = [[UIWindow alloc] init]; self.appFrame = [[UIScreen mainScreen] bounds]; self.window.frame = self.appFrame; UINavigationController *aNav =…
Shrey
  • 1,959
  • 2
  • 21
  • 44
0
votes
1 answer

How to install universal binary artifacts in qbs?

There is my qbs project: Project { StaticLibrary { name: "targetLib" files: "main.cpp" bundle.isBundle: false multiplexByQbsProperties: "architectures" aggregate: true Group { …
Paul Kamp
  • 101
  • 5
0
votes
2 answers

Interface Builder and universal app images

I have a universal app and I have made my xibs so they can work with iPhone or iPad. However I am getting memory warnings because the UIImages are big. Is there a way to name my image files so that when running on the iPad it will use the iPad…
rp90
  • 854
  • 1
  • 9
  • 20
0
votes
2 answers

Xcode 12 universal static library

Im using https://github.com/justeat/JustLog to log the details. This pod is being used by the sdk universal static library. So when building the library it’s success and they libios.a also there. I’m using standard architecture. And valid archs…
0
votes
2 answers

Is there any way to compile x86-64 + arm64 universal binaries in macOS 10.14?

The official way to compile universal binaries that target Apple's new M1 processor is to use Xcode 12, which requires at minimum macOS 10.15.4. I'm currently running macOS 10.14.6 though and do not want to upgrade if I can avoid it. Is there an…
Bri Bri
  • 2,169
  • 3
  • 19
  • 44
0
votes
1 answer

Link Universal Binary to different dynamic libraries depending on OSX version or processor version

This is actually two questions in one, but I suspect they have similar answers. I have a program which has a dependency on an X11 library which on OS10.4 has a different name and is in a different place (compared to on 10.5 and 10.6). This same…
Mankarse
  • 39,818
  • 11
  • 97
  • 141
0
votes
2 answers

iOS: Universal App Template supporting iAds & screen rotations

I am trying to construct a iOS universal application template that transparently handles iAds & screen rotations. i.e. instead of using UIViewController for each new project, I will instead use my own iAdVC (which will subclass UIViewController). …
P i
  • 29,020
  • 36
  • 159
  • 267
0
votes
1 answer

Xcode universal app templates, and overriding didFinishLaunchingWithOptions

I'm attempting to build my first universal iOS app using the default Xcode templates for a window-based application - and setting the Device Family to "Universal". (I'm using Xcode 4, but I believe the templates are nearly identical for previous…
Jim Rhoades
  • 3,310
  • 3
  • 34
  • 50
0
votes
2 answers

Resource problem - Localization and iPhone/iPad XIBs all broken

I had a localized universal application. I copied a bunch of resources (XIB) files from an old project into the appropriate locations (English.lprog) directories for both iPhone (Filename~iPhone.xib) and iPad (Filename~iPad.xib). I added them to the…
Brad
  • 11,262
  • 8
  • 55
  • 74
0
votes
1 answer

Unexplained universal app crash on iPad

we have an iPad app crashing without. However it is a universal app using the same Views as an iPhone app and the iPhone isn't crashing. The iPad crashes randomly in the sim and the actual device. And the Console provides ZERO reason or even that…
Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98
0
votes
1 answer

How to build universal static library that works for os3.x and os4.x

Hi I'm trying to create a static library that can added to any ios project, but I can only get it to work such that if I build the library in ios3, it'll work for ios3 projects but not ios4 and vice versa. The errors I get are: Undefined symbols: …
Julie
  • 11
  • 2
0
votes
1 answer

iPhone/iPad - Facebook api for universal app

I know that facebook api works on iphone. I want to port my iphone app which has facebook api to Universal app so that it works on iPad as well. How can I achieve it? Is there any facebook api for universal apps or do I've to use two api's one for…
Satyam
  • 15,493
  • 31
  • 131
  • 244
0
votes
3 answers

Universal apps are not working right. Why?

Which part of the app is it that "triggers" the iPad app as it's own app as opposed to running the iPhone version in a universal binary? What do I need to change to make my app Universal, after clicking "Upgrade current Target for iPad"? My app runs…
Moshe
  • 57,511
  • 78
  • 272
  • 425
0
votes
4 answers

problem in displaying a xib as Ipad in universal application

I have an already running iphone app with target OS 3.1. I am trying to transform it into a universal app. I am not going to change the model, only the xib. So I wrote the ipad xib in IB, then I went to info.plist and add MainIpad Nib for ipad…
Leonardo
  • 9,607
  • 17
  • 49
  • 89
0
votes
1 answer

Issue with UIViewController in iPad Universal App

I recently upgraded my iPhone app to a universal binary. I have 2 view controllers and nibs, one for the iPhone and one iPad. I scaled up the iPad UI and created the exact same connections in IB. However, I get this error: -[UIViewController…
W Dyson
  • 4,604
  • 4
  • 40
  • 68
1 2 3
9
10