App crashes in iPhone 4 with base SDK 8.1 - ios

I simply coded an app with Xcode 6.1. I can run the app with all simulators also with devices iPhone 5S, iPhone 4S and iPad retina successfully.
But I sent the app to a friend to test who has iPhone4 and he reports that after seeing main screen, touching a button quits the app. I have no chance to debug it with iPhone4 and also there is no option to test the app in simulator of iPhone4.
Is there any build parameters that I may miss?
Thank you in advance.

I changed SKNodes to SKSpriteNodes and now code is working on IOS 7.1 also. -(void)update:(CFTimeInterval)currentTime method was giving error with SKNodes in IOS 7.1. It may be a problem of Sprite Kit scene editor came with Xcode 6.Thank you.

Related

iPad app is not utilising the full screen

I have an iPad application on App Store. App is only supported for iPad. App is not a universal App. I am using launch screen storyboard.
App is working fine on 12.5, 10.5 inch iPad devices. But for 11.0 inch iPad device app (iOS 12.1) is not utilising full screen. App is behaving as iPhone app running on iPad without 2x button.
I know this issue comes when you run iPhone app on iPad. But as my app is iPad only. So not getting what causing this issue.
Is anyone faced similar issue? Please let me know how you fixed it.
Thanks in advance.
Note:
1 - iPad only build created on environment Xcode 10.0 and iOS 12.0
2 - Just review https://developer.apple.com/ipad/ Optimizing Your UI Section.
I don't have 11 inch/pro iPad device. So will iPad app build created on Xcode 10.1 resolved this issue?
If you didn't create a view for "that size" then it'll be displayed for the size you created it for. If you created a universal app it would automatically resize itself for the appropriate iOS device. If you create a view for the largest iPad size then it should automatically scale itself down for smaller screens. From the sound of it you created the app for a specific size iPad ignoring the other bit depths available on various models. Even if you want your app for "iPad only" you can do that while still controlling how it scales itself down to say an iPad Air vs iPad Pro.

How to stop support for ipad

My game is build specifically for iPhone and not larger screens like iPad retina. In Xcode, how do I stop my app from being considered as an iPad game.
I tried choosing iPhone under deployment info section in Xcode, but it didn't help.
Any help pls.
Here is the Xcode screenshot
I have also set the Target Device Family as iPhone
The solution involves
1) In Xcode, under Build Settings->Targeted Device Family->Choose iPhone
2) Check that when you run the app on iPad it shows 1x/2x in bottom right corner
If apple rejects the app, tell them it is not built for iPad.

game is not proper display using xcode 6 GM seed on ipad

I am trying to build and test my game on iPad mini iOS 8 using Xcode 6 GM seed all i am seeing is this half way screen. I don't know why Xcode 6 is not showing the full screen. However same code if play on Xcode 5.1.1 then it works fine on ipad and play game at X2 on iPad. I am maing iphone game but i a testing that on ipad too as ipad also can play the game.Can any body solve my issue i want to submit my app using new sdk. I found one more thing on xcode 5.1.1 it's showing surface size:640*960 and on xcode 6 it's showing 960*640 which can cause problem so kindly help me to find the solution thanks in advance.

How to get iPhone simulator 7.1 skin same like iPhone in Xcode 5.1.1 or Xcode 5

If I select normal iPhone simulator in Xcode 5 or Xcode 5.1.1, I am able view simulator same as an iPhone.
But, if I try the same thing with a 4-inch iPhone simulator, retina or non retina, (iOS 6.0, 7.0, 7.1), I'm not able to view simulator like iPhone. It's just showing only the screen, but not the skin or body?
I have tried to select iPhone 4-inch simulator and window scale 100% but it is just showing very big simulator.
If I do same thing for the normal iPhone simulator, it works fine and simulator shows like iPhone, but not for 4-inch simulator. How to get that?
I guess it would depend on your screen size, because I have the same "problem". However, it shouldn't be an issue.
If you need the home button functionality, you can just press Shift-Command-H
If you need to lock, it's just Command-L
That should be all you need in terms of what the skin can do...otherwise I don't really see the point in needing the skin.
The skin makes sense to have for making app preview videos. Now that we can add preview videos to the app store, we can't use the simulator to make a real looking phone simulation
While the iOS Simulator doesn't let you display the device skin/chrome, there are third-party tools that can. For example, I use an app called Reflector that basically makes your Mac look like an Apple TV on the network. You AirPlay the app as it runs on your device (not the simulator) to the Reflector app on your Mac. It, in turn, displays the screen and the skin/chrome around it.
(Looking for the URL, I just noticed that it now lets you display on Windows and allows you to "cast" Android apps as well.)

AudioServicesCreateSystemSoundID causing volume does not change using physical volume control buttons on iPad

I am in urgent need of the the geeks present on this forum regarding the iOS SDK questions.I have an app in which i hav to play multiple sounds simultaneously.I started with AVAudioplayer class but i realise that it was getting hung on iPhone 3gs and older iOS versions so i moved to AudioServicesCreateSystemSoundID((CFURLRef)afUrl,&soundID) from the tips of one of my friend.Now the app plays sound seamlessly on both iPhone and iPad .I have an iPhone 4S with iOS 5.1.1 and i have updated the Ipad 2 from iOS 5.1.1 to latest iOS 6.0 stable.Now the problem is that the app runs fine on iPhone but on iPad a strange issue comeing up.On iPad sound is played but the volume does not change with Physical volume change button effect.I have build the app using Xcode 4.5 GM with iOS 6.0 and have set the deployment target to iOS 5.0 .
Please help me out as i am getting crazy on this strange behavior on Ipad only ..I hope i would definitely get the perfect solution here from you guys !!
Thanks in Advance !!!!

Resources