universal-binary

Submit an universal app as iPad only app to Apple

柔情痞子 提交于 2019-11-29 07:04:14
I created an universal app with the window template in xcode. Now I want submit just the iPad version of my app, because the iPhone version is not yet fully programmed. How is this possible? What do I have to change? (target settings, info.plist, etc.?) Two things. First is remember you have settings for active target, and project. I'm not sure which place things should be, but I made these on the target. Set 'Build Active Target Only' to true. Set 'Target Family Device' to iPad. You'll know this worked because the number of compilations will be cut in half, and when you upload to iTunes

Fat libraries in XCode 5

徘徊边缘 提交于 2019-11-28 17:49:39
问题 I've been trying to build a static library and then create a binding project from it in Xamarin. Everything was working fine until iOS 7 hit. I had to grab the latest version of the native library and try and build it in XCode 5, but it's been giving me all kinds of problems. I think it might be related to the build process or possibly some changed setting in XCode 5 (vs. 4) but I'm not sure. I was using this script to build a universal binary which is based of work in this question: Build

How do I determine the target architecture of static library (.a) on Mac OS X?

依然范特西╮ 提交于 2019-11-28 15:04:10
I'm interested in verifying if a given iPhone static library has been built for ARM or Intel. It's more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This post gives an example in Linux. Václav Slavík Another option is lipo ; its output is brief and more readable than otool 's. An example: % lipo -info /usr/lib/libiodbc.a Architectures in the fat file: /usr/lib/libiodbc.a are: x86_64 i386 ppc % lipo -info libnonfatarchive.a input file libnonfatarchive.a is not a fat file Non-fat file: libnonfatarchive.a is architecture: i386 % file will probably tell

Convert ipad application to iphone. Universal app

╄→尐↘猪︶ㄣ 提交于 2019-11-28 05:25:28
问题 Convert iPad application to iPhone- Universal app. I already have one iPad application, now I want to make a universal app of that iPad application. How to convert? Is it possible? Or do I have to start a new app? 回答1: Open up your project in Interface Builder. Click on the disclosure triangle next to "Targets", then right-click on the target and choose "Upgrade Current Target for iPad...". Then read the iPad Programming Guide, especially the section Starting Your Project. Edit: I see now --

How do i compile a static library (fat) for armv6, armv7 and i386

做~自己de王妃 提交于 2019-11-27 06:50:37
I know this question has been posed several times, but my goal is slightly different with regard to what I have found searching the web. Specifically, I am already able to build a static library for iPhone, but the final fat file I am able to build only contains arm and i386 architectures (and I am not sure to what arm refers: is v6 or v7?). I am not able to compile specifically for armv6 and armv7 and them merge both architectures using lipo. The lipo tool complains that the same architecture (arm, not armv6 or armv7) is present in both the armv6 and armv7 libraries. Can someone explain

Converting iPhone app to a Universal app in Xcode 4

拜拜、爱过 提交于 2019-11-27 04:04:05
I am trying to upgrade my existing iPhone app project to an Universal app but I can not find any option in Xcode 4 to do so. Where is it? { Outdated / incorrect information removed. Moderators, I've asked to at least unmark my answer as accepted. Please clean this up. } See Nick Lockwood's answer! Nick Lockwood The accepted answer is wrong . Creating a new target is how you create a separate iPad app from an iPhone app (i.e. a project that can be compiled into either an iPad or iPhone app), it is not how you convert an iPhone app to a single universal app that will run on iPhone or iPad. All

How do i compile a static library (fat) for armv6, armv7 and i386

余生颓废 提交于 2019-11-26 12:12:40
问题 I know this question has been posed several times, but my goal is slightly different with regard to what I have found searching the web. Specifically, I am already able to build a static library for iPhone, but the final fat file I am able to build only contains arm and i386 architectures (and I am not sure to what arm refers: is v6 or v7?). I am not able to compile specifically for armv6 and armv7 and them merge both architectures using lipo. The lipo tool complains that the same

Converting iPhone app to a Universal app in Xcode 4

≡放荡痞女 提交于 2019-11-26 11:01:49
问题 I am trying to upgrade my existing iPhone app project to an Universal app but I can not find any option in Xcode 4 to do so. Where is it? 回答1: { Outdated / incorrect information removed. Moderators, I've asked to at least unmark my answer as accepted. Please clean this up. } See Nick Lockwood's answer! 回答2: The accepted answer is wrong . Creating a new target is how you create a separate iPad app from an iPhone app (i.e. a project that can be compiled into either an iPad or iPhone app), it is

How can we restore ppc/ppc64 as well as full 10.4/10.5 SDK support to Xcode 4?

*爱你&永不变心* 提交于 2019-11-26 09:32:56
Since Apple only ships SDK 10.6 with Xcode4, developing PPC applications with Xcode4 became impossible. While it is possible to develop applications with Xcode4 that can also run on 10.5 and maybe even on 10.4 systems (by selecting SDK 10.6, but deployment target 10.5 or 10.4), they will only run on Intel Macs because you need at least SDK 10.5 for building PPC applications. Further there are some rare cases, where you really need to build against an SDK prior to 10.6 for full platform support, e.g. if certain deprecated functionality has vanished completely from the 10.6 SDK, but you'll have