Starting a new project in Xcode 4 to be Universal (iPad/iPhone) - iphone

Starting a new project in Xcode 4 - what's the best way to make it a Universal app?
When you create a new project it asks you to input the Device Family but the dropdown menu only has two options - one is iPad and the other is iPhone.
What's the best way to create a Universal app then?
Thanks!

Got it from somebody on another forum -
Create an iPhone version, then click on the Project Name at the very top of the menu to bring up a menu with Project and Targets listed. Click on the Target and there is a Devices drop-down menu in the main Summary tab that you can change to Universal. Once you do that, Xcode will ask you if you want to upgrade to a universal project, then you can click 'yes' and that's all!

Related

How to change a project created for iPhone to ipad (Universal)?

I was started my application for targeting iPhone, now I want to use my app for iPad also. As I started as iPhone project, even though I add the iPad xib, it is not showing properly, How to convert my project which will work for both iPhone and iPad(Universal). Any way to change in project setting?
Click on targets -> Summary ,then change the devices to universal.
Open the project in Xcode. Under the Targets menu ,right click on your app. Select "Upgrade current target for iPad.
Another more user interactive way is
Click on your project-> Click on targets->iOS application target->Device->Universal.

ObjectiveFlickr Setup Xcode 4

I'm looking to implement Flickr in my iPhone app with ObjectiveFlickr. I'm using Xcode 4 and am trying to follow this part of the instructions:
"On your app target, open the info window (using Get Info on the target), then in the General tab, add ObjectiveFlickr (library) to Direct Dependencies."
https://github.com/lukhnos/objectiveflickr
How do I "Get Info" on my target in Xcode 4?
I'm not sure those instructions are quite accurate, but if you want to add a dependency, here's how:
Tap the project in the project navigator, tap your target, then open the Build Phases tab.
You will be able to access the dependency in the top section by tapping the "+"

How to add an icon to the iPhone application with mono touch?

Could you tell me how to add an icon to the iPhone application with mono touch?
Inside MonoDevelop
right click on your project main assembly
select Options
in the "Project options" dialog select iPhone Application
Depending on your version of MonoDevelop (well the iPhone addin) you'll have a different UI. Either a tab named Icons are a more visual UI that let you select the different icons to use for your application.
EDIT: I could also look like this (from http://ios.xamarin.com/Documentation/Building_for_Distribution)

How to share files between iOS app and iTunes

I know Google Maps (or VLC used to) lets you share files from iTunes to your iOS Device. Is there a way to share any stuff from iOS app to iTunes and ViceVersa
Here's a tutorial that 10 seconds of Googling yielded.
File sharing from app to iTunes is too easy
In the new Xcode, you can do this in the UI:
1. Select your project in top left
2. Select target in next column
3. Click on Info tab
4. In Custom iOS Target Properties, hover mouse over any row and click +
5. In popup, select "Application supports iTunes file sharing", then set Value to YES on right
6. Click Validate Settings at bottom to make sure all is good

How to change iPhone/iPad app to iPhone only?

I've been a bit stupid and built my app as being targeted for both iPhone and iPad, whereas it should really just be for the iPhone.
How do I change the settings so that the build is only for the iPhone? I've actually finished coding the app and ready to submit it, so hopefully it's just a case of changing some obscure project settings (as opposed to creating a new project and coping all the code over).
Thanks St.Ov.!
You have to change the Targeted device family. Select the project, then info-->Deployment--->Targeted device family to iPhone only and you have to do the same thing in targets. After that your app will be only for iPhone.
Good Luck!
U can do this by going through the following steps.
Select Edit Project settings from Projects .
Go to build settings.
Select Targeted Device Family and Choose iPhone.
That should do it.
Have fun.
For Xcode 5.1.1:
Select your project and then go to:
General->Deployment Info -> Devices
and then select just iPhone
In XCode 9.4.1
Project Navigator -> Select Project
General -> Deployment Info
Devices -> iPhone
Project -> Edit Project Settings -> Build -> Targeted Device Family = iPhone
Open "[project]-Info.plist" and change "Main nib file base name (iPad)" in "MainWindow_iPhone"
I hope this helps :-)
For Xcode 4.2:
Select the project navigator (little folder icon in the top left), then select your project (the top most item)
Move across to the next column, select the appropriate target
Move across to the next column, select the summary tab
Select iphone from the devices dropdown.