Stack Exchange Network

Stack Exchange network consists of 175 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
27 views

Is there a method to force rebuild all packages in MacPorts? [on hold]

If something changes (base OS dependency) or I want to rebuild all of my MacPorts with a new compiler, as in the case of an upgrade or install of xCode, how would I go about doing it?
0
votes
0answers
31 views

problem with upload an update of an application on the appstore made with xcode 8.3.3 [on hold]

I am currently working on an application for IOS made on xcode version 8.3.3 and swift 3 on a VM of mac Sierra and i can't update my app on the appstore because of sdk but can't have choose the ...
0
votes
0answers
10 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
13 views

log-sessions logs not deleting

I have a lot of a log-sessions logs and iTunes is unable to delete them during the sync, as long as Xcode can't (through device browse function). Is there any way to get rid of them?
0
votes
0answers
16 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. ...
0
votes
0answers
8 views

Trying to Build JOCircularSlider, Simulator won't attach and Launch [closed]

Trying to build this Example. https://tryexcept.com/articles/cocoapod/jocircularslider Which I also have put in Github at https://github.com/ShanghaiTimes/JOCircularSlider Everything appears to be ...
-1
votes
0answers
7 views

SpriteKit width for iPhone X seems off [closed]

My code works the same for all devices, from iPhone 5 to 8, iPad, iPad Pro, etc. but for iPhone X it's a bit off to the sides (not a safe area thing). Any tips on how I can account for that?
2
votes
0answers
86 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
14 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
27 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
57 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
860 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
115 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
32 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
17 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
22 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
75 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
87 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
65 views

Xcode won't let me use simulator

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

Xcode 10 scrolling on it's own?

So basically when I return or when I type in the text editor portion of xcode, it scrolls. Check this out for an example: https://streamable.com/1pdor This is my first time ever using Xcode and I'm ...
1
vote
1answer
67 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
14 views

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

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
245 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
54 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 ...
-1
votes
0answers
25 views

click debug memory graph button using apple script failed to get the button

this is the button in accessibility inspector: this is my code tell application "System Events" tell process "Xcode" activate click button "Debug Memory Graph" of group 2 of ...
0
votes
1answer
31 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
0answers
21 views

How do install a deprecated SDK so xcode can use it as a build target?

My development machine is hardware limited to El Capitan. 10.11.6 is plisted as my minimum target however it is not available in the build settings panel. I downloaded the macOSX10.11SDK to my Library>...
0
votes
1answer
29 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
40 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
105 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 ...
2
votes
1answer
694 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
31 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
33 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
42 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
0answers
209 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 ...
11
votes
8answers
10k 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,"...
0
votes
1answer
47 views

I disabled SIP and removed System Python. Now Xcode won't let me export apps

I was pissed about having 20 different versions of Python on my Mac, so in an effort to clean it up I deleted every single instance of it. I disabled SIP and cleared out the system default one. I ...
0
votes
1answer
44 views

Xcode delete subword/word forward/backword eating empty space

This is really weird behaviour. Any editor I use treats empty space as a word and does not skip it. By empty space I mean newlines, tabs, spaces, etc. Now what was for me always just a press of one ...
-4
votes
1answer
45 views

How to get xcode simulator working after moving Library/Developer to an external harddrive

How do I get device simulator working in xcode after moving the Library/Developer file to an external hard drive and symlinking it. Yes, I've already symlinked the files from Developer.
3
votes
1answer
42 views

Upgrading OSX/Xcode - linking failure

ALL, I started my project on OSX 10.8 with the Xcode 5.1 (latest available for that OSX). Everything was building and running fine and it still is. The project consist of a binary executable and ...
0
votes
1answer
71 views

Xcode completion menu not completing on enter, I have to use mouse/touchpad cursor and click there…

Xcode completion menu not completing on enter, I have to use mouse/touchpad cursor and click there, so its quite annoying. How can I just autocomplete by keyboard ? Is this some miss-configuration of ...
0
votes
0answers
97 views

Are tabs broken in macOS Mojave?

Let's say you have two tabs in a Terminal window. One of the things with the bug is, if I tap on the left tab, it opens the right one. If I tap on the right tab, it opens the left tab. Same problem ...
6
votes
2answers
244 views

Xcode saying Network Extension capability is not enabled when it is

I have been having a lot of issues for the last two weeks trying to sign and distribute a 3rd party MacOS app. I am unable to sign an app with Xcode properly because Xcode is saying that I do not have ...
2
votes
0answers
23 views

iOS - fully automate testing process with backups - is it possible?

The Story: We have hundreds of devices running UI and unit tests. The tests are written using XCTest framework, and run on our applications, as well as system (Safari/Settings) and third party ones. ...
6
votes
1answer
159 views

Is there a list of pre-installed command-line tools for macOS?

I'm currently in the process of developing some shell scripts but have run into a problem: whilst I am able to execute numerous commands on my Mac, when I try to run it on other people's computers I ...
1
vote
0answers
534 views

Suddenly the “diagnosticd” daemon rise up to over 200% CPU usage

Suddenly the diagnosticd daemon rise up to over 200% CPU usage, even with Xcode is not running, on OS X Mojave 10.14.1 I can't figure out it. The fans become very noisy.
1
vote
0answers
13 views

Why Xcode is downloading from the beginning ,if downloading gets failed? [duplicate]

I have an Question that just want to clarify that Xcode is downloading from the beginning if the downloading gets failed. I am trying to download Xcode 10.1. It gets downloaded 75% if their must be an ...
1
vote
0answers
47 views

How to disable all system dialogs, popups, for automated UI testing

I maintain a large pool of mac os machines for use in clustered UI testing of a mac OS app. One thing that constantly brings us pain is that Mac os has a seemingly limitless number of popups and ...
2
votes
1answer
3k views

Mac OS Mojave 10.14.1 Trying to Install Old Command Line Tools

I've just installed Mac OS Mojave 10.14.1 and the latest XCode. ➜ ~ sw_vers ProductName: Mac OS X ProductVersion: 10.14.1 BuildVersion: 18B75 I was just running updates and noticed one of ...
0
votes
1answer
488 views

Xcode 10 Broke Autocomplete When Inserting Include Names for C++, Any Workarounds?

I no longer get any autocompletion results when I begin to type a standard header file name in the include statements: #include <> Normally, typing in a name such as vector or string would ...