Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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

Filter by
Sorted by
Tagged with
5
votes
2answers
2k views

Cannot Upgrade Xcode 11 to Xcode 11.1

I'm unable to upgrade Xcode 11GM to 11.1 for some time on my Mid 2014 MacBook Pro running macOS Catalina. I've installed Xcode from Mac AppStore ages ago (IIRC circa 2014), and upgraded step by step ...
0
votes
1answer
25 views

Xcode 11 jumps to every desktop in Mac Os Catalina

I recently updated my macOS Catalina (10.15) and also updated my Xcode to version 11.1 and I'm having issue with the window. Suppose I switch from Desktop-1 to Desktop-2, the Xcode also automatically ...
0
votes
0answers
17 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.
1549
votes
7answers
960k views

Why am I getting an “invalid active developer path” when attempting to use Git after upgrading to macOS Catalina?

After upgrading to macOS Catalina, I tried to run git from Terminal but it kept giving me the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), ...
1
vote
0answers
9 views

Xcode command line tools install failing due to network error

After upgrading macOS one has to re-install the command line tools for Xcode. But when I try I get the license agreement and hit "Agree" and then I get a popup saying that "install failed because of a ...
0
votes
0answers
19 views

How do I get dSYM files for iTunes for Instruments analysis?

I'm helping a friend investigate poor iTunes performance and asked him to gather an Instruments profile. It captures iTunes using ~100% of CPU but symbols are missing for iTunes. How do I download ...
1
vote
0answers
13 views

Does the notarization requirement for macOS Catalina require a Developer Account for local software builds?

In January 2020 (date may have changed; correct me if I am wrong), notarization requirements will activate for Mojave and Catalina. This will affect every application not released on the App Store. ...
0
votes
0answers
32 views

Unable to install Xcode

On the App Store, I searched for Xcode and clicked on 'Get' >> 'Install' then a pop up comes for me to login to my Apple iD. When I do so, I click on 'Get' again and on 'Install' again and then the ...
0
votes
0answers
60 views

Xcode update 11.1 stuck on MacOS Catalina [duplicate]

I’ve been trying to update Xcode and it seems to be stuck after the download. After sitting and waiting for a while, it seems to have restarted the entire process of downloading and updating again. I’...
1
vote
0answers
18 views

Mac App Store Automatically Cancels Downloading Xcode

When I try to download Xcode from the MAS, the download automatically stops after several minutes. It's not because of internet problems because the internet was working fine at the same time as the ...
0
votes
0answers
18 views

Missing NSCameraUsageDescription key even though it is embedded in the binary [migrated]

Attempting to debug OBS Studio in Xcode 11.1 (11A1027) under macOS Catalina 10.15 (19A583), and I've hit a really weird bug(?). Following Apple's instructions, I have enabled the option to embed a ...
4
votes
1answer
1k views

/usr/include missing on macOS Catalina (with Xcode 11)

Follow up to the same problem on Mojave. After upgrading to macOS Catalina, none of the C headers can be found in /usr/include. The reason for this may be found in the Xcode 10 release notes (...
1
vote
0answers
25 views

Xcode 11 hangs during Archive on CocoaPods task

After updating Xcode, when archiving my iOS app, it hangs on a specific CocoaPods task (GEOSwift). Archiving just continues for an indeterminate time (I can let it work for hours without results). ...
1
vote
4answers
4k views

Trying to install Command Line Tools without Xcode

In the past it used to be easy to install CommandLineTools without Xcode. Now I cannot get it to install correctly. Please note: this is not a development question but an installation of software ...
1
vote
0answers
70 views

Compiling GCC on Catalina

I am trying to compile GCC9 on macOS Catalina. The closest tutorial I've found is this one. The tutorial states: In order to build GCC install the required header files in the old location: 1 cd /...
3
votes
0answers
44 views

How can I move /Library/Developer to an external disk?

Until Xcode 10 I was able to move the Xcode Library/Developer folder to an external drive using a symlink, in order to free up space on my main disk, like ln -s /Volumes/*/Library/Developer /Users/*/...
2
votes
1answer
14 views

Why can’t one develop apps on a mobile platform? [closed]

I would like to try to create iPhone apps on an actual iPhone. Why isn’t this supported by Apple?
0
votes
1answer
150 views

Samsung SSD with Catalina or Mojave

I have High Sierra installed from a USB bootable drive on a Samsung SSD (Samsung MZ-76E500B/EU 500 GB 860 EVO Sata III 64L V NAND Solid State Drive) but I need XCode and that needs to be on Mojave 10....
3
votes
1answer
63 views

Why does App Store start updating Xcode when latest version already installed?

I have installed Xcode 11.0 manually from an Xcode_11.xip file. My Xcode installed successfully and it shows version 11.0 in its about page. But whenever I boot my Mac, the App Store always starts ...
1
vote
2answers
92 views

Do I need to run out and purchase a new MacBook Pro to upgrade to Xcode 11?

So I will need Xcode 11 by April of 2020, will High Sierra 10.13.6 support it? If I download Mojave, will it support Xcode 11? If I download Mojave, with only 11GB left on my hard drive, will that ...
1
vote
1answer
349 views

Accidentally deleted /Library/Developer files

I accidentally deleted my /Library/Developer files while trying to delete the Derived Data. Now, My Xcode 9 has stopped working and is crashing everytime I open it. I have a extremely important ...
1
vote
1answer
2k views

How to resove iPhone 7 running iOs 13.1.2 not supported by xcode (10.1)

When trying to run my test app on my iphone 7, I got this message: could not locate device support files. This iphone 7 (model 1660,1778, 1779, 1780) is running iOS 13.1.2 (17A860), which may not ...
3
votes
1answer
55 views

Why does updating Xcode make my computer so slow?

I updated Xcode. Now some things take forever to run. $ time make -n make: Nothing to be done for `update'. real 0m30.069s user 0m0.011s sys 0m0.025s Likewise Python: $ time ./foo.py ...
0
votes
1answer
69 views

Fatal error utility not found in g++

While I do make in a program I want to install, which installs fine in Opensuse, I get the error warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to ...
3
votes
1answer
40 views

Problem with building project by CMake

I have installed gcc and g++ instead of clang compilers from Xcode, so now I have problem with compiling with cmake. After running cmake I have got error: -- The C compiler identification is unknown -...
4
votes
1answer
4k views

Xcode 10 runs really slow and slows my entire computer down

I'm currently using Xcode 10.1 and it's driving me crazy, it slows my computer down to a point that it is unusable. Before I upgraded to Xcode 10 I was running the same project on Xcode 9 and High ...
-1
votes
0answers
11 views

Trying to generate layout at swift UICollectionView [migrated]

I'm trying to generate a layout at swift. I've added layout output, but 3rd box must be below of 2nd box. 1st and 4th boxes must remain same. how can I do it my code import UIKit class ...
6
votes
6answers
20k views

XCode Hangs at Startup

XCode fails to open on my machine - OS X 10.8.2. It opens the main screen and just hangs there with the spinner spinning becoming unresponsive. If I double clcik a project, it just hangs sating it is ...
2
votes
1answer
101 views

Can't install Homebrew on macOS Mojave; installer doesn't recognize Command Line Tools

I'm trying to install Homebrew on macOS Mojave 10.14.6. To do this, I'm running the command line suggested at the Homebrew website: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/...
0
votes
0answers
22 views

AppStore Displays different Compatibility iOS Version than Build in App Store Connect

In App Store Connect -> My Apps -> 'MyAppName' -> Actitivty -> All Builds opening my latest published build it shows under Device Requirements: Minimum iOS Version 10.0 Which is what I set it to in ...
1
vote
1answer
39 views

Link gcc using Homebrew on Mojave operating system

I've looked at other questions similar to mine for answers, but I still have no idea what I'm doing. I'm not new to Macs or working in terminal environments, but when it comes to computer structure I'...
2
votes
2answers
467 views

App Store: Not enough disk space to install Xcode

Similar to Xcode free space requirement, but different details. We could not complete your update There is not enough disk space available to install the product. The download size lists: ...
1
vote
0answers
9 views

Profiles are Universal or In-House, why is Xcode complaining that they need to be App Store?

Okay, I am trying to resolve an issue where I am generating ipas but when I go to Validate App, it says re-sign the target that I generated the ipa for and specifically it says needs to be re-signed ...
4
votes
1answer
1k views

Can't update Xcode even with 19gb free space

I have an available update for Xcode that is in the 7gb range, and when I try to update I get an alert saying there isn't enough disk space - I checked my space and I have 19gb available (of 120gb). ...
0
votes
0answers
22 views

How do I only select one specific cert for Xcode?

I am trying to generate an .ipa and Xcode continues to grab the expired certificate from App Store Connect. How can I remove only one of the certs without completing removing my email account that is ...
17
votes
5answers
17k views

git is broken: “Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo”

My install of git seems to be broken, and it looks like somehow my Developer Tools are broken. When I try to run git, I get this error. This happens both with /usr/bin/git and /opt/local/bin/git (...
10
votes
4answers
8k views

What is the definitive iPhone X corner radius?

I've been experimenting and have found no conclusive corner radius for the iPhone X. Some sources, such as iPhone X Screen Demystified - PaintCode, say its 40pts. Some say it's 44, like UI Design for ...
0
votes
1answer
49 views

Is it possible to use MacPorts without an Apple ID

MacPorts requires XCode. One seems to be only able to install XCode through the App store which requires an Apple Id to install stuff. Is there any way to circumvent this?
1
vote
2answers
59 views

Is there any way to develop iOS apps on a MacPro 2,1 in 2019?

I wanted to run cordova on some my apps so that I can test them for iOS. Running cordova run ios on a windows system will complain: xcodebuild was not found. Please install version 9.0.0 or greater ...
0
votes
0answers
72 views

Problem with spglib library python library installation on Catalina beta

I am running the Catalina Mac OS X beta (19A558d). I have installed a python virtual environment for python 3.7 and am trying to install the package "pymatgen". The installation is having trouble ...
1
vote
0answers
27 views

How to pass filename as an argument passed on launch?

I would like to pass the script's filename to the "Arguments Passed On Launch" found in the Scheme editor under "Run". I looked at this Xcode documentation but did not find an answer. Currently, I ...
1
vote
0answers
138 views

iOS 13 simulator has nothing installed

I just booted up the iOS 13 simulator on Xcode 11 GM, and there is nothing installed. Usually there are some basic apps (Messages, Photos, Safari etc.) preinstalled. Also, SpringBoard and ...
60
votes
8answers
42k views

Can I delete unnecessary device simulators of Xcode?

I found that Xcode on my laptop consumes much of its storage, so I am trying to delete unnecessary files in Xcode. There are four directories under Application/Xcode.app/Contents/Developer/Platforms/....
1
vote
0answers
24 views

Xcode crashes when attempting to create a file

If I start up Xcode 10.3 on MacOS 10.14.6 and then try to create a new file (cmd-N), Xcode will crash. Actually trying to open any file will cause it to crash. The welcome window comes up as does all ...
1
vote
1answer
63 views

Xcode 10.1: Profile is not an “iOS In House” profile

I am attempting to distribute via the Enteprise method on my Xcode 10.1 so I can get the .ipa to the organization. For App Thinning I selected All compatible device variants and selected Rebuild from ...
8
votes
0answers
10k 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 ...
3
votes
1answer
67 views

VoiceOver reading results of Swift Playground print statements in Xcode

(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 ...
2
votes
0answers
129 views

Can't run react native app in xcode simulator! [closed]

newbie to react-native, was following this official docs for creating ios app: https://facebook.github.io/react-native/docs/getting-started My System config : Xcode Version 9.4.1 (9F2000) Ran this ...
0
votes
1answer
43 views

Xcode: Archiving a project to generate .ipa but export is not an option in Organizer

I am a member of the Apple Developer program for my team and I have all the provisioning profiles in place and codesigning, but when I run Product -> Archive and get the Organizer pop-up, Export is ...
0
votes
1answer
130 views

Why is my iOS Development Certificate Team ID different from my real Team ID?

When I create an iOS Development Certificate using Xcode or the manual CSR process, the Team ID is something like (for e.g.) EK1H65HGFB, whereas my Team ID according to the Apple website is actually ...