xcode running in emulator - issue - objective-c

I have a piece of software I wrote using xcode 5. Since I upgraded to xcode 6, the app looks strange when I run it on a physical device using the emulator. Not entirely sure what is going on or how I could fix it. It's not respecting the full size of the screen.
I am testing on an iPhone 5s (NOT simulator -- the app looks fine in the iPhone 5s simulator). I am connecting my phone to my comp and running it via xCode.
I am having the same issue with another project I built using xcode 5 and trying to run again in xcode 6...
thoughts anyone?!
Here is a screenshot of what is going on:

Related

iOS Simulator in Sierra - Studio Midi does not work

I am encountering very bad problem using Sierra + xcode 8 + iOS Simulator: I develop midi application, but now , when I start the iOS Simulator I get no midi-port available, I mean: Usualle using Studio Midi is possible to see the virtual iOS device, plus you can see se the session, typically named Session 1. being this is possible to re-route the MidiNetwork ( midi_driver ) to a physical port, but now, using Sierra the iOS Simulatore is not visible no longer, and I do not know ( and where to find ) a solution. Very bad situation because it stopped the developing and code-production. Any Good idea to solve this????
then I tried:
1 - Removing duplicates of the CoreMIDI.Framework in project
2 - Product > Clean
3 - Run the iOS Simulator
but nothing still works

App runs on iOS7 simulator, but changing simulator to iOS8 it doesn't recognize CoreData store

I have an iPad app, XCode 6, iOS 7, Storyboards and ARC. If I change the target to 7.x, the app works fine on the simulator running 7.0.
However, if I change the simulator to 8.0, the app doesn't recognize the CoreData store created when running under 7.x (the store is still there, just not found when running on the 8.0 simulator.) Also, none of the objects (UIButtons, UITextboxes, etc) show up either!
I don't have iOS 8 installed on my iPad (afraid stuff like this will affect my users), but the question is: just because something doesn't run on the simulator v8.0, does that mean that setting the lowest target to iOS 7, it won't run on the device if it is running iOS 8?
The iOS 7 simulator is on a separate (virtual) machine from the iOS 8 simulator. So any data you created one of these machines, will not be found on the other.

Can't select older iOS SDK Simulator Version in Titanium Studio

I have installed the SDK's for 6.x and 7.0 in xcode and I'd like to test my app on ios6 in the simulator using titanium studio.
After poking around for some time I still can't find a way to select a different iOS version in my run configurations. As you can see, SDK's are installed and I can select them in the simulator itself, but the only way to test the app is by launching 7.0 (Titanium won't launch anything else).
Manually switching between versions and relaunching the app from titanium doesn't help either.
Looks like Titanium Studio has problem with simulator settings. Compiling project from console with titanium build -p ios will run your app on simulator with current settings. Also you can use additional flags to force different type of simulator:
--retina use the retina version of the iOS Simulator
--sim-64bit in combination with --retina flag & --tall flag, start the 64-bit tall version of the retina simulator
--tall in combination with --retina flag, start the tall version of the retina device

Xcode 5 fails to launch app with error: failed to launch '/path/to/.app' -- Busy

I am using XCode 5, with an iPhone 5s as the dev device. Every other time I run the app I get a pop that says "Could not launch [app name] \n busy". My iPhone 5s then appears to crash and the only way it will respond is if I hold the home and lock button until it resets.
The application is a single view application, the only thing I have done is added the Parse.framework from here and used
[Parse setApplicationID:appID clientKey:clientKey];
[PFAnalytics trackAppOpenedWithLaunchOptions:launchOptions];
In applicationDidFinishLaunchingWithOptions, along with some UI that isn't hooked up to anything.
I'm not sure if this has to do with Parse or possibly the App settings.
So to be clear, the behavior is:
Fresh reset > Build and Run application on iPhone 5s > application runs fine > Build and Run application on iPhone 5s > application appears to launch but screen remains black and iPhone is no longer responsive except the screen will turn off when the lock button is pressed (but not back on) > Build and Run application on iPhone 5s > XCode says "could not launch app - busy" > hard reset iPhone
When I run this on the 64-bit simulator it works fine.
Edit 1:
I have tested with multiple applications now that we know work on multiple other devices (iPhone 5, iPhone 4, iPhone 4s) and the simulators. I don't have another iPhone 5s so it is hard to compare exactly but everything crashes my 5s..
My device was completely stuck with black screen. "To fix you have to hard reboot, holding the power and home button until the phone reboots - doesn't lose any of the data you have on your phone (a concern the first time I did it)." as stated here:
http://blog.paulhadfield.net/2014/01/iphone-hangs-when-running-from-xcode.html
For iPhone7 there is a different approach:
Press and hold down the power button located on the right side of
the iPhone 7.
While holding down the power button, press and hold
down the Volume Down button on the left side of the iPhone 7.
http://www.hongkiat.com/blog/force-reset-iphone7-7plus/
You were using your phone when you ran the app. Make sure you don't use your phone after you press build and run, otherwise it will be "busy"
Which Xcode version do you use? Same issue with Xcode 5.0.1 + iPhone 5S (iOS 7.0.4). It crashed my iPhone 5S even by the simple application created by Xcode's default project template.
It seems this issue has been fixed in Xcode 5.0.2. Xcode 5.0.2 works fine for me by now.
I've got the same problem for several times. It seems that this problem always happens when iCloud or other background App is running & the App I was debug is already in running mode.
My suggestion is: Avoid any background App running when debug and Make sure the App debugging is fully killed before restart a debug.
It is obvious a bug in iOS 7 + Xcode 5.
I had the same issue and upgrading to Xcode 5.0.2 resolved it.

Get "No such file or directory" when testing on iPad device but not in simulator

I have an app that i am release as iPhone and iPad even if it developed as Universal. The reason is that i have release an English version that is Universal and just want to update the iPhone and iPad Swedish versions as it have been with separate apps for the different devices.
When i run on the iPhone device i have no problems but when testing with iPad i get the message below, which i do not know how to remove:
"Could not launch “FamilyQuiz_3"
No such file or directory (/Users/peterk/Library/Developer/Xcode/DerivedData/MyApp_3-fosmfwberzyfryenqrjlfpacftjv/Build/Products/Debug-iphoneos/MyApp_3.app/MyApp_3)
I can start the app from the iPad device but it do not start automatically when submit from XCODE.
1)make sure your iOS Deployment Target version is the same or lower than the one on your device in build settings.
2)delete it from the device
3)close xcode
4)Goto /Users/peterk/Library/Developer/Xcode/DerivedData/ on your computer and delete the
MyApp_3-fosmfwberzyfryenqrjlfpacftjv folder
if that still doesnt work go and try deleting the app restarting your phone, and then restarting your computer even, and doing it again.