Questions tagged [xcode]

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

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

Completely uninstall iOS App and all associated data

Background I am a server-side developer working on an API for an iOS app. From time to time as we are in development (when we have big database changes) we reset our server. This process clears all ...
7
votes
0answers
1k 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 ...
6
votes
0answers
108 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 ...
6
votes
0answers
5k 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 ...
5
votes
0answers
96 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 ...
5
votes
0answers
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 ...
5
votes
1answer
1k views

Use a custom version of clang in Xcode

I installed the recent version of clang (to /usr/local/). How do I set up Xcode to use this and not the built-in version of clang?
4
votes
0answers
23 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?
4
votes
0answers
50 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 ...
4
votes
0answers
424 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 ...
4
votes
0answers
363 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 ...
4
votes
0answers
1k 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 ...
4
votes
0answers
279 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 ...
3
votes
0answers
492 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 ...
3
votes
0answers
64 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? ...
3
votes
0answers
124 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 ...
3
votes
0answers
745 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 ...
3
votes
0answers
2k 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,...
3
votes
0answers
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, ...
3
votes
0answers
57 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 ...
3
votes
0answers
399 views

Make mercurial NOT use xcode's filemerge

This is perhaps a question for hg as much as it is for macOS. I just upgraded to macOS High Sierra(10.13.4) to install Xcode. Before the upgrade, my mercurial was set up to use kdiff3 as the diff ...
3
votes
0answers
44 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 ...
3
votes
0answers
2k views

File visible but “does not exist”

With macOS Sierra, a new folder has been added to the root folder: macOS_SDK Inside are a bunch of folders, each containing only one folder, till the last one, containing a single file. Here's the ...
3
votes
0answers
2k views

Xcode stuck on 'installing components'

I have installed Xcode 7.3.1 on OS X El Capitan and when I want to open it, it says components need to be installed. When clicking on install, the progress goes until over half the bar and then it ...
3
votes
0answers
598 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 ...
3
votes
0answers
82 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"?
3
votes
0answers
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 ...
3
votes
0answers
453 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 ...
3
votes
0answers
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. ...
3
votes
1answer
780 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 ...
3
votes
1answer
350 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 ...
2
votes
0answers
125 views

Disable indexing for Xcode projects selectively

Is it possible to selectively disable indexing for Xcode projects? The following question discusses how to disable it globally, but I would like to disable it for selected projects only. https://...
2
votes
0answers
88 views

How to install SDL_bgi having SDL2 installed without Xcode (edit: with Xcode)

I would like to install SDL_bgi on macOS without Xcode. I’ve downloaded the file • Sources: SDL_bgi-2.4.0.tar.gz from the website sourceforge. But now that I have the folder, I don’t know how to ...
2
votes
0answers
639 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++...
2
votes
0answers
54 views

Strange linker error xcode 11.2.1

below I give a strange linker error that I am receiving with Xcode 11.2.1 on macOS 10.15.1. Any thoughts on the error? Some similar errors reported online suggests this is a problem that can be ...
2
votes
0answers
27 views

How to make Xcode work with VoiceOver?

I have tried Swift Playgrounds on iPad but that is useless as you never know where your character is. I am trying to develop my first app in Xcode. I use Swift 3. How do you make Xcode Swift ...
2
votes
0answers
71 views

How to disable blur in autocomplete in Xcode 11?

Since Xcode 11.0 autocomplete suggestions have blurry font sometimes: Don't know whether it's a bug or a feature but my eyes suffer because of it.
2
votes
0answers
32 views

iOS - fully automate testing process with backups - is it possible?

The Story: We have hundreds of devices running UI and unit tests. The tests are written using XCTest framework, and run on our applications, as well as system (Safari/Settings) and third party ones. ...
2
votes
0answers
215 views

Hide “Update” notification for Xcode on macOS Mojave, Xcode is not installed

I'm running 10.14.1 and Software Updater says everything is up to date. But App Store insists in telling I have a "Pending Update" for Xcode, even though I don't have Xcode installed. (I just have ...
2
votes
0answers
144 views

Xcode Beta and Additional Components

Short question: Will installing the additional components for Xcode 10 beta interfere in any way with the currently installed, AppStore version (9.x)? What are this "additional components"? Are they ...
2
votes
0answers
847 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 make sure silent mode is turned off, the ringer volume is up and I have enough battery. This is, ...
2
votes
0answers
1k views

brew install package asks to install command line tools from a path that doesn't exist

I messed up my command line tools. I already had them installed (and were working pretty great), I also installed the beta 2 macOS 10 version from the apple developers site because the command brew ...
2
votes
0answers
5k 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 ...
2
votes
0answers
480 views

Apple Xcode: remapping camera's Pan, Orbit and Dolly controls in SceneKit module

I'd like to remap the following camera controls in SceneKit module of Xcode 9.2 (I'm coding in Swift): panning – alt + LMB orbiting – LMB dollying – alt + MMB Pan drags the virtual camera ...
2
votes
0answers
503 views

(Almost) all apps hang on Mac while building an xCode project

I'm encountering an issue on my mid-2012 Macbook Pro (system specs below). While performing an Xcode build of an Ionic project from the command line, I see (once every ten times or so?) the process ...
2
votes
0answers
414 views

Xcode 8 error when installing

I just want to install Xcode 8 on Mac Sierra with the .xip format but in the expanding it shows the following error: The operation couldn't be completed.block-compressed payload operation failed. ...
2
votes
0answers
420 views

Xcode 8.3.3: Unable to push to repo using ssh key

I have my github repo setup with ssh key to access it: pull/push. With command-line git commands it does flawlessly. But I can't push with Xcode. I don't have any passphrase with my private key. ...
2
votes
0answers
2k views

Xcode 8 and iOS 11 incompatibility despite having copied device support files

I have set up up a new computer (MacBook Pro) from a backup I made yesterday from my old computer (MacBook Air). In the process of that setup, I changed my user's home folder name, strictly following ...
2
votes
0answers
579 views

Add SML syntax highlighting in Xcode

How can I configure Xcode so that I get syntax highlighting when using Standard ML? Is this even possible with Xcode?
2
votes
0answers
2k views

Use TestFlight without Developer Certificate

I have developed an Xcode iOS app, but can I use it on my TestFlight without a Paid Dev Cert?