So I'm tryin to install an blank application on my device but It doesn't show on the Run on Target in Xcode, but when I look at manage run destination it shows my device?
Search results for
show when run
112,665 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Environment: OS X macOS Sierra 10.12.2, Xcode 8.2.1, iPhone 7 running 10.2, app written in Swift.I'm having a chronic problem where log messages from my app only show in the Xcode log window the first time I run the app after booting the phone. If I rebuild and run the app again, the messages don't appear. The issue persists whether I use NSLog or Swift's print statement to print the messages. If I use NSLog they show up in the Console app, and that's an OK workaround - except one of the third-party libraries I use apparently uses print or equivalent to write messages to stdout/stderr.Has anyone else seen this issue? It's pretty chronic across my team here; I'm surprised I haven't seen other messages about it...-David
Thank your for your answer, jeremyhu!I’ve got some more information on this: When I right-click the devices in Window -> Devices, Show in Run Destinations Menu is checked on all the Simulators just like it is on my real devices, yet only the real devices show up.Also, I just tried creating a new iOS project from scratch, but there was no option to run anything at all. I don’t even know how to set this up, though, because I use Unity for creating Xcode projects. But I can confirm that this issue shows up on all the Projects that I am working on. So it doesn’t seem to be project-specific.Besides, when I updated to 6.2, the simulators still worked in 6.1. Only 6.2 was having this issue. Well, and then 6.3 and now 6.4.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Description: I am new to IOS development. I followed the tutorial on Apple's official website to learn, and the URL is below: [https://developer.apple.com/tutorials/app-dev-training/creating-a-storyboard-app) However, when I run the app, the app's screen is always blank. I'm pretty sure I followed by the official tutorial step by step. What I have tried: Check the mark of is Initial view controller at Main.storyboard Cancel the mark of is Initial view controller at Launch.storyboard(if I didn't cancle the mark, the label Im a label of Launch.storyboard will show up for one second and then come up a blank screen.) Delete the view controller and add a new one. I check the Info, it seems fine: My Environment: Xcode: 13.1 Simulator: ios15 Simulator: iphone 12 pro Looking forward for response, and thank you~
Evening, I'm relative newbie about Xcode.I'm solving an exercise and in the Toolbar i can see that the running process is keeping running for ever.Some times after several minuts it give me output and errors, some times it just keep running.I was thinkg it was a problem of my code, but even starting a new playground the running process is ver very slow, like 1 minute to solve the example string variable.I've tried to reboot xcode, reboot os, unistall and install again xcode but I still have the same problem.Xcode Version 7.3.1 (7D1014)Any tips?
Hey Mateo, There is no bundle file Shows up on iPhone 8 64GB(Mine, not my coworkers), 2017 iPad 9.7 64GB, and iPhone XS 64GB This particular device (iPad mini 5) that is not showing is running 14.0.1 although I know it's happening on other devices as well. My coworkers device that isn't working is an iPhone 8 64GB was on 14.0.1 when first discovered problem. Problem persists on 14.1 Yes. Restarted, fresh install, reset all settings. A lot of things.
Topic:
Code Signing
SubTopic:
Entitlements
Tags:
1. If I were a user of your app and force-quit the app, I would expect it to stay inactive until the next time I touch its icon on the homescreen. I would NOT be happy if the app showed up running again after I just killed it.2. Don't try to use an API for something it was not designed for.3. There is no way to accomplish what you are suggesting nor is it a good idea as I've pointed out in my first two points.
Topic:
App & System Services
SubTopic:
Notifications
Tags:
Hello:I have the following code. I am developing an app for Mac OS. I have a UI with text fields for user input which is saved after each item is entered. When I run the code I get no errors but also I get no response from the print statements. I did not cast any fields as delegates. If that is necessary, How can I did that?I would appreciate any help with the code that may identify the problem.import AppKitimport Cocoaimport Foundationimport CoreDataclass RegistrationViewController: NSViewController, NSApplicationDelegate {var students: [NSManagedObject] = [] @IBOutlet weak var firstNameTextField: NSTextField! override func viewDidLoad() { super.viewDidLoad() firstNameTextField.stringValue = UserDefaults().string(forKey: fnTextFieldKey) ?? } override func viewDidAppear() { print(Documents Directory: , FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).last ?? Not Found!) } @IBAction func saveFirstName(_ sender: Any) { print (starting code for save name field) guard (NSApplicatio
Hi, I want user to be able to see the route he takes during walk or run on a map, while he is walking and after in history. I have got the users location and loaded a map. From what i have read, i'lll have to continuously annotate the map with a marker while the user is walking or running. But I don't clearly understand the MapKit apis for annotation and annotation view. Can someone guide me how to go about it. I just need an overview. Thanks
I want to show an NSAlert sheet modal when my single-window app first launches, but doing so makes the window jump when it first opens.The window is restoring the user's last chosen size & position (I have set the Autosave name in IB). This works, but appears to be done AFTER my code that shows the modal sheet.I'm only really talking about the following 3 lines of code:override func viewDidAppear() { let alert = NSAlert.init() alert.beginSheetModal(for: self.view.window!) { (returnCode: NSModalResponse) -> Void in } }I'm guessing viewDidAppear() doesn't mean the window has finished positioning and sizing itself from the user defaults, but for the life of me cannot find a method that gives this to me.Since a picture is worth a thousand words, I've put up a demo at https://github.com/jeff-h/WindowPositioning
my iTunes Connect is showing the results for the last week rather than 'yesterday' when running on iOS10 beta. anyone seeing this?
Frontboard is part of iOS’s process management system. So: Frames 22 through 18 are standard app startup stuff. Frames 17 through 13 are standard CF run loop stuff. Frame 13 shows that the run loop is calling out to an event source associated with FrontBoardServices private framework. Frames 12 through 10 are FrontBoardServices internal stuff. Frame 10 shows that it’s running some sort of ‘perform work on main thread’ block. Frames 9 through 8 show Dispatch running that block. Frames 7 through 0 indicate that the block threw a language exception which went unhandled and thus terminating your process. So, Frontboard decided it needed to run a block on the main thread, it called that block, and that block threw a language exception. This could be a problem with your code or a problem with the system, depending on the identity of that block. If you post the full crash report, I may be able to tell you more. Please use the process described in Posting
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
My game has several SavedGames and they are retrieved succesfully using FetchSavedGames except when I run the game for first time after install, no exceptions, no errors, just shows 0 saved games.Once I'm inside the game I call the method again and shows the correct results.This call is one of the first actions the game algorythm makes, just in case has something to do.Any idea why this might happen?Thanks,pistoleta.EDIT: More people with same problem, no sollutions:https://stackoverflow.com/questions/40992442/gklocalplayer-fetchsavedgameswithcompletionhandler-returns-0-games-on-installati/60728584#60728584
When running on my iPhone SE3 under IOS 18.4.1, achievement banners show as expected. The same code running on my iPad Air2 under IOS 15.8.4, achievement banners do not show, but they are accepted (as shown in the GameCenterViewController). The banners also don't show when running the simulator under iPhone 16 Pro Max under IOS 18.2 or simulator under iPhone SE3 under IOS 18.3. I haven't tried others. [Note that I clear the achievements each run during test so that I can duplicate this]
Topic:
Graphics & Games
SubTopic:
GameKit
From Xcode: Window > Devices and Simulators > Simulators On the left is a list of installed Simulators Each Simulator can be marked as Show as run destination At the bottom-left is a + icon, to add new simulators Simulator name Device Type OS Version OS Version > Download more simulator runtimes... I see available Simulators going back to iOS 11.4 Having said all that, my most recent Simulator is iOS 15.0, so perhaps that's all we get in XCode 13.1 (13A1030d)?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: