Search results for

Xcode

92,317 results found

Post

Replies

Boosts

Views

Activity

Xcode requisiti
Hello, I'm looking for the mac requirements for Xcode. The problem I have is that I have installed Xcode on my iMac 2017 21.5 4k, 8gb of ram and 1tb hard drive and when I launch xcode the whole mac becomes very slow, almost freezing. If I try to preview the written code (for example: hello world), nothing ever appears and the mac loads for a very long time and almost freezes. As soon as I uninstall or exit Xcode the mac goes back to being fast. I looked at the activity monitor during Xcode, but the memory used remains normally, the only thing that comes to my mind is that it could be the hard disk, if I replace it with a 512gb ssd would I solve the problem? Thank you very much, I look forward to your kind reply.
4
0
490
Dec ’20
Xcode won't execute code?
Hi everyone. I have the following code that I am trying to execute in Xcode. I then install it on my iPhone. It doesn't run at all and I don't know why. Any thoughts? Thank you. import CoreMotion class MyViewController: UIViewController { let motionManager = CMMotionManager() func startAccelerometer() { if motionManager.isAccelerometerAvailable { motionManager.accelerometerUpdateInterval = 0.1 // 10 updates per second motionManager.startAccelerometerUpdates(to: .main) { (data, error) in guard let accelerometerData = data else { return } let x = accelerometerData.acceleration.x let y = accelerometerData.acceleration.y let z = accelerometerData.acceleration.z // Process the x, y, and z acceleration values here print(X: (x), Y: (y), Z: (z)) } } } }
7
0
174
Aug ’25
Reply to Instruments Leaks
I am downloading XCode 10.3 now, will see if it resolves the false positives on iOS 12.2 & 12.3 for Obj-C. In the meantime I was lucky enough to have a device with iOS 12.1.2 running that I could leak check my code on ( XCode 10.2.1 + IOS 12.1.2 is not showing the same framework leaks / false positives ). So if you have a device running an older version of iOS 12.1.2 that might be a way to differentiate the false positives from real leaks. Will update once I run some tests on XCode 10.3 + iOS 12.x. Fingers crossed. **Update** Just ran a few quick tests: 1) iOS 12.3.1 + Xcode 10.3 still shows numerous leaks in various core frameworks. 2) iOS 12.1.2 + Xcode 10.3 running exact same code shows no framework leaks. 3) There seems to be an iOS12.4 update available, next step is to try combo of XCode 10.3 + iOS 12.4 and see if the problems is eliminated. Will update when I get a chance to give it a try.**Update** XCode 10.3
Jul ’19
Xcode-Select
pulsar@PULSARs-iMac ~ % sudo xcode-select -switch /Library/Developer/CommandLineTools pulsar@PULSARs-iMac ~ % xcode-select --install xcode-select: error: command line tools are already installed, use Software Update to install updates this error, I am getting while to install gfortran in my IMAC OS BIGSUR Shashi
0
0
1.4k
Apr ’21
Xcode in Dropbox, apparently a bad idea? Xcode bugs?
For reference, here's my stackoverflow post: https://stackoverflow.com/questions/44752358/indexing-issues-with-xcode-8/44752509#44752509So I'm working on an iOS app with a friend (we're both new) and we chose Dropbox to manage our project files and only one of us will have the project opened at a time. That being said, I'm having the strangest issues with Xcode. For somer eason some of my classes aren't being recognized when trying to select a class from the Identity Inspector's class dropdown -- in fact, the dropdown is blank. When right clicking the view controller from the document outline, I can't even see the newly defined outlets that I just created.I've tried the following things to fix this:Clean & Rebuild the project from Xcode, followed by an Xcode restartRemoving the project directories from ~/Library/Developer/Xcode/DerivedData to force Xcode to re-index (and restarted Xcode)and no luck. Now what's weird is if I close Xcode
0
0
601
Jun ’17
SceneKit in Xcode
Hello,This is a novice question. I created a new label in GameScene.sks, within Xcode, called SKLabelNode_0. Is it possible to programmatically access the properties of this SKLabelNode_0 node from GameScene.swift?This is from the Xcode Game template.Thank you
1
0
474
Sep ’15
Xcode 14.3 can not start Xcode server anymore
I've been using Xcode server for several years to run some UI tests for assurance quality. Even though it has some limitations and bugs, compared to Xcode Cloud, there is still a way to use it. In my case, it's mandatory, the UI Tests are running while connected to a local server application. Since I've updated to macOS 13.3 and Xcode 14.3, the user configured to run the tests is reported as Logged out on the Xcode Settings window, even though it is, in fact, logged in. Complete new install of the system, new install of Xcode and other tools : same results. I have a bunch of logs related to Xcode Server Builder in the console, but none is reported as an error. Do someone have the same phenomenon ?
2
0
1.4k
Apr ’23
Xcode Playgrounds + Xcode 15
We are in class working with Develop in Swift Explorations. We created a new playground file to create a learning playground for notes and exercises and since the update to Xcode 15, it is running extremely sluggish and slow. Playground file is build for iOS and using Simulator for iPhone 15. We also tried to run for Mac and same issues. In addition, the Macbook Air M2s are running VERY hot - which is unusual.
4
0
1.4k
Oct ’23