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.
Search results for
Xcode
92,317 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,as far as my memory goes, it was possible to use Xcode 5.x to run code on iOS 8. Or am I wrong?My Xcode 6.3 — even after attempting to read symbols — tells me that my iOS 9 device is inelligible. Is that a bug, or works as specified?ThanksAlex
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)) } } } }
Topic:
Developer Tools & Services
SubTopic:
Xcode
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
Topic:
Developer Tools & Services
SubTopic:
Instruments
Tags:
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
Hi! I was downloading Xcode in a Mac but in order to complete the downloading it asked me if I agreed with the terms and conditions. When I entered my password it says It's incorrect. I don't know why. It is the same password that I entered before, when I download the app a few minutes ago.
How do I show storyboard in Xcode 11 like it showed in Xcode 10, instead of an xml file?
Hello, An experience of using SDL2 with Xcode ? personally with SDL2 image it does not work, and it comes from Xcode. Otherwise I would work on Windows (more freedom). bye.
Usually new versions of Xcode coexist with old version. But if I try to switch back and forth between Xcode 11 beta 2 and Xcode 10.2.1, I have to go through the Install additional required components dialog every time. This is maddening, to say the least. Is this a bug? Can I work around it somehow?
After upgrading our code from Xcode 14.X to Xcode 15.X, we are not able to archive in release mode. on 90-95% Xcode got stuck while archiving. I have tried with Xcode 15, Xcode 15.1 and Xcode 15.2 , same issue is happening for all Xcode version. Please suggest solution for the same.
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
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
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 ?
I spent some time cleaning up my TCC data. During that I learned that some TCC info is cached in “Mac OS X Detached Code Signature” files. Is there a way to dump their contents suitable for human consumption? The codesign tool doesn’t seem to do it (or I can’t figure out how to invoke it).
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.