Ive added a new device (iPhone 5s) to test my app using xCode 5.0.2. The app installs onto the phone without running in Xcode.
When you select the play button on Xcode, the app builds successfully and installs the app. If you open the app on the iphone it works well - when you close the app on the iPhone, Xcode crashes !!!!
Its kind of working as neat way of getting the app onto a device without load time - but I need to see my logs in Xcode as the app is running on my device.
you need to make sure that you keep the device connected to the computer and thus Xcode while running the app, any NSLog you have or error you get will show up
Related
There is a tweaked app store called tweakbox for iPhone. I don't have any ios devices except my Macbook pro. I tried to run the tweakbox app using an Xcode device simulator (Virtual ios device). the tweakbox is successfully installed using the profile provided on their website (https://www.tweakboxapp.com/) but I can't install the apps from within the tweakbox. The install button doesn't do anything. it is the same for all the apps.
Did anyone ever try to do this?
Problem
Xcode (9.4.1) doesn't launch the Simulator app at all when I try to run a watchOS app.
Steps to reproduce
Select the scheme
Hit run
Build succeeds, waiting to attach.
And here is where it gets stuck. Nothing happens from here. The Simulator app never gets launched.
Simulator Launch Workaround
The Simulator can be opened manually. Then, Xcode installs the watchOS app on the watchOS Simulator and the iOS app on the iOS Simulator.
But here is the next problem: Once it has installed the apps it doesn't launch the watchOS app, even though i've set the launch to Automatically in the Scheme Editor.
watchOS App Launch Workaround
Go to the watchOS home screen and tap the app icon to open it.
I know that all the workarounds should not be necessary. And it all worked before.
Other information:
I had installed the Xcode 10 beta 3 recently but I removed it already
I removed the derived data
I had to virtually connect the watch and phone via simulator to get it running. Like you would on iPhone to get it connected.
I found it odd but after that I had no issues. Go to the watch app via the iPhone simulator and pair the virtual watch then Presto!
i have app that i run successfully on iphone 5 with iOS 8.1
now with the free provisioning i like to test the app on iphone 4 with iOS 7.1
but after successfully compiling the app when i try to run it with the play button im getting :
The device does not recognize this host.
Please check your setup and try again. (0xE800001C).
also the deployment target is 5.1
what can be the problem ? using Version 6.3.2 (6D2105)
It worked for me when i reconnect device and you will get a popup like this
And then click on Trust. After that it will take some time to copying data to your computer and then you can use this device in xcode.
i am using Xcode 6.2(beta), facing issue i.e My app work's fine when device connected to Xcode, but fails when installing ipa, on specific location, when the app crash on specific location, i am able to get the crash location and line number using crash log (when app is installed and it get crash), so debugging on installed app is quite tedious, and why the app is running smooth when device connected to Xcode. please help or any way to make app running consistently on both way while connected to Xcode and on installing ipa.
Also i am coding in Swift 1.2
I think one of your project document file not set the target.Please check all project file target.
All of the sudden I cannot run the iOS Simulator properly. The built-in apps no longer work (Contacts, Safari, etc.). I can however build and install my own app.
I attempted to access the contacts app so that I could manually add a contact but then I get the error "The simulated application quit."
If I launch the simulator within XCode by running my app, selecting Hardware > Home, I can then open the built-in apps, including contacts, but then I cannot add a contact as it crashes. I reset the simulator, as well as moving the SQL DB for contacts out of the way.
I am running Xcode 4.3.2, and the simulator is located in...
XCode4 > Platforms > iPhoneSimulator.platform > Developer > Applications
Any recommendations? What could suddenly cause this? The error does not appear to be related to my code since it exists entirely with the simulator at this point.
Note: I upgraded to Lion from Snow Leopard so that I could run Xcode 4.3.2. This was a few weeks ago.
Scenario #1
Reboot
Open the iOS Simulator App located at XCode4 > Platforms > iPhoneSimulator.platform > Developer > Applications
Select any app. For example, the Contacts App or Settings or Safari or Photos.
Simulator crashes with the error "The simulated application quit."
Scenario #2
Reboot
Open Xcode 4.3.2.
Build and run the application I am developing which accesses the contacts app.
Application runs
Select Hardware > Home
Built-in apps open and run fine, EXCEPT the contacts app.
Launch contacts app
Select the '+' button to add a contact.
Try to enter the First Name.
Simulator crashes with the error "The simulated application quit."
UPDATE: I found a work-around. I should have clarified that I was running in iPad mode with the simulator. I switched to iPhone mode and was able to add a contact with no problems. I then switched back to iPad so that I could continue development. My app is a universal app and has no problems accessing contacts within SDK code. I conclude at the moment that there is either a bug with the simulator with contacts or something got bugged some how. Anyway, I am up and running again. The next step is to update to the latest Xcode 4.3.3. However, I do not want to do so during heavy development. I will update when I am able to.
Have you tried uninstalling/reinstalling Xcode and the Developer tools?