Search results for

“Xcode”

93,910 results found

Post

Replies

Boosts

Views

Activity

Can I install Xcode 7 while still using Xcode 6? If so, how?
I am the sole iOS developer in my company.In order to maintain an existing project, I need to continue using Xcode 6 until Xcode 7 reaches production.I also need access to Xcode 7's SDKs for iOS 9 and make any adjustments as needed.The last time I installed a beta version of Xcode, I overwrote my production version which was unsettling to say the least.Thanks
0
0
644
Aug ’15
XCode Version
My iMac is getting old (about 2011) as I'm waiting for the new M1 27 inch iMac, and can't update OSX beyond 10.12.6 (Sierra). To keep the machine usable I installed an SSD which works well, but I've hit a problem trying to re-install Xcode. The latest version in the App Store will not download and I've tried a number of earlier versions of Xcode but none will start up. The earliest I tried was Xcode 4.6.3 which requires Mountain Lion but when I try to run it I get You can’t use this version of the application “Xcode” with this version of macOS. You have You have “Xcode” 4.6.3. I've tried a number of later versions, such as 5;11 but these don't seem to indicate an OSX version and none seems to run. Can someone tell me which version of Xcode I should use or is there something else amiss? Prior to switching to the SSD I could use and update Xcode without issue (last one about three years ago). Thanks
2
0
504
Jul ’21
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
501
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
191
Aug ’25
Reply to App Compiled under iOS 17 Beta 7 SDK with Xcode 15.0 beta 7 (15A5229h) crashes on iOS 12 devices.
I got a crash log, but it doesn't resemble what you posted. It won't symbolicate in Xcode 14.3 and I haven't figured out how the symbolicate function works in Xcode 15 (the documentation references a button that is no longer there). I'm submitting an app update with Xcode 14.3 now and will submit my own bug report to Apple, and hopefully they will notify me if it's fixed so I know that it's safe to use Xcode 15 again. FWIW, here's how my crash log starts: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000b94000 VM Region Info: 0xb94000 is not in any region. Bytes before following region: 4294967296 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 0000000100b94000-0000000100b98000 [ 16K] r-x/r-x SM=COW ...pp/BandHelper Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [236] Triggere
Sep ’23
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
Reply to Xcode 10 crash with SKScene
I was following a SpriteKit tutorial (made in Xcode 9) in Xcode 10.1 this week and ran into this bug in the visual SceneKit editor. You simply can't use Assets.xcassets images that have @2x images and set the texture visually in the GameScene.sks file at all without Xcode crashing. If you don't use @X assets it seems to work fine though. This is a known bug but Apple hasn't fixed it in months.The solution I found was to grab all of your images from the Asset Catalog and put them into a normal folder in the project. That will then allow you to texture the sks.I'm laying out my Scenes in code instead because of it. It doesn't crash when I use the Asset Catalog and I can also make the layout support iPhone X screens along side iPhone 16:9 screens rather than using two sks files (as I was going to until the repeated Xcode crashing).I still hope it gets fixed because prototyping visually is really quick with a visual editor if you just want to test som
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Jan ’19
Xcode and Playgroundbooks
Is it possible to use XCode to build a playgroundbook and test it on my MAC? Or run it on my iPad and use XCode debugging tools?I've been using NSLog statements and reviewing them in the Console app. This is extremely tedious debugging!Ideally I would like to take the Learn to Code 2 example into a XCode project and be able to debug code in the Sources folder.
1
0
631
Jul ’17
Xcode 9 GM vs Xcode 9 (final?)
So right now, I have XCode 8.3.3 installed. I also downloaded XCode 9 GM. I assume that next Tuesday, when iOS11 is released to the public, they will also release XCode 9.0.0 (or whatever they will call it), which my current XCode 8.3.3 will be upgraded to through App Store / Updates.If I create a new project with XCode 9 GM, will there be any difference between that, and a project I create next week when XCode (9.0.0) comes out? I'm not that familiar with all the behind the scenes stuff. I'd like to get started, but I don't want to have to re-do everything I start today with 9 GM, if there are significant changes with (9.0.0 as I'm calling it).(In other words, if I create a new Master Detail today, will the template be any different if I create it after 9.0.0 comes out), even anything behind the scenes?
1
0
2.9k
Sep ’17
Xcode 11.3.1
I have a Macbook Pro with the Mojave 10.14.5 OS installed. I would like to install, for learning purposes, the Xcode version 11.3.1 which I think is te last version of Xcode compatible to my Mac OS. I can't find any link on Apple's website to download this version of Xcode. Did Apple stopped giving older versions?
2
0
2.2k
Feb ’23
Xcode's Intelligence
In the latest Xcode video, I saw that the newest version of Xcode has integrated large language models (LLMs), allowing users to switch between models in Settings. However, after downloading Xcode 26 Beta and opening Settings, I couldn't find this feature. Is it because this functionality hasn't been rolled out in the Beta version?
2
0
175
Jun ’25
Xcode 8.1
Hello,I've updated my Xcode to 8.1 and it is working fine, although i have Xocde downloaded to my machine, when i look at Xcode in the App Store surprisingly it show Get instead of Open, do i have to reinstall it?
1
0
266
Nov ’16
Can I install Xcode 7 while still using Xcode 6? If so, how?
I am the sole iOS developer in my company.In order to maintain an existing project, I need to continue using Xcode 6 until Xcode 7 reaches production.I also need access to Xcode 7's SDKs for iOS 9 and make any adjustments as needed.The last time I installed a beta version of Xcode, I overwrote my production version which was unsettling to say the least.Thanks
Replies
0
Boosts
0
Views
644
Activity
Aug ’15
XCode Version
My iMac is getting old (about 2011) as I'm waiting for the new M1 27 inch iMac, and can't update OSX beyond 10.12.6 (Sierra). To keep the machine usable I installed an SSD which works well, but I've hit a problem trying to re-install Xcode. The latest version in the App Store will not download and I've tried a number of earlier versions of Xcode but none will start up. The earliest I tried was Xcode 4.6.3 which requires Mountain Lion but when I try to run it I get You can’t use this version of the application “Xcode” with this version of macOS. You have You have “Xcode” 4.6.3. I've tried a number of later versions, such as 5;11 but these don't seem to indicate an OSX version and none seems to run. Can someone tell me which version of Xcode I should use or is there something else amiss? Prior to switching to the SSD I could use and update Xcode without issue (last one about three years ago). Thanks
Replies
2
Boosts
0
Views
504
Activity
Jul ’21
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.
Replies
4
Boosts
0
Views
501
Activity
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)) } } } }
Replies
7
Boosts
0
Views
191
Activity
Aug ’25
Access remote devices from xcode
I have a requirement. I wanted to list my remote device under xcode's 'devices and simulators' window. Due to covid, many of our people are working from home. Each have different model of iOS devices with them. I from x place wanted to build and run my code in device from y place. we are connected via VPN. Do we have any working solution for this ?
Replies
0
Boosts
0
Views
557
Activity
Jun ’21
Reply to App Compiled under iOS 17 Beta 7 SDK with Xcode 15.0 beta 7 (15A5229h) crashes on iOS 12 devices.
I got a crash log, but it doesn't resemble what you posted. It won't symbolicate in Xcode 14.3 and I haven't figured out how the symbolicate function works in Xcode 15 (the documentation references a button that is no longer there). I'm submitting an app update with Xcode 14.3 now and will submit my own bug report to Apple, and hopefully they will notify me if it's fixed so I know that it's safe to use Xcode 15 again. FWIW, here's how my crash log starts: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000b94000 VM Region Info: 0xb94000 is not in any region. Bytes before following region: 4294967296 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 0000000100b94000-0000000100b98000 [ 16K] r-x/r-x SM=COW ...pp/BandHelper Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [236] Triggere
Replies
Boosts
Views
Activity
Sep ’23
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
Replies
Boosts
Views
Activity
Jul ’19
Reply to Xcode 10 crash with SKScene
I was following a SpriteKit tutorial (made in Xcode 9) in Xcode 10.1 this week and ran into this bug in the visual SceneKit editor. You simply can't use Assets.xcassets images that have @2x images and set the texture visually in the GameScene.sks file at all without Xcode crashing. If you don't use @X assets it seems to work fine though. This is a known bug but Apple hasn't fixed it in months.The solution I found was to grab all of your images from the Asset Catalog and put them into a normal folder in the project. That will then allow you to texture the sks.I'm laying out my Scenes in code instead because of it. It doesn't crash when I use the Asset Catalog and I can also make the layout support iPhone X screens along side iPhone 16:9 screens rather than using two sks files (as I was going to until the repeated Xcode crashing).I still hope it gets fixed because prototyping visually is really quick with a visual editor if you just want to test som
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Jan ’19
Xcode and Playgroundbooks
Is it possible to use XCode to build a playgroundbook and test it on my MAC? Or run it on my iPad and use XCode debugging tools?I've been using NSLog statements and reviewing them in the Console app. This is extremely tedious debugging!Ideally I would like to take the Learn to Code 2 example into a XCode project and be able to debug code in the Sources folder.
Replies
1
Boosts
0
Views
631
Activity
Jul ’17
Xcode wants to access key "Xcode-AlternateDSID" in your keychain
Why does Xcode consistently cause this dialog to pop up when it opens my project? It started when I updated to Xcode 9.1 on Saturday. 9.0 did not have this.Using macOS 10.13.1.
Replies
2
Boosts
0
Views
1.3k
Activity
Dec ’17
Xcode Cloud no longer supports Xcode 13C100
Suddenly I'm not able to load Xcode Cloud in Xcode 13.2.1. I didnt get this error yesterday. 13C100 is the newest version, so its kinda hard to update :/
Replies
6
Boosts
0
Views
2k
Activity
Jan ’22
Xcode 9 GM vs Xcode 9 (final?)
So right now, I have XCode 8.3.3 installed. I also downloaded XCode 9 GM. I assume that next Tuesday, when iOS11 is released to the public, they will also release XCode 9.0.0 (or whatever they will call it), which my current XCode 8.3.3 will be upgraded to through App Store / Updates.If I create a new project with XCode 9 GM, will there be any difference between that, and a project I create next week when XCode (9.0.0) comes out? I'm not that familiar with all the behind the scenes stuff. I'd like to get started, but I don't want to have to re-do everything I start today with 9 GM, if there are significant changes with (9.0.0 as I'm calling it).(In other words, if I create a new Master Detail today, will the template be any different if I create it after 9.0.0 comes out), even anything behind the scenes?
Replies
1
Boosts
0
Views
2.9k
Activity
Sep ’17
Xcode 11.3.1
I have a Macbook Pro with the Mojave 10.14.5 OS installed. I would like to install, for learning purposes, the Xcode version 11.3.1 which I think is te last version of Xcode compatible to my Mac OS. I can't find any link on Apple's website to download this version of Xcode. Did Apple stopped giving older versions?
Replies
2
Boosts
0
Views
2.2k
Activity
Feb ’23
Xcode's Intelligence
In the latest Xcode video, I saw that the newest version of Xcode has integrated large language models (LLMs), allowing users to switch between models in Settings. However, after downloading Xcode 26 Beta and opening Settings, I couldn't find this feature. Is it because this functionality hasn't been rolled out in the Beta version?
Replies
2
Boosts
0
Views
175
Activity
Jun ’25
Xcode 8.1
Hello,I've updated my Xcode to 8.1 and it is working fine, although i have Xocde downloaded to my machine, when i look at Xcode in the App Store surprisingly it show Get instead of Open, do i have to reinstall it?
Replies
1
Boosts
0
Views
266
Activity
Nov ’16