Questions tagged [xcode]

WARNING: Almost all questions about development or app distribution are off topic here. See the Help Center for details. Xcode is Apple's official software development environment for Mac OS X and iOS

259 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10 votes
0 answers
2k views

Xcode Simulator - Show White Devices Instead of Black

When I run Xcode Simulator the devices are simulated with black cases. I'd like to be able to toggle to show devices with white cases to see them easier. I don't see a setting in Xcode for that. Can ...
Matt Smith's user avatar
6 votes
0 answers
667 views

How to configure Xcode to fetch swift dependencies over ssh using a private key which is stored on a Yubikey ( HSM , gpg --card-status )

Problem currently is that I find no way to simply configure or instruct Xcode to check out source code or dependencies over git+ssh using ssh agent. Does Xcode at all supports using the ssh-agent? ...
norrs's user avatar
  • 161
6 votes
0 answers
122 views

Can word break characters be changed in OS X 10.11 El Capitan (or Xcode 7.2)?

When I double-click text in an Xcode string to select an entire word, any text connected to it with a dot (.) will also get selected. I would like to make that not happen so that dots and other ...
primehalo's user avatar
  • 291
6 votes
0 answers
6k views

what is difference between gcc version and Xcode gcc version?

This maybe a little silly question but I am very confused executing pkgutil in shell I get $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables package-id: com.apple.pkg.CLTools_Executables ...
Ciasto piekarz's user avatar
5 votes
1 answer
2k views

Removing old versions of XCode Command-Line Tools on macOS 12

I recently got a new M1 MacBook which I migrated to using Migration Assistant. As part of the migration, the old XCode command-line tools seem to have made their way over, install receipts and all; ...
fluffy's user avatar
  • 902
5 votes
0 answers
445 views

How to make Xcode always remember your session or sign in automatically on start?

Every time I close Xcode and then start it, I have to enter my AppleID and password. I have to go Preferences > Accounts and provide my password every time. This is very annoying. How to force it ...
Green's user avatar
  • 421
5 votes
0 answers
247 views

pinentry implementation with fingerprint sensor support

Currently, I am using Pinentry Mac from Xcode on my system to sign git commits. For this, I am having to input my passphrase each time I am waiting to sign a commit. Seeing that my MacBook Pro has a ...
Empty2k12's user avatar
5 votes
0 answers
5k views

In Xcode 8 beta how do I view storyboard as a generic (square) device?

I selected: Main.storyboard > View Controller > Attributes inspector > Size: Inferred I also selected View as: iPhone 6 from the menu at the bottom of the storyboard window. How do I view it as a ...
Blair Rorani's user avatar
4 votes
0 answers
1k views

Accessibility Inspector not working on Xcode 11.x, iOS 13.x on MacOS Catalina & Mojave

I am unable to inspect any elements using the Accessibility Inspector on iOS 13.2 and higher simulators running on Mac OS Mojave or Catalina. Has anyone else also encountered this issue and if so, is ...
mark w.'s user avatar
  • 141
4 votes
0 answers
47 views

Obtaining Crash Reports

I have an app in the App store. A user has told me that she submitted a crash report but the Crashes tab in Xcode is empty. As a paid developer, how do I access this performance / crash data?
Johan Mattsson's user avatar
4 votes
0 answers
270 views

Navigating to pop-up without a mouse

(By way of background I have been helping a local blind child learn coding. He's switching schools from a Windows based school to a Mac based school so I am trying to familiarise myself with VoiceOver ...
dumbledad's user avatar
  • 179
4 votes
0 answers
569 views

Renew free provisioning profile from CLI

I'm developing an iOS app to run only on my phone (a.k.a. sideloading), and I don't need to distribute it. With a free iOS dev account, my provisioning profile expires every 7 days. I'm looking for ...
Elliott's user avatar
  • 3,009
4 votes
0 answers
7k views

High Sierra Xcode: which tools come with Command Line Tools installer?

Is this an accurate list? Is there official Apple Documentation detailing which commands get installed? The Command Line Tools (macOS 10.13) for Xcode 9.3 installer was recently made available from ...
MmmHmm's user avatar
  • 2,811
4 votes
0 answers
2k views

What these kernel panic logs relating to GPU Reset mean?

I'm having a really annoying issue and I would like to know what's causing it (Xcode triggers it). When I'm using Xcode and the storyboard editor, selecting or moving anything will occasionally cause ...
user265889's user avatar
4 votes
0 answers
108 views

How to display project name in minimized Xcode?

When Xcode project window is collapsed to dock it shows name of the current file: Is there any way to customize Xcode, so it will show project name in the dock, or "project_name - file_name"?
kelin's user avatar
  • 465
4 votes
2 answers
3k views

Uninstalling Command Line Tools manually in Big Sur

Homebrew seemed to have installed Command Line Tools when I was trying ntfs-3g on Big Sur. I have since given up on this attempt to connect NTFS to my Mac. Now I'm currently receiving prompts to ...
jonvyltra's user avatar
  • 141
3 votes
0 answers
920 views

How to configure Xcode's SSH client?

We've enabled SSH certificates for all repositories in our private GitHub organization recently. To use certificates, I've added CertificateFile keyword to the SSH configuration file in my home ...
Petr Tomášek's user avatar
3 votes
0 answers
228 views

Why does macOS include a 2nd copy of clang called GCC?

Since macOS uses Clang, you'd expect that gcc wouldn't be a valid command/executable, but macOS has a gcc executable that's exactly the same as clang. 5f42128bc6a36bf22b44d4d69e18ee6daff6178b /usr/...
UnicornsOnLSD's user avatar
3 votes
1 answer
278 views

Xcode unexpectedly quits after archieve

I am using flutter and I am not very good at Xcode. I upload to the app store my project. When I try update the application I got this problem. Xcode unexpectedly quits and open another window that ...
Vepa Sabyrow's user avatar
3 votes
0 answers
540 views

Xcode stuck in loop with Signing Certificate

My xcode managed signing profile is having some problems. XCode is stuck in a loop that begins with "Waiting to repair" I am using a non-developer account. App signing was working previously ...
Scottmeup's user avatar
  • 2,605
3 votes
0 answers
817 views

How to expand a XIP file to an external drive when having low space on the drive where MacOS is installed?

I am running Xcode from an external drive because now the size ballooned to ~30GB and I don't have that much free space. I'm using 12.3 but as 12.4 got released I would like to upgrade. I downloaded ...
mrtksn's user avatar
  • 523
3 votes
0 answers
699 views

Couldn't communicate with a helper application

I upgraded my OSX to macOS Big Sur version 11.1. Ever since I got this problem when trying to sign in in Xcode: at the time I had an earlier version of xcode (12.2). I upgraded to Xcode 12.3 and the ...
abbood's user avatar
  • 2,693
3 votes
0 answers
554 views

Is it possible to keep the Xcode command line tools installed on my system after macOS updates?

I don't have Xcode on my computer, but until about a year ago I'd always managed to install the command line tools simply by running xcode-select --install Since then this command fails with Can't ...
Eugleo's user avatar
  • 131
3 votes
0 answers
1k views

Archive in Xcode11 not showing in organizer even though status is succeeded

no (scarcely found) solutions from other threads helped, reason being (I think) that they were about different versions of Xcode. The issue seems prevalent throughout the versions, but solutions are ...
Mad Jack's user avatar
3 votes
0 answers
5k views

Apple clang++ error: wchar.h:119: fatal error: 'wchar.h' file not found #include_next <wchar.h>

[MacOS 10.14.5, Xcode 10.2, CLI Tools, brew clang-9/clang++] For some reason I am no longer able to build a simple hello world program using clang++ main.cpp. Instead, I am getting an error: clang++...
gone's user avatar
  • 703
3 votes
0 answers
464 views

xCode project causes system restart

I’m an amateur using xCode 10.3 on a MacBook Pro in Safe Mode,Mojave 10.14.6 with 4GB of DDR to generate tensors of complex numbers (to be processed in subsequent projects). The code, which I ...
Nick Boshaft's user avatar
3 votes
0 answers
1k views

When installing command line tools using Terminal, I am getting "Software currently unavailable from Software Update server" error

I have downloaded Xcode on my Mac running macOS Mojave and trying to install the command line tools using the following command: xcode-select --install But it is giving me the following error: Why ...
Shashankk Shekar Chaturvedi's user avatar
3 votes
0 answers
3k views

Xcode: shared build server?

Is it possible to setup a Mac as a server for shared builds? Our environment at the moment has each developer using mid range macs for the entire development workflow. Our build times are creeping up,...
Ian Newson's user avatar
3 votes
0 answers
3k views

Xcode will not open after updating to Xcode 10

I am on OS 10.13.6 in High Sierra. I just updated from Xcode 9.4.1 to Xcode 10. It now opens the application and instantly quits without me being able to do anything. I am unable to open any projects, ...
Gerald's user avatar
  • 31
3 votes
0 answers
5k views

How to check device logs for alarms?

I upgraded my iPhone 6S to iOS 11 this year, and now the alarm clock occasionally doesn't ring even I silent mode is turned off, the ringer volume is up and I have enough battery. Of course, this is ...
Paul Razvan Berg's user avatar
3 votes
0 answers
67 views

Xcode Scene Editor measuring objects

I have a 3d file opened on the xcode scene editor. I would like to 3d print the object in this file. How can I check the size of parts the object so I know how big it will be when printed? The size ...
Jean-Luc Nacif Coelho's user avatar
3 votes
0 answers
76 views

How to save a workflow service as an App?

I have a workflow service I built using Automator that I would like to distribute through the Mac App Store. I've successfully "exported" the workflow, signed with my developer ID. I can open the ...
Allyl Isocyanate's user avatar
3 votes
0 answers
608 views

Xcode wants to access DeviceManager in your keychain and tells me to add Spotify to Accessibility

Every now and again (when I plug my iPhone into my Mac with Xcode open), I get the following dialog: The only problem is when I click 'Allow' or 'Allways allow', it pops up with this: Should I trust ...
iProgram's user avatar
  • 4,630
3 votes
0 answers
335 views

How to adjust the compiler for c++11 on 10.8

Originally, I posted my question on Stack Overflow.Compile R package It seems that when installing the R library(Boom) I always get that error relating to compile error: fatal error: 'future' file ...
Googme's user avatar
  • 131
3 votes
0 answers
1k views

How to disable indexing for a big Swift project?

I have a big Swift project. It's about 40 ViewControllers, 2 storyboards and some frameworks. When I make some changes XCode begins indexing all the project and it takes a very long time! How can I ...
user2308192's user avatar
3 votes
0 answers
483 views

How to enable press-and-hold accent character menu in text editors (i.e. Xcode)?

When I press and hold a key (i.e. a) in most programs (such as a web browser, Evernote, etc.) I see the accent character pop-up menu. However, I do not see the pop-up in Xcode or Vim, and I would ...
Bill Paetzke's user avatar
3 votes
0 answers
2k views

How to install PhoneGap with Mac OS X Lion(10.7.3)?

I have a Mac OS X Lion(10.7.3). Now I want to install PhoneGap in my XCode. My XCode version is 4.3.2. I followed the instruction of installation from PhoneGap web site at the time of installation. ...
Shahjalal's user avatar
  • 201
3 votes
1 answer
1k views

How to disable Xcode's '"ProjectName" is a project downloaded from the Internet. Are you sure you want to open it?' dialog?

This is not a question on how to disable the warning when opening files or apps downloaded from the internet but instead it is about Xcode Projects. New with Xcode 7.3 released yesterday whenever a ...
Steve Moser's user avatar
  • 8,734
3 votes
1 answer
467 views

What is raid-ac protocol on port 2012

Yesterday I made OS X Server, on Mac Mini, for Xcode Continuous Integration. Today, by scanning my local network, I see that this Mac Mini is having port 2012 open with this raid-ac. I googled but ...
WebOrCode's user avatar
  • 163
2 votes
0 answers
120 views

What tools come pre-installed on Mac; what is part of the Xcode command line tools; and what should I install myself?

I'm setting up my Macbook, and in the process of installing Homebrew, I installed the Xcode commandline tools. I'm assuming the result of this is the /Library/Developer/CommandLineTools directory, ...
CalicoJack's user avatar
2 votes
1 answer
116 views

How do I see provisioning profiles for sideloaded apps on iPad?

I have developer versions of 2 of my own apps running on my iPad under OS version 15.6.1. I would like to be able to check the expiry date of the provisioning profiles without going to my development ...
Phillip Mills's user avatar
2 votes
0 answers
41 views

Is it "ok" to reset iPhones for use in a user test and setup Apple ID again afterwards?

This may seem as a quite stupid question, but I'm really unsure about this. I own two iPhones (6 and 8) which we would like to use in an App test. As I don't want the participants to have access to ...
Daniel Bachmann's user avatar
2 votes
0 answers
134 views

File permission problem updating a .swift file on macOS from Windows 10 on same LAN

On MacOS 13.2.1 in my work folder I execute: sudo chmod -R a=rwx * Finder > file's Get Info > Permissions become: Name "myMacAccount" Privilege "read & write) Name staff ...
Doug Null's user avatar
  • 165
2 votes
0 answers
140 views

Installing XCode from a USB (or similar workarounds)

I initially posted this on Stack Overflow, but I think this might be the better place for it. I'm trying to install XCode on an old Mac with about 40GB of space, which isn't enough to install XCode (...
Metis7's user avatar
  • 21
2 votes
1 answer
563 views

iOS distribution certificates expiring for two apps from same team: Do I need to take separate actions?

I have two apps both associated with the same development team, and I've gotten notifications for both of them that Your iOS Distribution Certificate will no longer be valid in 30 days. I got these ...
gkeenley's user avatar
  • 471
2 votes
0 answers
645 views

Xcode Failed to set unique install ID on plugin

While building and running my app I simulator I came across this error Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Please try again later. Recovery Suggestion: Failed to set unique ...
OLIVER.KOO's user avatar
2 votes
0 answers
686 views

Error: Can't update mongodb-community via brew

I seem to have a problem with my MongoDB (mongodb-community), which I installed via brew on my Mac. I always get the following: $ brew update && brew upgrade Already up-to-date. ==> ...
Xenonite's user avatar
  • 283
2 votes
1 answer
9k views

How to download Xcode 13 if the App Store is not accessible?

My organisation is blocking access to the App Store for security reasons, so I can't download Xcode 13 from there. I looked at https://developer.apple.com/download/all/ but there I only see a bunch of ...
VRAwesome's user avatar
  • 135
2 votes
1 answer
2k views

Is 5.45GB normal for Project Build and Index in Xcode?

Today I ran a Xcode project on a react-native project, and it add up to 5.43 GB for only one simple project, is that normal? So if I have 10 projects it will add up to 50 GB??!!? In Android, it eats ...
Lê Quốc Khánh's user avatar
2 votes
0 answers
416 views

Install XCode on a remote machine using script

I'm new to Apple development. As per my understanding, in order to build IOS apps, we require Xcode. I installed and tried out some builds also in a Mac machine. Now, I'm setting up CI/CD pipeline for ...
Neron Joseph's user avatar

1
2 3 4 5 6