Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

3
votes
1answer
708 views

Mac OS Mojave 10.14.1 Trying to Install Old Command Line Tools

I've just installed Mac OS Mojave 10.14.1 and the latest XCode. ➜ ~ sw_vers ProductName: Mac OS X ProductVersion: 10.14.1 BuildVersion: 18B75 I was just running updates and noticed one of ...
0
votes
1answer
33 views

Xcode 10 Broke Autocomplete When Inserting Include Names for C++, Any Workarounds?

I no longer get any autocompletion results when I begin to type a standard header file name in the include statements: #include <> Normally, typing in a name such as vector or string would ...
3
votes
0answers
40 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 ...
0
votes
0answers
24 views

Cannot install File::HomeDir using cpan on MacOS Mojave for MacTex

I am trying to setup LaTeX Workshop Extension for Visual Studio Code. I have The MacTeX-2018 Distribution that I installed using Homebrew cask. I cannot setup formatting. Errors lead me to the answer ...
4
votes
0answers
196 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 ...
1
vote
0answers
33 views

macOS App Store Shows the Downloaded Xcode App as “Not Downloaded”

I download the Xcode 10.1 from the Mac App Store. I checked its version, version is 10.1 in truth. However, the Mac App Store shows that Xcode is not downloaded like this: Is there any way to ...
0
votes
0answers
30 views

Unable to compile swift programs because xctest is missing

Standard boilerplate: Nicholas-Air:niamh nchambers$ sw_vers ProductName: Mac OS X ProductVersion: 10.14.1 BuildVersion: 18B75 Nicholas-Air:niamh nchambers$ swift --version Apple Swift version 4....
2
votes
1answer
35 views

How to delete simulators below iPhone 8 [duplicate]

I have a base model MBP with only 120gb space so I'm trying to free up as much as I can. After running a DaisyDisk scan it looks like I have 8.6gb of simulators. I'd like to keep the simulators for ...
1
vote
1answer
21 views

Keyboard Shortcut: How to move cursor to the next capital letter of word written in camelCase in macOS & Xcode

I'm able to move the cursor using ⌥ + → (Alt + →) to the end of a word. However, if the word is camelCase, I want to move the cursor to the next capital letter. How do I do that?
1
vote
0answers
45 views

MacOS Mojave hangs creating file

Since I've updated my MacBook Pro to macOS Mojave (18A391), all the apps that feature file creation (Example: Xcode, VSCode, TextEdit, etc) are hanging for at least 20 seconds on the spinning wait ...
0
votes
0answers
36 views

Running multiple versions of Chrome, how to open second Chrome directly?

I followed this guide to run multiple versions of Google Chrome. https://zhoukekestar.github.io/notes/2017/11/01/install-multi-chrome.html The guide says that i need to have a "chrome2START.app" to ...
1
vote
0answers
53 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
58 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 ...
3
votes
2answers
344 views

How to force Xcode(or any other app) to be on dark theme while macOS Mojave's setting is on light mode

I love Xcode 10 dark theme, but I'd like to keep the whole OS on light theme. But by default to have Xcode on Dark theme you have to set the whole OS to Dark. How can I achieve this?
0
votes
0answers
36 views

Xcode Key Bindings not working with Spanish keyboard

I'm running macOS High Sierra and Xcode 9. My MacBook Pro has a Spanish Keyboard, and in the keyboard settings, it is configured as Spanish - ISO. I have tried some command shortcuts like Move Line Up ...
2
votes
1answer
104 views

“brew install python3” fails to compile pyexpat

brew install python3 fails with a pyexpat error, which means the installed Python can't parse XML (breaking pip etc). Here's the relevant excerpt from ~/Library/Logs/Homebrew/python/02.make: *** ...
0
votes
1answer
148 views

How to update Xcode?

I have a Mac running High Sierra, version 10.13.6. When running MacPorts I get the following error message that I should update my Xcode installation: Error: The installed version of Xcode (8.3.1) ...
3
votes
2answers
492 views

Why is /usr/include missing? I have Xcode and Command Line Tools installed (Mojave)

I just upgraded to Mojave from High Sierra and installed Xcode plus its command line tools and additional tools. Nothing will compile from the terminal, everything says /usr/include is missing! I ...
3
votes
2answers
3k views

Installing Xcode command line tools

I performed a fresh install of macOS Mojave 10.14. Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. Now, I wish to install Homebrew which requires Xcode command ...
1
vote
0answers
16 views

XCode : How to use cmd + x to either cut the current line (if no text is selected) or cut the selected text

Pressing cmd + x without selecting text in other IDEs, cuts the complete line. Same goes for cmd + c which copies, instead of cutting. Otherwise, if some text is selected, only that region is cut. ...
1
vote
0answers
316 views

Install Command Line Developer Tools prompt keeps bugging me

I have a 2.5 years old MBP. Over the course of these past years, I've had to compile some software from source. I also had to occasionally work with C programs. For those, I've installed either the ...
2
votes
1answer
197 views

Xcode stopped detecting SVN repository changes after installing other version controlling apps

Last week I installed Source Tree and Github for Dekstop version controlling apps on my Mac, prior to that I am also accessing our companies SVN repository server to contribute on our projects. While ...
1
vote
1answer
31 views

iOS - Handling language change in-app vs iOS subsystem [closed]

Is there a reason why language change setting should not be implemented within the app and instead performed via change in value in iOS Language & Region setting?
1
vote
0answers
105 views

Unable to complete Xcode download

I am downloading the latest version of Xcode (Version 10.0) from the Mac App Store. After having downloaded about 90%; it is hung so I am unable to complete the download and the App Store icon on the ...
3
votes
0answers
625 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, ...
1
vote
2answers
51 views

Cannot shut down computer due to app not responding

I have a 2012-ish MBP and I am using it to develop iOS apps using Xcode. This app stops responding relatively frequently, but usually I can just force quit it and open it again. However, this time I ...
4
votes
2answers
71 views

Bash - Suppressing output to STDOUT

I've written a script for fresh macOS installs that installs Homebrew, Cask, and a bunch of apps I like, along with creating a .vimrc file. Thanks to an answer by daniel Azuelos (located here: Best ...
1
vote
1answer
37 views

Game Engine Encryption for iTunes Connect Export Compliance?

I am using a Game Engine to create an iOS game app which allows me to drag-and-drop the generated files into Xcode to get the app binary. The said engine encrypts the files when exporting to an Xcode ...
1
vote
1answer
189 views

How to debug an app that runs fine on iOS simulator, but crashes on iPhone X?

I'm currently building an app with Cordova, and it appears that on the last alpha version, the app only works in the iOS Simulator. When ran on an iPhone X, the app is crashes immediately. I'm not ...
2
votes
0answers
46 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 ...
0
votes
1answer
79 views

XCode Helper does not have the accessibility permissions needed to run tests

I am getting this error when attempting to run some accessibility UTs on a project. I was under the impression that a prompt such as this would appear: However, I am not seeing this prompt. I also ...
2
votes
0answers
23 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
1answer
358 views

Xcode environment not dark in Mojave beta's dark mode

I feel really stupid for asking this, but here goes: Is there a button or setting somewhere to make Xcode use dark mode for its environment in the Mojave Beta? Searching for this renders a lot of ...
3
votes
1answer
180 views

Is Mac OS Extended (Journaled) safe to be used as a developer instead of the Case-sensitive type?

I am coming from Linux world. I just realized that my MacBook is using Mac OS Extended (Journaled) partition type today and it's case-insensitive. That concerns me a lot as a developer. Because my ...
0
votes
0answers
15 views

Is there a way to have Xcode automatically add @“” for NSString? Like a keyboard shortcut or something?

So Objective-C dictates we write strings as e.g.: NSString* myString = @"Hello"; Is there a keyboard shortcut or some way to make Xcode autocomplete the @"" part when declaring a new string (or ...
0
votes
2answers
103 views

Is an iPod Touch 5th generation a good testing device for iOS (react-native) development in 2018

As I'm going to upload my first app on the Apple App store and do not own an iPhone. From what I understand, owning and bundling your app on an Apple Device is a required phase of the app creation ...
1
vote
2answers
341 views

Trouble Installing XCode 10 beta 4

After installing MacOS Mojave Beta, I ran into some trouble installing Xcode 10 beta 4. I need the latest version of Xcode to use common tools like npm, node, yarn, etc. After I found the install ...
1
vote
0answers
24 views

Adding Simulator Screen Shots to Apple Product Images

I need help with adding Xcode Simulator screen shots to the Apple Product Images. Here's an iPhone X example: Open the Xcode Simulator (Device > iOS 11.4 > iPhone X) Under Debug uncheck "Optimize ...
1
vote
0answers
31 views

Xcode Instruments is throwing an error about non-existent iOS app extension

This is the error I'm getting when I try to run an Instruments network trace on my iPhone: This extension is part of the the Wide Protect app, which I've deleted. I've already tried restarting the ...
1
vote
0answers
31 views

How can I remove annoying messages about versioning from Xcode?

Practicing a bit with the Swift language, I am currently using Xcode v.9.2 in the playground mode. While coding, every time I just add a single statement, the following window appears: Is it possible ...
0
votes
1answer
119 views

Launch specific device simulator

How can I launch the device simulator on a Mac and specify which specific device I want, for example an iPhone 6s or an iPhone X, without having to launch Xcode (which takes forever on my old Mac)?
2
votes
0answers
669 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 ...
3
votes
0answers
73 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 ...
0
votes
2answers
114 views

How does Spotify or Deezer download and store music for offline use on iOS? [closed]

Which component or method do they use to store it? Is there any easier way to store music offline? How can I store those sounds locally so I can use it for offline use? How can I take a song from ...
0
votes
2answers
40 views

Xcode from App Store Stalling at About 11 Minutes Remaining

I'm trying to install Xcode from the App Store onto a Mac mini (the vast majority of my experience with PCs involves Windows and Linux). I've tried three times, and each time it stalls out at around ...
1
vote
1answer
218 views

GCC with-gxx-include-dir is set to iOS 11.4 simulator

I'm trying to compile https://github.com/zeromq/libzmq which requires me to run autoconf and then ./configure. It was working a few days ago, but now this happens: checking for a BSD-compatible ...
1
vote
1answer
70 views

How to reduce tooltip appearance delay in Xcode?

When I hover some icon in Xcode I have to wait quite long for tooltip. How to reduce delay?
2
votes
0answers
38 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 ...
5
votes
3answers
3k views

Removing uninstalled Command Line Tools from AppStore updates

I have deleted the Xcode Command Line Tools from my machine by essentially removing the folder. However, AppStore still shows updates from the CLI tools, which obviously I don't want. I've been ...
1
vote
1answer
1k views

Do I need the latest version of macOS to run Xcode and publish macOS/iOS apps?

To release an app to the App Store or build one you need a Mac. So my sister offered me her 13" 2013 MacBook Air (128GB) for €200 (~$230). It's still running pretty well, so price-wise it's worth it (...