iPhone Only App Xcode 6 GM - ios

I've been trying for the past hour to create an iPhone only app on Xcode which runs with the 2x and 1x option. However when I run it on my iPad Mini with Retina Display its displaying as a full screen app instead. I've tried to set the deployment target devices to just iPhone, and unchecked the "Use Size Classes" as well but it's not working. Is this a Xcode bug or am I missing something?

Related

xcode 6.1 not loading proper iPhone 6 and 6+ simulator

I made my entire app in Xcode 5.1.1. Saturday I downloaded Xcode 6.1 to make my app on iPhone 6 and 6+. I already placed the proper launch images and app icons for iPhone 6 and 6+. (For this app i'm not using size classes because Auto Layout doesn't work for me in this app.) I changed some of my code to fit iPhone 6 and 6+ but the simulator clearly isn't playing iPhone 6 and 6+ because none of the UIImageViews moved according to where I placed them with the code. It's still playing the zoomed in version of iPhone 5. How do I load the iPhone 6 and 6+ simulators according to my code and not the zoomed in version of iPhone 5?
I was told to place launch images for iPhone 6 and 6+ and it'd work, but it didn't.
here's what worked for me:
From the xcode pull down menus, Xcode > Open Developer Tool > iOS Simulator (if you get a pop up error just dismiss it)
Once in the Simulator go to Hardware > Device > Manage Devices.
Delete everything listed under simulator.
Reboot your machine.
After that navigate back to Manage Devices in the simulator and click the plus to add back your simulators. Then the iOS 8 simulators will show up. Hope that also helps you.
The old launch image asset doesn't provide the necessary support for iphone 6/6+. Remove your old LaunchImage item in your images.xcassets and create a new one. There will be additional options for adding the proper launch images for iphone 6/6+.

XCode iOS7 Asset Catalog Warning - Only Supporting iOS8

I am supporting iOS8 and greater in my App. However, I cannot get passed this Image Asset warning. What file am I missing? See the below screenshot:
an iphone retina (4-inch) launch image for ios 7.0 and later is required
You've suppled images for 4.7 and 5.5-inch devices but you need to have one for 4-inch devices as well (pre-iPhone 6).
You will need to select the checkboxes under "iOS 7 and later" (iPad ones if you're making an iPad app, iPhone one if iPhone app, all if Universal) at the right pane. These are used in both iOS 7 and 8.

iPhone app compiled with Xcode 6 on runs as Universal on iPad

I have got an app developed for iPhone family only, and I used to run it on iPad to test how it will look on iPhone 4s (since it launched with iPhone 4s resolution, size, and else '2x' round button for fullscreen support). However, now when I run it on my iPad with iOS 8, Xcode ignores all build settings and runs it as for iPad. My storyboard constraints were not projected for iPad screen.
I have:
Devices option set to iPhone on General tab in project settings
Main storyboard file name and Main storyboard file name are removed from Info-plist
All App Icons and Launch Images for iPad are deleted
In Launch Screen File the option Use Size Classes set to NO, and the assets are generated for iPhone only
Is that a normal behavior? I want to use my iPad as before to test iPhone 4s resolution. I am sure that my app won't become universal because of that, but nevertheless I think this is a problem.
The use of Launch Screen File in iOS 8.0, 8.0.1 and 8.0.2 will make you universal.
This is a know bug and fixed in iOS 8.1, for you only option is to use assets catalog with a launch images.
Or you can add the device modifier in the Launch file name, like <launchNib>~iphone.nib

Images.xcassets and IOS 5

My app is almost complete and i'm bug testing and fixing.
Now this is the first time i have used images xcassets and until now it worked.
When i'm testing on the simulator all icons look great, when testing on my test devices iPhone 5, iPad mini, iPhone 4 iOS 6 and iPad 2 iOS 6 everything looks great.
But when i test on the iPad 1 with IOS 5 the icon is blurry, but the ipad 2 uses the same icon set.
So i changed that icon to red (others are bleu) and on IOS 6 the icon turns red.
The iPad 1 does not change the icon so its using a different icon set.
How do i make the iPad 1 on IOS 5 use the iPad App IOS 5,6 72pt icon?
info about the icon:
1x size = 72X72
2X size = 144X144
Tried the naming convention.
(I removed the icon in the center, because the app is not yet released)
___________________________________________UPDATE___________________________________________________
After a while i stopped using the xcassets for my app. It's simply IOS 5 that is giving the problem.
It seems that Apple just want's us to stop with IOS 5, xcode 5 and mavericks just makes it too big of a deal to make iOS 5 apps and test them. I'm expecting to stop iOS 5 development next year.
I have the same problem with the iPad 1 and iOS 5.
But I found an unsightly workaround for this problem. Build your project for an iOS device and not for the simulator. Go to the .app file in the finder and open the package content (right click).
As you can see, there are the AppIcons for the iPad named "filename"~ipad.png and (if available) the AppIcons for the iPhone named "filename".png.
Remove the "~ipad" string from the image filenames and build your project again - should work no.
If your target also supports the iPhone, this solution won't work I think.
The same problem also comes up, if you set up a complete new project with XCode 5 and deployment target iOS 5 on the iPad. I've already reported this to apple.

iPhone4 Simulator in XCode 4.0.2

Sorry, this is going to be a dumb question.
How do I run my app on iPhone4 simulator using Xcode 4.0.2? (I want to test the high-resolution image issues).
My drop-down doesn't seem to include this device: http://cl.ly/9dya
And Mr Google doesn't seem to be coughing up the usual.
When you open the iOS Simulator, on the Menu Bar under Hardware -> Device there should be an option for iPhone (Retina) which will show the Retina Device Simulator
The retina-/iPhone 4 screen is a setting in the simulator itself.

Resources