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
1
vote
2answers
105 views

Compile for iOS 5.1 in macOS Mojave

I have a macOS Mojave based Mac, and, for a project, I need to be able to target iOS 5.1 (iPad 1). Xcode 10 doesn't ship build support for iOS 5.1, so I downloaded Xcode 4.3 from Apple's archives. ...
2
votes
1answer
107 views

Can't connect iPad to macOS Mojave

I used to be able to recognize iPad when working with Xcode and iTunes in previous versions of macOS. Now I can no longer connect it. System Information does contain the device in USB list and the ...
1
vote
0answers
35 views

iOS Newsstand app background mode [closed]

Does Apple still support Newsstand apps? I searched a lot but I can't find any tutorial or a demo for such an app with NewsstandKit. If this is not used anymore, why does the Newsstand background ...
2
votes
1answer
491 views

Homebrew not detecting latest Xcode and Command Line Tools, and not uninstalling them either

I have macOS Mojave version 10.14.5 installed with Xcode version 10.2.1 and Command Line Tools installed using xcode-select --install. All problem started when I tried to install youtube-dl formula on ...
0
votes
1answer
2k views

Xcode 10: Failed to create Provisioning Profile - There are no devices registered

When I try to create a profile to build an iOS app by going to Project → General → Signing, and selecting my Team (Personal), I get two errors: Failed to create provisioning profile. There are ...
-1
votes
1answer
54 views

new Xcode + GitHub [duplicate]

A new Mac laptop with OSX 10.13 with Xcode 9 on it gets run time errors from a cloned the project that runs fine 10.8 OSX and Xcode 5 The C++ project throws Run-Time-Exception against one of the ...
1
vote
1answer
729 views

macOS_SDK_headers_for_macOS_10.14.pkg doesn't exist on my system

I am trying to install gem packages. I am missing the macOS_SDK_headers_for_macOS_10.14.pkg file from /Library/Developer/CommandLineTools/Packages/. I found the link to download the .pkg, but I need ...
1
vote
1answer
80 views

I want to download Xcode that I deleted again. But when I open App Store and search for Xcode the download button is grey

When I downloaded it before I did it through App Store but now that doesn't work because of that the button is grey. Have tried to download Xcode through developer.apple but there it says that I don't ...
1
vote
1answer
37 views

Mobile app development using Xcode. Single Graphics vs Dual Graphics?

I have decided to buy a pre-owned MacBook for mobile app development using Xcode, I have two options: MacBook Pro (13", Early 2015) Processor: 3.1 Ghz Intel Core i7, Integrated Graphics 16 GB RAM ...
-2
votes
1answer
292 views

How to run the “Build Phase” in Xcode as root

ALL, This post is spawned by this question In my Xcode I added the new Build Phase to copy .dylib files to /usr/local/lib. And then I tried to rebuiold the application by doing "Command + B". ...
1
vote
1answer
42 views

Installing a software from Xcode

I'm trying to develop a program using Xcode on macOS. The program compiles and links fine, but when trying to execute it, I get an error message stating that a library can't be found in "/usr/local/...
0
votes
0answers
276 views

XCode 11 Beta fails to start-up: “Required content for platform tv OS simulator is missing.Re-install Xcode”

Trying to make up more space to download XCode 11 (the .xip file won't expand because there "wasn't enough space"), I've deleted XCode 10 and foolishly followed this article by doing: sudo rm -rf /...
4
votes
1answer
23 views

macOS app review process: Touch Bar functionality in metadata

I have a macOS app that get bug fixed. But the latest Apple review process drives me a bit insane. They always tell me that my app's metadata indicates Touch Bar functionality which my app do not have....
3
votes
1answer
254 views

How do I install beta command line tools using softwareupdate -l on 10.14.5?

On a clean install of 10.14.5: Multiple reports of the beta version not working using a headless install: https://github.com/Homebrew/install/issues/206 This lead me to trying to manually do a ...
1
vote
0answers
478 views

Uninstall Xcode 11 beta 1 Command Line Tools accidentally installed in public release of macOS Mojave? [duplicate]

Yesterday I ran the system update and mistakenly installed Command Line Tools for Xcode 11 beta 1 in a system running macOS Mojave. This update is breaking some of my dev applications. I would like ...
3
votes
1answer
1k views

Command Line Tools beta 1 for Xcode 11.0 offered as an update in the current latest public release of macOS Mojave 10.14.5 [duplicate]

I am running the current latest public release of macOS Mojave 10.14.5 (18F132) with the current latest public release of Xcode 10.2.1 installed. When opening System Preferences app → Software Update,...
0
votes
1answer
128 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 ...
1
vote
2answers
424 views

Does running both (XCode & Android Studio) at the same time overload my MacBook Air with only 8 GB of Ram

This IDE is for the Automation Testing Purpose. Along with Appium Server, I need to run the Emulator of Xcode's iOS Emulator and the Android Studio's Emulator. Does this Run smoothly in the 8GB RAM ...
1
vote
1answer
481 views

Xcode 10.2 does not open after installation from Mac App Store

When I try to open Xcode 10.2 after installing it from Mac App Store, it doesn't open. After a while, a dialog box comes up with an error check with the developer to make sure Xcode works with this ...
0
votes
0answers
303 views

How to configure Xcode external build system to build and clean using standard short-cuts?

[Xcode 10.1, MacOS 10.14.1] I have a project that uses bmake (could be any make though) and the Makefile provides a number of targets. I would like to use Xcode to build host and clean the build ...
0
votes
0answers
17 views

Error archiving from Xcode project

I am unable to archive from an Xcode project. The build is failing with the following error: How do I resolve it?
0
votes
1answer
68 views

Running an app build with very old iOS SDK on a device running current iOS

I have 2 iOS devices, an iPhone 6s, and an iPhone 4. I'm currently using OS X Mavericks 10.9.0 and plan on using Xcode. The iPhone 6s is running iOS 12.2, and iPhone 4 is running iOS 7. My Xcode ...
1
vote
1answer
42 views

How to execute an equivalent function of Xcode's Instruments > “File Activity” in shell?

I need to be able to show and capture the same output that Xcode.app/Contents/Applications/Instruments.app captures while in Terminal.app (in the shell). Is there a dtrace function / script, or some ...
0
votes
1answer
40 views

WiFi accessory connectivity issue with iOS 12

I have a WiFi to Serial accessory that I'm using with an iOS app. I was able to use it properly until iOS 12. The app requires both Wifi (to collect data from the accessory) and Cellular (to send ...
1
vote
1answer
184 views

How to Install Clang specifically

While trying to run a MATLAB script, I am getting the following error: Compiling minFunc files... Building with 'Xcode with Clang'. Error using mex xcrun: error: invalid active developer path (/...
1
vote
1answer
128 views

dtruss not working on Mojave

Running dtruss on 10.14.4 (Xcode 10.2) gives me this: tmp$ sudo dtruss ./ls dtrace: failed to enable ' #pragma D option quiet ': Failed to enable probe CSCppMachTaskContainer pid_for_task failed ...
0
votes
0answers
30 views

Where are the device skins artworks for iOS Simulator stored in macOS?

The current version of iOS Simulator comes with some really nice artwork for the device skins. I want to use the artwork in client presentations. Does anyone know where they are stored in macOS? I've ...
0
votes
1answer
512 views

How to create an IPA file (non-payload folder method)

I'm trying to create an iOS IPA file using Xcode. I have archived it (Product → Archive) and it is visible under my archives (Window → Organiser), but Xcode says I can't Export it unless I have an ...
1
vote
1answer
2k views

Minimum required specs of a Mac for iOS App development

I'm planing to develop an app with React Native for Android and iOS. I need to buy a Mac to run Xcode for iOS app development. I do not have a high budget, which is why I would prefer to buy a (used) ...
1
vote
2answers
2k views

How can I download and install macOS 10.12 SDK?

I need to download the macOS 10.12 SDK to build and run ispwDownloader (because there were no built downloads). How can I download and install the SDK? Searching the Web has not been helpful with the ...
2
votes
3answers
166 views

Annoying prompt keeps popping up: 'The “cc” command requires the command line developer tools.'

After 4 years of use, I decided to reset my Mac, cleaning up years of garbage in some folders. Surprisingly I was able to recover 20 GB of free space (which is a lot on a 128 GB SSD). My workflow is ...
1
vote
2answers
1k views

Do I need a newer Mac if I want to continue to use Xcode with my iPhone?

Recently I updated my iPhone 6s to iOS 12.2. When I went to compile my app, Xcode told me it needed to be upgraded to deploy to device running iOS 12.2. When I went to upgrade Xcode, it told me my ...
4
votes
1answer
1k views

Broken Git installation on my Mac. How do I fix it?

I've had git running on my MacBook Pro (macOS High Sierra 10.13.6) for ages. I recently uninstalled Xcode because I never use it, but that seems to have broken Git and I can't figure out how to fix it....
1
vote
0answers
253 views

Xcode 10.2 Simulator?

After updating Xcode 8 to Xcode 10 the apps are not running in simulator. And I am getting this error.                 &...
1
vote
1answer
717 views

Problem updating/uninstalling Xcode

So I tried updating Xcode but after the update I still got the same version of it (so there was an update still available). I decided to uninstall it by throwing the app in the trash. The update ...
2
votes
3answers
3k views

How can I completely uninstall Xcode in macOS Mojave 10.14?

After upgrading to macOS Mojave 10.14, Xcode was no longer updating correctly and my build process was reporting that stdlib.h was missing. Thus, I attempted to uninstall it so I could reinstall it ...
1
vote
2answers
990 views

GitHub account unavailable on Xcode 10.2

I noticed a strange behaviour in my Xcode (v10.2, running on a 2016 MacBook Pro with macOS 10.14.4). I have most of my projects under source control with a local Git repository. I then create a remote ...
0
votes
1answer
61 views

Run USAF Digital Datcom

I want to run the software Digital Datcom in my Mac, which is a Macbook Pro with macOS Mojave 10.14. For this I had to download the program Xcode form the appstore, as well as the gfortran package ...
1
vote
2answers
4k views

How to upgrade Xcode 9 to Xcode 10.1 in mac OS Sierra 10.12.6 (16G1815)

I've an Early 2011 MacBook and I am not able to upgrade the operating system beyond macOS Sierra 10.12.6 (16G1815) on it. I am working with Xcode and in my current project I need to integrate Auto-...
4
votes
1answer
2k views

Software update wants to install Command Line Tools. Why? I have no Xcode installed

After the MacOS 10.14.4 Update, softwareupdate also shows me the following as a further update/ download: Command Line Tools (macOS Mojave version 10.14) for Xcode 10.2 Now if I need it, I am fine ...
6
votes
3answers
2k views

Compilation error with Mojave: error: ‘_Atomic’ does not name a type

After updating to Mojave 10.14.4 and Xcode 10.2, I fail to compile GCC 8.3.0. The error message is In file included from /usr/include/sys/sysctl.h:83, from ../../gcc-8.3.0/gcc/config/...
2
votes
2answers
462 views

Is it possible to uninstall Xcode, keep the CLI tools and have a working Homebrew installation running on macOS Mojave?

I am trying to claw back as much disk space as possible, and I have no use for Xcode aside from the fact it provides the Command Line Tools I need for using Homebrew. Can I: Remove Xcode (how to do ...
0
votes
0answers
142 views

xcode not responding upon launch os x mojave

For some reason, Xcode 10 on OS X Mojave stopped working and now freezes upon launch. I have no other information. I tried re-installing, deleting all the Xcode-related files, but without success. Re-...
0
votes
0answers
130 views

Multi User for macOS Server (Mojave)

I want to allow multiple users to be able to connect to my Mac to develop with Xcode. I’m new to macOS Server and wanted to find out what is needed to get it to work. My internet is with FiOS. ...
1
vote
0answers
134 views

Xcode developer account stopped building. Error in Provisioning profile

I have an Xcode developer account (a free one where I can create an app and test it on my iPhone). Not distribution one. I went to the "Capabilities" tab and turned on the "Keychain Sharing" and "...
1
vote
0answers
155 views

Xcode takes too much time to open a project

When I try to open a project in Xcode it takes too much time to open. Xcode stop responding and after a long time, it then opens. I’m running a MacBook Pro 2017 16gb, i7. I was facing this issue in ...
1
vote
0answers
179 views

How to invoke /usr/local/bin/g++-X instead of XcodeDefault.xctoolchain/usr/bin/c++

{MacOS 10.14.1 Mojave, Xcode 10.1} I'm working on building the POPF planner under MacOS and I'm stuck on a system library include problem that I'm not sure how to overcome. I have exported export ...
3
votes
1answer
212 views

Apple's 2FA and the notion of “trusted device” and “trusted browser”

I’m going to try to split off and expand some more readily “answerable” questions that were initially part of a different SE post (Apple's new 2FA requirement for developer Apple IDs) that was put ...
5
votes
1answer
1k views

Apple's new 2FA requirement for developer Apple IDs [closed]

According to various reports, Apple is imminently going to force developers to use 2FA with their Apple IDs, but it’s not easy to understand exactly how Apple’s implementation will work. Please don’t ...
0
votes
1answer
997 views

The operation can't be completed because the item is in use …

im using Macos Mojave, and some of my Xcode files were locked i guess by the system. So i trashed them and now im not able to clean the Trash. Im getting annoying error The operation can't be ...