Xcode 6 run app wirelessly - xcode6

Eventhough, Xcode 6 displays in iOS devices section my iOS 8.0.2 running iPad2 wirelessly and builds normally my app, when it tries to run end up the the following message:
Cannot retrieve value from the passcode locked device.
Please check your setup and try again. (0xE8000016).
Any ideas ?

Try restarting the device to make sure Xcode is referencing the correct device.
In my case, Xcode detected one of my iPads nearby as a wireless device (which happened to be passcode locked), but when I plugged in my other iPad it mistook it for the wireless one.

Related

React native iOS project not run after disconnected from Xcode build in physical device

When I first run my project from Xcode in iOS physical device, it work fine. But if I stop the project from Xcode and again start the application from the device, it shows the Splash screen and than quit. I don't understand what is going wrong on the second time.
In both of the cases I am on the same network.

I runned a react native app in different devices. But I got a different result

I runned a react native app in different devices.A device is iOS 9 and another is iOS 10. The device iOS 9 will encounter a error that could not connect to development server.The device iOS 10 can run successfully.I use react native 0.4.1. I will show you more informations if you need. I don't know what should I show.And you can tell me some ideas if you know some possible reason
I believe all the devices must be connected to the same Apple Developer account. Check if both of your devices have the same Apple ID and try to run them through Xcode.
Also make sure you follow all the steps in these guides
Running On Device
Launching Your App on Devices
If it doesn't work but you are still able to install the app, try to run the app with Wi-Fi while being on the same network as your mac, here is the guide on how to do that
Cheers!

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.

Can't Debug on iPhone device although the provisioning profile is setup

I am new to iPhone development, I am using xCode 4.4.1
I have setup a Provisioning profile and was able to debug on my iPhone device before
I have disconnected my device from the machine and restarted it
Once reconnected my device doesn't appear on the available Scheme Destinations
Having that said:
I have verified that the provisioning profile is properly set on my
device # Settings->General->Profile
Using xCode->Organizer->Devices, I have verified that the Provisioning profile is properly set on the
dev machine.
Since restarting my physical iPhone device I can't use it for debugging, why ?
Any help will be appreciated.
~Nadav
The problem was that while I was trying to generate armv6 code I was experimenting with xcode v4.4.1, this xcode version doesn't support iOS 6, and thus, it didn't recognize my device.

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.