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
0answers
28 views

Xcode - Update Frames menu missing [on hold]

I am using Xcode to make apps, and I found something missing. In the tutorial I'm using, there should be an Update Frames submenu in the Add Constraints button at the bottom of a Storyboard file. It ...
1
vote
2answers
41 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 ...
0
votes
0answers
7 views

Expected expression in container literal this error apear in @IBAction [migrated]

this is code and error a pear i write a click button to show other window i do not know whats the problem please help me @IBAction under the @ show the error
4
votes
2answers
63 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
25 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
34 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
18 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
27 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
21 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
110 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
86 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
13 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
53 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
154 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
23 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
20 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
29 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
29 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
281 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
36 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
62 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
28 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
130 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
48 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
29 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 ...
4
votes
2answers
593 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
471 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 (...
0
votes
1answer
256 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 ...
0
votes
0answers
98 views

Xcode deployment target 10 but 32-bit device (iPad iOS 10.6) can not install the latest version

I submitted an App to the App Store using Xcode 9.3, with a deployment target of 10. But my iPad that is running iOS 10.6 can not install the latest version. The iPad is asking to install an older ...
1
vote
1answer
52 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 ...
10
votes
1answer
1k 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
55 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 ...
1
vote
0answers
87 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
38 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
2answers
144 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 ...
-1
votes
1answer
161 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 ...
0
votes
1answer
693 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
64 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
4answers
2k 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
90 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
40 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 ...
0
votes
0answers
16 views

How to open one filetype with one specific application? [duplicate]

I want to open .py files in Sublime Text rather than Xcode. But I can't set it up system-wide. "Open with" just applies to that particular file not every file. Any solution?
2
votes
1answer
40 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
164 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
27 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
1k 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 ...
3
votes
2answers
3k 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
586 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
433 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
42 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 ...