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
3
votes
0answers
2k 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
341 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
138 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
191 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
4k 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
136 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
456 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
150 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, ...
3
votes
1answer
472 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
717 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
2answers
680 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
1k 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
78 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
35 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 ...
1
vote
3answers
1k 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
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 ...
4
votes
0answers
321 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
418 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
220 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
721 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 ...
2
votes
1answer
459 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
50 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 ...
7
votes
4answers
8k 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 ...
2
votes
1answer
6k 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 (...
3
votes
1answer
2k views

Problems with opendiff

I have a application, I wrote 6 years ago, which includes functionality to compare files. Recently this seems to ignore the compare files command. I did a little digging into the code, and this uses ...
1
vote
1answer
441 views

Connecting App Store release app to Xcode

I am trying to connect an App Store released app to Xcode. The reason I want to do this is because I want to check attribution data from Appsflyer and make sure that it is sending partner data that ...
13
votes
1answer
2k views

Beta Command Line Tools offered as update—why?

Today the App Store is offering me the Command Line Tools for Xcode 10.0 beta 1. I do not recall ever signing up as a beta tester for any Apple software. Why do I get this update and how can I ...
4
votes
0answers
75 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 ...
2
votes
0answers
324 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 ...
1
vote
1answer
87 views

Deploy iOS app directly from Xcode to iPad

Since Xcode 7 was released, a target device has now free provisioning. A developer doesn't have to sign up for Apple Developer Program in order to test his/her app on an iOS device. When you uploaded ...
2
votes
3answers
892 views

App Review - Do they allow app names with question marks in?

I have submitted my app to the app store 6 times and always been rejected because apparently the UIRequiredCapabilities key is not set correctly. Well, I've tried many different combinations of ...
0
votes
1answer
2k views

Xcode displaying false code error messages ('Expected expression' and others) [closed]

This is not a code-level question, per se, but a question about false code error messages. I would have posted on Apple's developer forums, but the registration page is currently broken. I'm using ...
4
votes
1answer
5k views

How can i download an older version of Xcode

I am trying to download xCode form the appstore, but it says that i have to have a newer version of macOS but i dont have enuff space on my computer to upgrade. Its like 8 gigs or something like that ...
0
votes
0answers
153 views

Xcode bot is not sending mail notifications

I've created a bot for Continuous Integration process using Xcode Version 9.3 (9E145). Under the Triggers section I did enable Email Notifications for Periodic Email Report. I'm expecting report after ...
2
votes
5answers
13k views

MacOS High Sierra : Xcode failed to download Use the purchase page Error during installing Xcode 9.3

Yesterday I update MacOS Sierra to MacOS High Sierra than I remove xCode 9.2 after that when I try to install xCode 9.3 from App Store, It gives me below error: Xcode failed to download, Use the ...
5
votes
2answers
677 views

Prevent closing of entire Xcode window on Command-W when “Quick Open” menu is open

I have an Xcode window open with many tabs. I want to open a file through Quick Open (⇧⌘O). When I decide to close the Quick Open menu and also close the current tab that I'm on, I'll press Esc to ...
1
vote
1answer
74 views

How can I display Activity Monitor's “Memory” columns through Terminal?

Activity Monitor has a number of columns that show different measurements of memory usage for each process. Including: Memory Real Memory (various) Compressed Memory How can I display these for a ...
2
votes
1answer
97 views

Why my macbook 2015 13 inch hums when working with latest Xcode?

What may be the cause of this? It happens every time when I build the app on either simulator or device. Should i clean sth or reset my harddrive? using High Sierra and Xcode 9.2 EDIT: It is ...
2
votes
1answer
414 views

Is there a limit to how long Xcode will run an app on a device, before “Finishing”?

I'm trying to run an app on a device for a very long duration (in hours). I thought that Xcode would keep running the app, but it exited several times, saying "Finished running on my iPhone." I'm ...
3
votes
0answers
38 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 ...
1
vote
1answer
2k views

High Sierra: “An error has occurred” and app won't finish downloading

I am trying to download the latest version of Xcode from the AppStore so I can continue with my development. I am on a MBP 2016 touch-bar running MacOS High Sierra 10.13.4. I did a lot of digging and ...
11
votes
4answers
40k views

Xcrun missing, installing Xcode Command Line Tools not fixing issue

I have a Mid 2015 MacBook Pro running macOS High Sierra 10.13.3. I tried starting up a new project and none of my commands seem to work. I always get this error: xcrun: error: invalid active ...
0
votes
1answer
1k views

can't download Xcode 9.3, disk is full in fact it is not

I want to update my xcode from xcode 9.2 to 9.3. but in the App store when I press update button, it shows the alert like the picture above. even though in fact I have a lot of space it is only ...
2
votes
1answer
2k views

Does iOS simulator in Xcode allow AppleID sign in?

I am interested in using iCloud for Windows for syncing bookmarks between Windows browsers (as a replacement for Xmarks, which is shutting down). I installed iCloud for Windows and used my AppleID to ...
3
votes
1answer
90 views

Would it be possible to turn the field test into an app?

When you dial 3001#12345# on an iPhone, it brings you to field test, which gives you cellular info and stuff like that. If I got the source code for this, would it be possible for me to turn it into ...
3
votes
1answer
159 views

Why is Xcode starting on macOS Sierra start up?

After starting or restarting macOS, Xcode is launching and opening a file that I never touched. Any idea how I can stop that?
2
votes
0answers
4k 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
1answer
636 views

Cannot cmd-click or option-click code in Xcode and other applications with non-Apple keyboard

I have recently acquired a mechanical keyboard Corsair K70 (non RGB model) and have successfully used it with macOS Sierra (10.12.6). Everything works as expected with the exception of certain ...
1
vote
1answer
70 views

Xcode is constantly hijacking my Editor settings for .rb files

I'm quite baffled by this as i can't find how and why it's happening. For years i'm using Sublime Text to open ruby files and surely i have Xcode installed but except of command line tools i don't use ...
3
votes
2answers
329 views

Xcode adds comment characters in the first column?

Whenever I use the Xcode keyboard shortcut Command + / for commenting line(s) of code in a Swift/Objective-C source file, the // characters are always placed in the first column. I would much prefer ...