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
35 views

“A newer Command Line Tools release is available” but no updates in System Preferences or AppStore [duplicate]

When I upgrade a package, homebrew prompts this: ==> Upgrading mysql@5.7 Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or https://...
1
vote
0answers
23 views

Apple Watch development Freeze on Running Xcode

I face a problem with Xcode and Apple Watch development. I create a simple app in Xcode, and everything works flawlessly in the simulator. When I try to build the app on my Apple Watch to check the ...
0
votes
0answers
17 views

Xcode: Build Fail [closed]

ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Please help me,I got stuck. thanks
1
vote
0answers
32 views

Can not run Xcode 10.1 on High Sierra 10.13.6 [duplicate]

MacBook Air 11' mid-2011. When opening Xcode from Terminal, I get this: Kukoda-MacBook-Air:~ kukodajanos$ sudo open /Applications/Xcode.app Password: LSOpenURLsWithRole() failed with error -10810 ...
9
votes
2answers
1k views

How do I install Xcode if I'm getting this message “Xcode can’t be installed on “Mac HD” because macOS version 10.14.4”?

So I'm programming on a MacBook from mid-2010, and I have the most recent update (10.13.6) but when I try to install Xcode it says I need to update again, but it's not listed as an update in the ...
0
votes
0answers
44 views

28 Core Mac Pro Build times slow

Extremely slow build times on my new Mac Pro 28 core. I notice 2 symptoms. High System CPU usage (80% versus 20% user) and overall the system CPU usage doesn't seem to often get higher them 30%. ...
0
votes
1answer
44 views

How to view Failing Authentication Logs for a specific iOS Application

How do I view specific logs for a specific iOS Application? It is not a native iOS Application. It is an iOS Application installed from an MDM solution. It is an iOS Application that allow the user ...
0
votes
0answers
35 views

User cannot install the fully compatible app on older versions of iOS

I have an app in the App Store. It works fine when trying to install the app on an iOS device with iOS 13 / 12, but when trying to install it on any iOS prior to that, installation fails with the ...
1
vote
1answer
94 views

Xcode Build Error: No account for team “S23Q9DM44M”

Xcode builds a barcode reader app without error for the simulator, however, the build for an iPhone XR returns errors: ERROR MESSAGE No account for team "S23Q9DM44M". Add a new account in the ...
1
vote
1answer
52 views

How to disable Documents folder protection?

I'm working on a C++ program in Xcode, which opens some files in the project folder, which is in ~/Documents/Xcode Projects. Because it's in my Documents folder, every time I run the program, it asks ...
0
votes
1answer
71 views

How to delete Command Line Tools while keeping Xcode? [duplicate]

I recently purchased a new Mac and I am currently in the process of setting it up as a development machine. Before installing Xcode I went ahead and installed: Sublime Text Sublime Merge While ...
0
votes
0answers
74 views

Accessibility Inspector not working on Xcode 11.x, iOS 13.x on MacOS Catalina & Mojave

I am unable to inspect any elements using the Accessibility Inspector on iOS 13.2 and higher simulators running on Mac OS Mojave or Catalina. Has anyone else also encountered this issue and if so, is ...
0
votes
0answers
68 views

How to add/link a folder directly to /

An Xcode project I'm working on requires it to be copied to root and then run from there for it to work and the problem is that I'm running Catalina which protects the root directory. I tried to ...
1
vote
1answer
51 views

How to add a timer between wget html downloads?

I found this very useful script that does the job for what I'm looking to achieve. It's been taken from this post: Batch download URLs from a .txt file To use the following method, you will need ...
1
vote
1answer
38 views

No window or view controller in Xcode 11.2.1

I am new to macOS programming, I have Xcode 11.2.1 and Catalina OS. What is strange is I look at tutorials online and they all have Window and view controller in main storyboard, I only have menu ...
1
vote
1answer
95 views

Mac swift process blocks system, high memory pressure

Recently, since XCode 11, my Mac starts a process (it seems like it does so when indexing or building files) called swift and my Mac soon starts to lag. This process gathers a lot of memory (sometimes ...
0
votes
1answer
40 views

Tools, languages, libraries and API's for development of a MacOS wide application [closed]

Please just assume that the user has accepted whatever permission are required. Is it possible to listen to window actions under MacOS? In Swift preferably? For instance, if a window moves, is ...
0
votes
1answer
125 views

Xcode simulator constantly download something

Xcode 11.2.1 simulator 13.2.2 constantly download something daily about 450 MB through nsurlsessiond. Is this usual? this is launch_sim log cwd / txt /Applications/Xcode.app/Contents/Developer/...
3
votes
1answer
37 views

VoiceOver not reading '-' in Xcode

VoiceOver interprets a hyphen as a brief pause. That makes sense for hyphenated words, but it makes no sense for sums or for code. For example in Xcode this line numberOfGuesses -= 1 is rendered as "...
1
vote
1answer
43 views

macOS Catalina software updates issue

During parallel downloading Xcode and installing homebrew, I stopped installing Command Line Tools for Xcode. Now I can see in Software Update two items related to that. With different versions. After ...
1
vote
1answer
77 views

Verifying Xcode is installed on High-Sierra

I am having pip3 difficulty installing hidapi: a question was asked if Xcode is installed. To verify Xcode Installation instructions provide two commands for verifying Xcode command tools: My ...
0
votes
0answers
23 views

clang doesn't can't find STL but gcc can

I wrote a simple C++ program. #include <vector> int main(void) { return 0; } When I try to compile with clang, I get this : $ clang truc.c truc.c:1:10: fatal error: 'vector' ...
1
vote
0answers
42 views

astrolog make from source results in 'X11/Xlib.h' file not found

OS: High Sierra 10.13.6 Software: astrolog ast65src$ make c++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o astrolog.o astrolog.cpp In file included from astrolog.cpp:50: ./astrolog.h:304:...
0
votes
1answer
102 views

Delete file in PKInstallSandboxManager folder

I scanned my Mac SSD with DaisyDisk. And in this folder -/Library/InstallerSandboxes/.PKInstallSandboxManager I found this file - 13C0DF80-42F3-4228-B301-C0913855E2FA.activeSandbox with 8GB size. I ...
0
votes
0answers
40 views

Error when I run open -a Simulator on latest Xcode on Mojave

I'm on Mojave and updated my Xcode only. Now when I run open -a Simulator in the terminal I get : LSOpenURLsWithRole() failed for the application /Applications/Xcode.app/Contents/Developer/...
0
votes
0answers
18 views

Xcode 11.3 beta asks for password [duplicate]

I just downloaded the Xcode beta 11.3, but it asks me for a password that I do not have. There is no "Forgot Password" functionality. I do not know how to proceed to open the application.
2
votes
0answers
34 views

Strange linker error xcode 11.2.1

below I give a strange linker error that I am receiving with Xcode 11.2.1 on macOS 10.15.1. Any thoughts on the error? Some similar errors reported online suggests this is a problem that can be ...
0
votes
0answers
86 views

brew upgrade: A full installation of Xcode.app 9.0 is required to compile this software. Why?

I did a brew upgrade ==> Upgrading 4 outdated packages: mysql-client 5.7.28 -> 8.0.18 rclone 1.50.1 -> 1.50.2 unbound 1.9.4 -> 1.9.5 imagemagick 7.0.9-4 -> 7.0.9-5 mysql-client: A full ...
1
vote
0answers
15 views

iOS Simulator is unable to boot up on my new Movaje MacBook Pro

I have a brand new MacBook Pro. I have Xcode 11.x installed. I have react-native-cli installed. why doesn't it want to obey me with react-native run-ios? --verbose is not giving me anything ...
1
vote
1answer
23 views

Navigating between the different areas in Xcode with a keyboard

I’m looking to use VoiceOver with Xcode. Using just the keyboard (and with VoiceOver running) how do I switch focus between Xcode's main editing area, the project navigator, the issues navigator, ...
2
votes
0answers
24 views

How to make Xcode work with VoiceOver?

I have tried Swift Playgrounds on iPad but that is useless as you never know where your character is. I am trying to develop my first app in Xcode. I use Swift 3. How do you make Xcode Swift ...
4
votes
0answers
21 views

Obtaining Crash Reports

I have an app in the App store. A user has told me that she submitted a crash report but the Crashes tab in Xcode is empty. As a paid developer, how do I access this performance / crash data?
0
votes
0answers
8 views

Is there a way to manually restart the syntax color highlighter and autocompletion engine?

Quite often, Xcode (11.1) seems to stop highlighting and autocomplete my source code, no matter the language, it is an issue I find myself a lot. I understand that this is a common issue but I would ...
1
vote
0answers
28 views

Installation XCode is not recognized by installer

I'm trying to install the Free Pascal Compiler for Intel 3.0.5 Althouth XCode and Xcode its command line tools are already installed (which I already use and which was already recognized by some ...
8
votes
1answer
5k views

Why is Xcode 11.2.1 not appearing in the App Store updates tab? [duplicate]

I use OS X and have Xcode 11.2. I tried to push an app to TestFlight and got a warning that I needed to upgrade to Xcode 11.2.1. Every time that I've upgraded Xcode in the past, I went to the Updates ...
1
vote
1answer
66 views

com.apple.xyz.plist - replace value - not set key - possbile?

I've looked into using PlistBuddy and plutil but most examples such as: How do I replace a value in an plist array using plutil? seem to suggest setting the value of a key, which is not the case ...
3
votes
2answers
48 views

Is it safe to close the lid while an app (Xcode) is updating - during “installing” phase?

I have an early 2014 MacBook Air running Catalina (10.15 - 19A602). Updating Xcode always takes an inordinate amount of time, and it's usually the "installing" phase (looking at Launchpad) that takes ...
1
vote
0answers
21 views

How to configure Xcode to fetch swift dependencies over ssh using a private key which is stored on a Yubikey ( HSM , gpg --card-status )

Problem currently is that I find no way to simply configure or instruct Xcode to check out source code or dependencies over git+ssh using ssh agent. Does Xcode at all supports using the ssh-agent? ...
2
votes
1answer
35 views

Install third-party software on iPad Simulator in Xcode?

Is it possible to install third-party software on iPad simulator in Xcode? Looking into installing adblock plus to do some testing without actually having a physical iPad. Is this possible?
1
vote
0answers
42 views

How to disable blur in autocomplete in Xcode 11?

Since Xcode 11.0 autocomplete suggestions have blurry font sometimes: Don't know whether it's a bug or a feature but my eyes suffer because of it.
0
votes
1answer
36 views

Xcode 11 jumps to every desktop in Mac Os Catalina

I recently updated my macOS Catalina (10.15) and also updated my Xcode to version 11.1 and I'm having issue with the window. Suppose I switch from Desktop-1 to Desktop-2, the Xcode also automatically ...
1
vote
0answers
35 views

Xcode command line tools install failing due to network error

After upgrading macOS one has to re-install the command line tools for Xcode. But when I try I get the license agreement and hit "Agree" and then I get a popup saying that "install failed because of a ...
0
votes
0answers
27 views

How do I get dSYM files for iTunes for Instruments analysis?

I'm helping a friend investigate poor iTunes performance and asked him to gather an Instruments profile. It captures iTunes using ~100% of CPU but symbols are missing for iTunes. How do I download ...
1
vote
0answers
51 views

Does the notarization requirement for macOS Catalina require a Developer Account for local software builds?

In January 2020 (date may have changed; correct me if I am wrong), notarization requirements will activate for Mojave and Catalina. This will affect every application not released on the App Store. ...
0
votes
0answers
45 views

Unable to install Xcode

On the App Store, I searched for Xcode and clicked on 'Get' >> 'Install' then a pop up comes for me to login to my Apple iD. When I do so, I click on 'Get' again and on 'Install' again and then the ...
1
vote
0answers
115 views

Xcode update 11.1 stuck on MacOS Catalina [duplicate]

I’ve been trying to update Xcode and it seems to be stuck after the download. After sitting and waiting for a while, it seems to have restarted the entire process of downloading and updating again. I’...
1
vote
0answers
23 views

Mac App Store Automatically Cancels Downloading Xcode

When I try to download Xcode from the MAS, the download automatically stops after several minutes. It's not because of internet problems because the internet was working fine at the same time as the ...
1
vote
0answers
84 views

Xcode 11 hangs during Archive on CocoaPods task

After updating Xcode, when archiving my iOS app, it hangs on a specific CocoaPods task (GEOSwift). Archiving just continues for an indeterminate time (I can let it work for hours without results). ...
14
votes
2answers
7k views

Cannot Upgrade Xcode 11 to Xcode 11.1

I'm unable to upgrade Xcode 11GM to 11.1 for some time on my Mid 2014 MacBook Pro running macOS Catalina. I've installed Xcode from Mac AppStore ages ago (IIRC circa 2014), and upgraded step by step ...
1
vote
0answers
344 views

Compiling GCC on Catalina

I am trying to compile GCC9 on macOS Catalina. The closest tutorial I've found is this one. The tutorial states: In order to build GCC install the required header files in the old location: 1 cd /...