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
0
votes
0answers
9 views

clang: error: unsupported option '-fopenmp'. Change default compiler? [migrated]

I am on a Mac (Mojave) but I am not a Mac user. I am doing this mostly blindly, since I do not have the basis of make commands, compilers, xcode, and so on. I need to run a make command (actually ...
0
votes
1answer
27 views

Problem in installing Xcode on MacBook Air 2017 with macos Mojave version 10.14.5

I am trying to download Xcode from the mac app store but it fails again and again. I am using my mobile hotspot for internet. It has a daily data limit of 2.5 GB but Xcode is of 6.1 GB. Once I put ...
0
votes
0answers
11 views

Is is possible to use Xcode's touchbar without Xcode?

Xcode (or at least Xcode 9.2) has a virtual touchbar that you can launch by pressing Command+Shift+5. This virtual touchbar works on all applications that support it, and is always on top (of every ...
0
votes
0answers
21 views

XCode Today Notification Center template missing [closed]

I am trying to make a widget for the Today view in Notification Center. The Apple documentation https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Today.html ...
3
votes
2answers
38 views

stdlib.h file not found and macOS SDK package installer also not found

I have macOS High Sierra 10.13.6 (For various reason I will not update) and Xcode 10.1 installed alongside command-line-tools. I am trying to compile a certain software that is attempting to open the ...
1
vote
2answers
49 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. ...
1
vote
1answer
25 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
21 views

iOS Newsstand app background mode

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
81 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
0answers
4 views

Semantic Segmentation Mattes not working in Apple's AVCam sample project [migrated]

I am trying out the Semantic Segmentation Mattes in Apple's AVCam sample project with iOS 13 public beta 2 (17A5508m) and Xcode 11 beta (11M336w). After compiling, the camera app runs smoothly on my ...
0
votes
1answer
47 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
49 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
95 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
21 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 ...
0
votes
0answers
55 views

Code Signing Error: Xcode couldn't find any provisioning profiles matching

I am trying to Archive a React Native application but the process continues to fail with the following error: Code Signing Error: No profile for team 'ABC123' matching 'ENGA - PROD - Dist' found: ...
1
vote
1answer
27 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
76 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
36 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
111 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
18 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
139 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
43 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
427 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
0answers
17 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
124 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
189 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
70 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
15 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
40 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
30 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
36 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
58 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
71 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
17 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
171 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
467 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
946 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
123 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 ...
0
votes
2answers
527 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
767 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
136 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
325 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
1k 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
558 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
45 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
2k 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
244 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
125 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-...