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

0
votes
1answer
16 views

Starting from March 2019, is it necessary to build all existing apps using iOS 12 SDK and Xcode 10 for it to work on iOS 12 devices?

This is what the apple developer website says. Starting March 2019, all new apps and app updates for iPhone, including universal apps, will need to be built with the iOS 12 SDK and support iPhone ...
1
vote
1answer
23 views

Erase app data on iOS simulator or real devices

I am developing natives apps for both Android and iOS and when debugging some login scenarios I need to reset the app to its initial stage without any token persisted on the (virtual) device. On ...
1
vote
1answer
33 views

Any Pitfalls in Replacing gcc and g++ With GNU Versions?

I understand that Clang is the default and recommended compiler for MacOS. By default macOS has binaries for gcc and g++ in /usr/bin/ which are same as clang and clang++. What are the possible issues ...
-2
votes
0answers
11 views

page loaded in wkwebview but not show dynamic card in html [on hold]

its work on safari and chrome and.... but in wkwebview does not show cardBody items cardBody items read from json in url this function init called onload body " why my cardBody items does not show in ...
0
votes
0answers
12 views

click debug memory graph button using apple script failed to get the button

this is the button in accessibility inspector: this is my code tell application "System Events" tell process "Xcode" activate click button "Debug Memory Graph" of group 2 of ...
0
votes
1answer
11 views

Xcode 10 Not Always Jumps to Location of Warning/Error

After upgrading to Xcode 10, I have noticed that for some issues (not all) the source code editor no longer jumps to the location of a compiler error or warning when I click said issue on the issue ...
0
votes
0answers
15 views

How do install a deprecated SDK so xcode can use it as a build target?

My development machine is hardware limited to El Capitan. 10.11.6 is plisted as my minimum target however it is not available in the build settings panel. I downloaded the macOSX10.11SDK to my Library>...
0
votes
1answer
24 views

Can I retrieve an Xcode project I installed on my iPhone?

I recently executed a stupid "Discard All Changes" on my Xcode project that resulted in the project being deleted. I haven't found a way to recover it yet, but I was wondering since I had installed ...
1
vote
0answers
31 views

Unable to open Firefox and Xcode since my last update

I'm using OS X El Captain 10.11.6. It worked well until 14 Dec 2018. Indeed, I could use Firefox and Xcode (the main softwares I use) without any troubles. But, since 14 Dec 2018, after rebooting, I ...
1
vote
1answer
36 views

Is there any way to upgrade a mid 2007 iMac to macOS Sierra?

I recently got this used iMac, and was hoping I could use it for development work. I had an old Mac OS X Snow Leopard install disk, which I used to upgrade as far as OS X El Capitan, and wasn't able ...
2
votes
0answers
106 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 ...
0
votes
0answers
23 views

XCode keeps hanging and I have to force quit

I have an iMac running High Sierra and Xcode version 10.1. I've recently started using Xcode a lot and it keeps hanging on me. I'll do something and the beachball appears. I eventually have to force ...
1
vote
1answer
25 views

Do you need a Macbook Pro w touchID to test the authentication in your Swift app?

I'm thinking of buying a MBP base model for Swift programming, and I know that Xcode has a simulator for the touch-bar, but do I need the one with actual touchID hardware if I want my app to require a ...
2
votes
1answer
35 views

Does Xcode save your answer to the system when agreeing to the License Agreement?

Upon installing Xcode, it prompts a license agreement. When you press agree, you are never prompted the license agreement again. Does your answer get saved to the system, that way the application does ...
3
votes
0answers
54 views

iPhone keeps disconnecting & connecting when transferring data

I have a MacBook Pro (2015), and an iPhone 7 Plus. The problem is the following: If the iPhone is connected to my Mac, then whenever I run an app via XCode, or the Mac is just transferring data, the ...
5
votes
5answers
2k views

Can't install the software because it is not currently available from the software update server - iPad

I'm attempting to sync my iPad with my MacBook pro, but every time I plug it in I'm getting a message from iTunes, "A software update is required to connect to your iOS device." When I click "Install,"...
1
vote
1answer
44 views

I disabled SIP and removed System Python. Now Xcode won't let me export apps

I was pissed about having 20 different versions of Python on my Mac, so in an effort to clean it up I deleted every single instance of it. I disabled SIP and cleared out the system default one. I ...
0
votes
1answer
32 views

Xcode delete subword/word forward/backword eating empty space

This is really weird behaviour. Any editor I use treats empty space as a word and does not skip it. By empty space I mean newlines, tabs, spaces, etc. Now what was for me always just a press of one ...
-4
votes
1answer
26 views

How to get xcode simulator working after moving Library/Developer to an external harddrive

How do I get device simulator working in xcode after moving the Library/Developer file to an external hard drive and symlinking it. Yes, I've already symlinked the files from Developer.
3
votes
1answer
38 views

Upgrading OSX/Xcode - linking failure

ALL, I started my project on OSX 10.8 with the Xcode 5.1 (latest available for that OSX). Everything was building and running fine and it still is. The project consist of a binary executable and ...
0
votes
1answer
44 views

Xcode completion menu not completing on enter, I have to use mouse/touchpad cursor and click there…

Xcode completion menu not completing on enter, I have to use mouse/touchpad cursor and click there, so its quite annoying. How can I just autocomplete by keyboard ? Is this some miss-configuration of ...
0
votes
0answers
71 views

Are tabs broken in macOS Mojave?

Let's say you have two tabs in a Terminal window. One of the things with the bug is, if I tap on the left tab, it opens the right one. If I tap on the right tab, it opens the left tab. Same problem ...
6
votes
2answers
118 views

Xcode saying Network Extension capability is not enabled when it is

I have been having a lot of issues for the last two weeks trying to sign and distribute a 3rd party MacOS app. I am unable to sign an app with Xcode properly because Xcode is saying that I do not have ...
1
vote
0answers
19 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. ...
6
votes
1answer
117 views

Is there a list of pre-installed command-line tools for macOS?

I'm currently in the process of developing some shell scripts but have run into a problem: whilst I am able to execute numerous commands on my Mac, when I try to run it on other people's computers I ...
1
vote
0answers
234 views

Suddenly the “diagnosticd” daemon rise up to over 200% CPU usage

Suddenly the diagnosticd daemon rise up to over 200% CPU usage, even with Xcode is not running, on OS X Mojave 10.14.1 I can't figure out it. The fans become very noisy.
1
vote
0answers
12 views

Why Xcode is downloading from the beginning ,if downloading gets failed? [duplicate]

I have an Question that just want to clarify that Xcode is downloading from the beginning if the downloading gets failed. I am trying to download Xcode 10.1. It gets downloaded 75% if their must be an ...
1
vote
0answers
23 views

How to disable all system dialogs, popups, for automated UI testing

I maintain a large pool of mac os machines for use in clustered UI testing of a mac OS app. One thing that constantly brings us pain is that Mac os has a seemingly limitless number of popups and ...
3
votes
1answer
2k 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
203 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 ...
2
votes
0answers
86 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 ...
1
vote
1answer
205 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
251 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
65 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 ...
2
votes
1answer
101 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
23 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
79 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 ...
1
vote
0answers
112 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
111 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
3answers
980 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?
2
votes
1answer
151 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
1k 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) ...
6
votes
2answers
1k 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 ...
6
votes
2answers
10k 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
32 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
330 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 ...
1
vote
1answer
440 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 ...
0
votes
1answer
39 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
244 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
1k 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, ...