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
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
79 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
48 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
41 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
237 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
162 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
34 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
651 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 ...
2
votes
2answers
3k 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
3k 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
198 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
2k 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
256 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
924 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
5k 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
3answers
1k 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
81 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/...
3
votes
2answers
652 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
147 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
136 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
161 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
210 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
256 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
2k 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
1k 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 ...
2
votes
2answers
53 views

How does installing XCode, Visual Studio and Unity on my mac impact my computer's speed?

Most of the time I use my mac computer for graphics design but I enjoy coding too. Since clean-installing macOS a few months ago, I avoided installing XCode, Unity and Visual Studio for fear that with ...
0
votes
0answers
20 views

Apple OS for vm (xcode required) [duplicate]

I have coded a app for ios (https://github.com/kegcoin-project/kegcoin-ios) and wish to compile it however I do not have a mac/ cannot afford one and the app requires XCode to compile, where can I ...
0
votes
1answer
26 views

How to change my own apple id, so I can upgrade xcode

I am using company's computer. When I tried to upgrade xcode, it pops up someone else's account. Can I change it to my email address (apple id), so I can upgrade xcode. I heard that I need to ...
1
vote
1answer
3k views

How can I specify the C++ version to use with Xcode?

On the command line I can use clang -std=c++98 -pedantic-errors which will prevent me from using features of newer C++ versions. How can I achieve the same thing with Xcode? EDIT: Example code #...
1
vote
1answer
4k views

Xcode will not open the Main.storyboard file

I had been running Xcode to learn to develop ios Apps. All was working fine but Xcode kept freezing and I'd half to force quit. It was suggested I reintall Xcode. I did that and it seemed to reinstall ...
0
votes
1answer
226 views

Xcode won't let me use simulator [closed]

Xcode is not letting me use simulator to build apps. I tried deleting and re-downloading and still has same problem: Failed with Exit Code 1. I just started a bootcamp for iOS 12 and Swift a couple ...
1
vote
1answer
778 views

How smoothly does Xcode 10.1 run on 2017 MacBook Pro base model (8 GB RAM/128 GB SSD)? [closed]

I am planning to buy a 2017 MacBook Pro base model (8 GB RAM/128 GB SSD) for iOS app development and I am on a budget. I would appreciate if I get answer to the following questions before I decide to ...
0
votes
1answer
22 views

Why when I make a change to a project on xcode the previous project is affected? [closed]

I recognize that I'm new in using Xcode but I noticed A very strange behavior from XCODE, when I clone a project and I make changes in the Localizable.strings. these changes are automatically ...
0
votes
1answer
418 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
109 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 ...
0
votes
1answer
394 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
1answer
86 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
166 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
1k 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 ...
4
votes
1answer
5k 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
304 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
45 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
88 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
1answer
1k 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 ...
15
votes
8answers
28k 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,"...