How to share files between iOS app and iTunes - iphone

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

Related

Where can I find media button to drop my assets to the storyboard

I used to know where I could drop out my assets to the main.storyboard on the previous versions of X-Code, but I am now developing an App with X-Code 10 and I can not see that button.
Press CommandShiftL for libraries or CommandShiftM for media, or select from the menu…

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.

Starting a new project in Xcode 4 to be Universal (iPad/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!

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.

Retrieving a file from iPhone device

I'm making a game and writing save files into the document directory on the iPhone.
Is there a way for me to retrieve these files from the actual device? I know I can find the ones saved from the simulator.
You can plug the phone into your Mac, and open Xcode and then Xcode's Organiser window.
From there, you can select your iPhone from the device list on the left. This will show the details of your iPhone, (provisions, installed apps etc).
You should be able to see your app in the list of installed apps, with a disclosure arrow next to it ( > ). Click that and it'll expand to show a package icon with the text Application Data, and a "download arrow" icon to the right.
Click the download arrow and it'll ask you where to save the data.
The result is a folder containing the Documents, Library and tmp directories from your application.
Hope this helps.