Questions tagged [xcode]

XCode is a suite of development tools (including an IDE of the same name) from Apple primarily for developing for its Cocoa environment. Questions about XCode should be limited to installation, basic usage/configuration, and troubleshooting.

Filter by
Sorted by
Tagged with
1 vote
1 answer
14k views

Can I upgrade a MacBook 2,1 to OS X 10.8?

I have a MacBook 2,1 mid-2007 model with a 2.16 GHz Intel Core2 Duo processor, 3GB of RAM and 500 GB storage with 300GB still available. I was using this Mac to submit apps to the AppStore but for ...
0 votes
1 answer
6k views

iOS simulator won't turn on

I'm running: OSX 10.8.5. iOS simulator 4.2 Xcode 5.0.1 I want to open up the iOS simulator so I can run mobile Safari and test some sites. However, while the simulator launches, it never turns on. I ...
0 votes
1 answer
23 views

Xcode repetitive installations

Xcode releases usually follow macOS releases. Until recently macOS Sonoma updated and I have to reinstall all my Xcode packages or simulators again. In addition to linking brew over again to recognize ...
1 vote
0 answers
96 views

How to show private data in macOS unified log within Xcode

I am getting runtime errors in Xcode involving interface builder. However, the system logger is sanitizing pertinent information contained in the logging. Unknown class <private> in Interface ...
0 votes
2 answers
9k views

Run command after opening terminal window from script using bash

I have a very simple script I use to open Terminal from Xcode in project root folder: #!/bin/bash open -a Terminal "`pwd`" I want to extend it to run pod install command so I've added && to ...
-1 votes
1 answer
10k views

Increasing video card memory on macOS virtual machine

I am researching for hours but I could not find. I am using Windows 10 as main operating system. In order to build mobile app, I installed sierra on latest VMware 12 pro workstation. I have done it ...
0 votes
2 answers
603 views

Is there any way to save a search in Xcode or OS X?

I want to improve my workflow by having a saved search that I can either simply open, or would automatically update. For my current particular use (may change in the future), it would search the ...
0 votes
0 answers
160 views

XCode and Simulator suddenly crashed and froze my Macbook

I am using a MacBook Pro 13-inch 2020 (i5, 8GB RAM, 256GB SSD) and using Xcode and Simulator to build my first app. However, when I run the Simulator, my MacBook freezes, and I can't do anything other ...
0 votes
0 answers
10 views

Can I reconfigure the panel layout in Xcode?

ideally, I'd prefer to have the debug/console area run the full width below all other panels. In practice, I don't need a full-height search or file browser or error message display; what I need is ...
0 votes
0 answers
90 views

MacPorts suggests I remove my dylib files. Should I?

MacPorts documentation mentions the port diagnose command to "...checks for common issues in the user's environment and reports all issues it finds to the user, along with possible fixes for ...
-1 votes
1 answer
78 views

about virtual machine macos

so I have windows and i need to use xcode to develop an app on ios, therefore i need to download macos on my computer. my questions is: 1-will it slow my computer since it require downloading xcode ...
3 votes
1 answer
10k views

Can't download Xcode from App Store in macOS Mojave in VMware

I cannot download Xcode from VMware based Mac OS Mojave. While trying from getting Xcode for High Sierra, I was getting an error that I needed to update the OS. My old MacBook Pro (2010 Mid) didn't ...
22 votes
8 answers
24k views

How to switch back to previous window on OS X?

As a long time Windows users I'm used to switch between two windows using keyboard. Now at Mac I just can't figure out how to do that! Command-Tab works nicely between apps, but how to do the same ...
0 votes
1 answer
2k views

MacOS: Cannot delete "Xcode Caches" under System Information > Storage Management

I am using a 2020 M1 Macbook Air on Monterey 12.3.1. When I go to: About this Mac > Storage > Manage > Developer I see Xcode Caches taking up 4.85 GB space. When I click delete, a pop up ...
0 votes
1 answer
2k views

Visual Studio Code: IntelliSense stopped finding core c++ includes in MacOS

In OSX Monterey, after upgrading a Homebrew install of clang, something about the default C++ headers got screwed up. I am able to compile from the terminal just fine; it works both if I use the ...
0 votes
1 answer
421 views

Reclaim storage space of failed XCode download from App Store

On Macbook 120gb, i had available storage of 23gb. I already have Xcode 10.3 installed and saw a notification for a new update. I installed the update and it started download and completed almost 99% ...
1 vote
1 answer
3k views

All iOS provisioning profiles stuck at pending

I'm attempting to create new iOS provisioning profiles, but as I create them the Apple website hangs as I submit the 'Name the profile and generate' page. Returning to the list of profiles I can see ...
1 vote
2 answers
3k views

Xcode "not responding"

I'm using XCode 10.1 and Mojave. I've been working with XCode for almost an year now, but recently I encountered a prompt XCode is not responding. I have tried lots of options that I found online, but ...
0 votes
0 answers
2k views

When I run my flutter app in simulator it throw error but when I run it from Xcode it run without error - Mac

When I run my flutter app in simulator it throw error but when I run it from Xcode it run without error I don't know how it happen is it my machine issue or it's cocoapods issue Launching lib/main....
8 votes
3 answers
17k views

Open application from OSX Terminal with debug printouts

I can open an application using open, like this: open ./MyApp.app But this doesn't display the application's debug printouts - which I need. If I locate the binary inside the package manually and ...
0 votes
2 answers
189 views

Should the temperature spikes with my new 2020 MacBook Pro be a concern?

mac overview and temperature readings from opening xcode/android studio/launching app It only spikes for a short time when opening programs, is that okay? I'm using Intel Power Gadget to read the temp....
0 votes
2 answers
216 views

Git Install only command line tools

I need to install git and command line development tools as 'make' or 'cc' to install rbenv and Ruby. Is 'Command Line Tools' package enough ? I do not want to install XCode if is not necessary.
0 votes
0 answers
33 views

Xcode 3.2 doesn't display images on Interface Builder

I'm trying to use Xcode for the first time in my life (because i've used Visual Studio, Visual Studio Code etc.). I wan't to create a tool that creates bootable USB for Hackintosh, and i want to use ...
3 votes
1 answer
2k views

Keep tab open in Xcode 12's new tab interface

The new tab interface in Xcode 12 italicizes tabs that don't stay open as seen as you open another file. I was wondering whether there is a keyboard shortcut to keep a tab open. If you right click the ...
6 votes
1 answer
19k views

Which Xcode version should I download for macOS High Sierra 10.13.6?

Which Xcode version should I download for macOS High Sierra 10.13.6? Note that I downloaded Xcode 10.2, but it informed me that it requires macOS 10.14.3 or later.
1 vote
2 answers
369 views

Homebrew pip issue 5599 on Intel macOS Big Sur

(I'm new here, so please be gentle) When using topgrade in homebrew (I installed topgrade after installing homebrew with brew install topgrade) on macOS big sur on a 2020 Intel 13" default upper ...
0 votes
0 answers
140 views

Windows Crash After Connecting Iphone To Xcode 12 On A VM

I'm actually developping on a vmware of MacOS Catalina 10.15.5 with Xcode 12. I want to test my app on a physical phone so I connect my iphone to the VM with no problem but when i want to connect it ...
0 votes
0 answers
693 views

Network Link Conditioner doesn't work on localhost (but does on external websites)

I read in a few places people saying Network Link Conditioner is supposed to work on localhost. However I never managed to get it working. It works for any of my external communications. If I use it ...
8 votes
3 answers
21k views

Automatically enable Xcode "Developer Mode" on computer lab workstations

After reimaging a computer lab workstation, the first time a user tries to build and run an Xcode 4 application, Xcode pops up the "Enable 'Developer Mode' on this Mac?" prompt, requesting an ...
1 vote
1 answer
3k views

Allow XCode installed from dmg file to be updated from app store

I recently installed the XCode 6 GM seed from a dmg file downloaded from Apple's developer portal. Now that XCode 6.0.1 is available on the Mac App Store, I would like for it to show as an update in ...
0 votes
1 answer
59 views

Possibility of running a MacOS VM at decent speeds on a 3960X

I wanted to know if I could run a MacOS VM at decent speeds on a System using a Threadripper 3960X. It needs to be fast enogh for me to build iOS Applications on it and run an iPhone Emulator to test ...
0 votes
1 answer
136 views

Can't Upgrade Mac Pro 2010, XCode and iOS SDK

Per Apple's new distribution requirements I need XCode 11 and SDK 13 to release a new version of an app but to get those I need an iOS upgrade to 10.14 which doesn't exist! I'm told by Apple support ...
0 votes
1 answer
49 views

How do VS developers handle debugging to iOS from Windows?

Problem I am facing: I need to have the most recent/ compatible version of Visual Studio(windows), Visual Studio(Mac), and Xcode in order to use my set up correctly. This means every month or so ...
2 votes
1 answer
3k views

cmath compilation errors with clang-10 on Mac OS Catalina

I recently installed llvm via brew with brew install llvm, in order to use clang with OpenMP, on Mac OS 10.15.4 Catalina $ which clang /usr/local/opt/llvm/bin/clang $ clang -v clang version 10.0.0 ...
0 votes
0 answers
35 views

compile xcode to the mac osx terminal

Please help me to fix this case. Check the attached image at this post. Kind Regards
0 votes
1 answer
2k views

Xcode is not opening

I'm pretty newbie on Mac. I wanna open Xcode, when I clink on the icon, nothing happens, not a warning or error, the icon jumps a little bit then stops and thats it, no Xcode or loading screen etc. I ...
0 votes
1 answer
178 views

How do you invert the scroll-to-zoom in the storyboards for Xcode?

I have inverted the scrolling on my Mac such that I find it more comfortable. However, this of course also inverted the scrolling on my storyboards which I find uncomfortable. Is there a way to invert ...
0 votes
1 answer
345 views

Running Xcode 11 on early 2011 Macbook Pro | Help Needed

I need to run an ios 13 simulator on my mac. Currently, I'm on El Capitan with Xcode 8.2. My hardware is not compatible with Catalina or Mojave. Highest I can upgrade to is High Sierra. Any workaround?...
2 votes
1 answer
724 views

Keyboard shortcut to select multiple lines in Xcode

Is there a keyboard shortcut to select lines e.g. 23-47 in an Xcode editor? Command-I works to select the current line and command-l to navigate to a line.
1 vote
1 answer
2k views

Xamarin iOS Simulator Black Screen After Xcode 11 Update

I am using a Windows PC and Xamarin, Visual Studio 15.9.16, and have recently updated Xcode to version 11 on my Mac. After the Xcode update, my Xamarin.Forms app never loads and the iOS Simulator ...
-2 votes
1 answer
660 views

Which version of Xcode suitable for macOs 10.13?

I need to download Xcode in my Mac OS 10.13. Which Xcode version suitable for it? It is not 10.13.6 just 10.13
3 votes
0 answers
936 views

"Kind" of .R file incorrectly displayed as "Rez Source" instead of "R Source File"

I am a R user new to MacOS. I found that the "Kind" of .R files are shown as "Rez Source" instead of "R Source File", even after I set the default app for the file as Rstudio.app (See the screenshot ...
0 votes
0 answers
240 views

Is it possible to use a Mac as Build Server and as Desktop PC in parallel?

I have an iMac. I want to use it as my personal mac in my company. But I have also colleagues who want to use the iMac for building via Xcode. Is this possible? My use cases are: Im not logged in --> ...
0 votes
0 answers
531 views

Xcode takes so much time to open project

When I try to open a project in Xcode it takes too much time to open. Xcode stop responding and after a long time, it then opens. I’m running a MacBook Pro 2017 16gb, i7. I was facing this issue in ...
1 vote
2 answers
9k views

How to install xCode11.3 on macOS High Sierra 10.13.6

Currently I am using Xcode 10.1 on MacOS High Sierra 10.13.6, on MacBook early 2011 with 4GB ram. Problem is that I am unable to upgrade my MacOS Version to Catalina, Is it possible to install ...
2 votes
1 answer
656 views

in Mac, how to press command and option at the same time? [closed]

in Xcode, many hotkeys need you to press the command+option, which fingers I should use? For example: option+CMD+left/right: to folder some code shift+option+CMD+left/right: to folder all method
1 vote
0 answers
967 views

Xcode 11.1 (11A1027) preview error "cannot preview in this file -- unexpected error occur"

diagnose -> "messageRepliedWithError("Connecting to launched interactive agent 2467", Optional(Error Domain=com.apple.dt.ultraviolet.service Code=17 "connectToPreviewHost: Failed to connect to 2467:...
2 votes
2 answers
5k views

Xcode 11 is not loading <iostream> for c++

I updated to Xcode 11 recently with iOS 10.15 (Public Beta 8) and when loading a previous cpp file with the header #include , Xcode sends me a warning saying 'iostream' file not found. Screenshots ...
4 votes
3 answers
15k views

How to run ios13 simulator on xcode 10.3

I have got xcode 10.3 and xcode 11 beta installed on my mac. I am hoping to run UI tests on simulator with ios 13 beta which comes with xcode 11. Unfortunately the app does not compile with xcode 11. ...
1 vote
1 answer
383 views

Swift process causes my MacBook Pro 2019 to freeze

After updating to macOS Catalina and Xcode 11 my MacBook Pro 2019 i9 keeps freezing after working with Xcode for a while.

1
2 3 4 5
8