Search results for

“Xcode”

93,903 results found

Post

Replies

Boosts

Views

Activity

xcode 8 auto resizing Problem
Hello everyone,We've deceloped an app which used Autoresizing. I updated xCode 7 to xcode 8 (Not Beta Version) and i clicked run I see that Problem.This picture is captured when my project run in xcode 7I did not change anything in my code but I see this screen (Zero values are not a problem, there are true value). I can not see some label.When I run my same project in xcode 7 everything is fine but when I run in xcode 8 i see this problem. Is there any bug for Xcode ?All components positin's have changed. TableView Cell Labels - Scroll View Size's have changed completely and autoresize is not working properly.When I change storyBoard InterfaceBuilder - Document i clicked xcode 7.x and i clicked save and close, But everything is changed according to xcode 8.I'm looking forward tour reply. Sincerly,Can.
0
0
547
Oct ’16
Compatibility between Xcode 12.3 and Xcode 12.0.1
By updating Xcode to version 12.3, the same source code that compiled with Xcode 12.0.1, no longer compiles with Xcode 12.3. Is it correct to have to change the code or is it an anomaly? Below is the scenario and the details of the errors. We tested in two different machines: MacOs Catalina machine (10.15.7) with Xcode 12.3 and IPhoneOS SDK 14.3 - MacMini 8,1 2018 - Intel i7 6 Core 3.2 Ghz - 64 GB RAM MacOs BigSur machine (11.6) with Xcode 12.0.1 and IPhoneOS SDK 14.0 - MacMini 8.1 2018 - Intel i7 6 Core 3.2 Ghz - 64 GB RAM In the first machine, we had an error relating to a swift object “CardData.swift”: /System/Volumes/Data/a/1/I/Model/PlannedOperations/CardData.swift:72:13: error: initializer for conditional binding must have Optional type, not 'String' let pan = card.pan ?? , ^ ~~~~~~~~~~~~~~ By checking the GYM logs, this type of error occurs on the first component built. Here is the command used by GYM for the first build: //xcodebuild -workspace ./xyz.xcwork
2
0
389
Oct ’21
Xcode CommandLineTools
OS :14.4.0 xcode version 2406 I installed CommandLineTolols by using below command xcode-select --install I checeked the installtion with xcode-select -p and got expecetd output /Library/Developer/CommandLineTools now if I do this sudo xcode-select --switch /Library/Developer/CommandLineTools there is no change in the promt % to $ which suppose to be happen. Am I right? I am now in mac world. How do I know CommandLineToos running? Please help
1
0
1.1k
Apr ’24
Xcode Cloud error 401
I have now signed out of my account in Xcode, quit the application, signed back in, and also cleared the Xcode derived data and cache. However, I am still receiving the 401 Unauthorized error Any operation related to Xcode Cloud (e.g., viewing the dashboard, creating a workflow) fails immediately across all Xcode projects, including brand-new empty projects. The error is consistent and always appears as: API Invalid status code: 401. Domain: XcodeCloudCombineAPI.XCCResponseError Code: 1 System Information: macOS Version 15.6.1 (Build 24G90) details : Error alert: API Invalid status code: 401.: XCCResponseError(responseErrorType: XcodeCloudCombineAPI.XCCResponseError.XCCResponseErrorType.invalidStatusCode(XcodeCloudCombineAPI.LegacyHttpStatus.unauthorized), requestUrl: Optional(https://appstoreconnect.apple.com/ci/api/teams//apps/find?bundle_id=), traceId: Optional(2ab09bea8da9ef39), retryAfterSecsStr: nil, response: Optional( { URL: https://appsto
1
0
223
Sep ’25
Xcode requirements
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.
10
0
1.4k
Dec ’20
Broken Xcode
Hey. I'm a newbie in Xcode developing. I have just installed Xcode 10.2.1 on macOS 11.7.10 (20G1427) (my project cannot built on newer Xcode versions), and I guess that my copy of Xcode (or something related) is broken. Firstly, when Xcode running from Terminal, logs showing this: 2024-04-04 17:31:30.772 Xcode[1062:25499] Failed to load CoreSimulatorService. Access to simulator services will not be available. Error=Error Domain=NSPOSIXErrorDomain Code=61 Connection refused UserInfo={NSLocalizedDescription=CoreSimulator.framework was changed while the process was running. This is not a supported configuration and can occur if Xcode.app was updated while the process was running. Service name ((null)) does not match expected service name (com.apple.CoreSimulator.CoreSimulatorService).} 2024-04-04 17:31:30.773 Xcode[1062:36010] CoreSimulatorService connection became invalid. Simulator services will no longer be available. I tried to reinstall Xcode
2
0
2.2k
Apr ’24
Homebrew and Xcode
Hello, I am a total newbie. I wanted to install a programm called httrack and got the info that i have to download and install homebrew and xcode. So I did so. Unfortunately I realized that i could mess up my computer big time and so i tried to uninstall both things again. Whereas it seems that homebrew was uninstalled well. I dont really understand how to uninstall xcode properly. This is what mdfind still shows me after uninstalling xcode (see attached) I am very scared as i just bought a brand new macbook and i am scared i did something to it that will damage it, can you please help me??? dani@MBP-von-Dani ~ % mdfind -name xcode /usr/share/zsh/5.8/functions/_xcode-select /System/Library/Automator/Build Xcode Project.action /usr/share/man/man1/xcode-select.1 /System/iOSSupport/System/Library/PrivateFrameworks/PreviewsInjection.framework/Versions/A/Resources/Xcode Previews.app /System/Library/PrivateFrameworks/PreviewsInjection.framework/Versions
2
0
1.7k
Apr ’22
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 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 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
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
Build using Xcode 8.2 when Xcode 8.3 is released
There is a change the Apple reject App builds, made using Xcode 8.2, when Xcode 8.3 is released?Thanks
Replies
3
Boosts
0
Views
577
Activity
Jan ’17
xcode 8 auto resizing Problem
Hello everyone,We've deceloped an app which used Autoresizing. I updated xCode 7 to xcode 8 (Not Beta Version) and i clicked run I see that Problem.This picture is captured when my project run in xcode 7I did not change anything in my code but I see this screen (Zero values are not a problem, there are true value). I can not see some label.When I run my same project in xcode 7 everything is fine but when I run in xcode 8 i see this problem. Is there any bug for Xcode ?All components positin's have changed. TableView Cell Labels - Scroll View Size's have changed completely and autoresize is not working properly.When I change storyBoard InterfaceBuilder - Document i clicked xcode 7.x and i clicked save and close, But everything is changed according to xcode 8.I'm looking forward tour reply. Sincerly,Can.
Replies
0
Boosts
0
Views
547
Activity
Oct ’16
Compatibility between Xcode 12.3 and Xcode 12.0.1
By updating Xcode to version 12.3, the same source code that compiled with Xcode 12.0.1, no longer compiles with Xcode 12.3. Is it correct to have to change the code or is it an anomaly? Below is the scenario and the details of the errors. We tested in two different machines: MacOs Catalina machine (10.15.7) with Xcode 12.3 and IPhoneOS SDK 14.3 - MacMini 8,1 2018 - Intel i7 6 Core 3.2 Ghz - 64 GB RAM MacOs BigSur machine (11.6) with Xcode 12.0.1 and IPhoneOS SDK 14.0 - MacMini 8.1 2018 - Intel i7 6 Core 3.2 Ghz - 64 GB RAM In the first machine, we had an error relating to a swift object “CardData.swift”: /System/Volumes/Data/a/1/I/Model/PlannedOperations/CardData.swift:72:13: error: initializer for conditional binding must have Optional type, not 'String' let pan = card.pan ?? , ^ ~~~~~~~~~~~~~~ By checking the GYM logs, this type of error occurs on the first component built. Here is the command used by GYM for the first build: //xcodebuild -workspace ./xyz.xcwork
Replies
2
Boosts
0
Views
389
Activity
Oct ’21
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
xcode :(
hi, it seems i can't dowload xcode to use on my macbook air . i click on the icon to download, but i just don't seem to download. please help.OS X Y10.10.5 yosemite
Replies
5
Boosts
0
Views
638
Activity
Oct ’17
Xcode CommandLineTools
OS :14.4.0 xcode version 2406 I installed CommandLineTolols by using below command xcode-select --install I checeked the installtion with xcode-select -p and got expecetd output /Library/Developer/CommandLineTools now if I do this sudo xcode-select --switch /Library/Developer/CommandLineTools there is no change in the promt % to $ which suppose to be happen. Am I right? I am now in mac world. How do I know CommandLineToos running? Please help
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’24
Xcode Cloud error 401
I have now signed out of my account in Xcode, quit the application, signed back in, and also cleared the Xcode derived data and cache. However, I am still receiving the 401 Unauthorized error Any operation related to Xcode Cloud (e.g., viewing the dashboard, creating a workflow) fails immediately across all Xcode projects, including brand-new empty projects. The error is consistent and always appears as: API Invalid status code: 401. Domain: XcodeCloudCombineAPI.XCCResponseError Code: 1 System Information: macOS Version 15.6.1 (Build 24G90) details : Error alert: API Invalid status code: 401.: XCCResponseError(responseErrorType: XcodeCloudCombineAPI.XCCResponseError.XCCResponseErrorType.invalidStatusCode(XcodeCloudCombineAPI.LegacyHttpStatus.unauthorized), requestUrl: Optional(https://appstoreconnect.apple.com/ci/api/teams//apps/find?bundle_id=), traceId: Optional(2ab09bea8da9ef39), retryAfterSecsStr: nil, response: Optional( { URL: https://appsto
Replies
1
Boosts
0
Views
223
Activity
Sep ’25
Xcode requirements
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
10
Boosts
0
Views
1.4k
Activity
Dec ’20
Broken Xcode
Hey. I'm a newbie in Xcode developing. I have just installed Xcode 10.2.1 on macOS 11.7.10 (20G1427) (my project cannot built on newer Xcode versions), and I guess that my copy of Xcode (or something related) is broken. Firstly, when Xcode running from Terminal, logs showing this: 2024-04-04 17:31:30.772 Xcode[1062:25499] Failed to load CoreSimulatorService. Access to simulator services will not be available. Error=Error Domain=NSPOSIXErrorDomain Code=61 Connection refused UserInfo={NSLocalizedDescription=CoreSimulator.framework was changed while the process was running. This is not a supported configuration and can occur if Xcode.app was updated while the process was running. Service name ((null)) does not match expected service name (com.apple.CoreSimulator.CoreSimulatorService).} 2024-04-04 17:31:30.773 Xcode[1062:36010] CoreSimulatorService connection became invalid. Simulator services will no longer be available. I tried to reinstall Xcode
Replies
2
Boosts
0
Views
2.2k
Activity
Apr ’24
Homebrew and Xcode
Hello, I am a total newbie. I wanted to install a programm called httrack and got the info that i have to download and install homebrew and xcode. So I did so. Unfortunately I realized that i could mess up my computer big time and so i tried to uninstall both things again. Whereas it seems that homebrew was uninstalled well. I dont really understand how to uninstall xcode properly. This is what mdfind still shows me after uninstalling xcode (see attached) I am very scared as i just bought a brand new macbook and i am scared i did something to it that will damage it, can you please help me??? dani@MBP-von-Dani ~ % mdfind -name xcode /usr/share/zsh/5.8/functions/_xcode-select /System/Library/Automator/Build Xcode Project.action /usr/share/man/man1/xcode-select.1 /System/iOSSupport/System/Library/PrivateFrameworks/PreviewsInjection.framework/Versions/A/Resources/Xcode Previews.app /System/Library/PrivateFrameworks/PreviewsInjection.framework/Versions
Replies
2
Boosts
0
Views
1.7k
Activity
Apr ’22
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 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 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
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