Skip to main content

Questions tagged [xcode]

WARNING: Almost all questions about development or app distribution are off topic here. See the Help Center for details. Xcode is Apple's official software development environment for Mac OS X and iOS

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Deleting multiple keychains from Keychain Access

On macOS 10.14.6 Xcode 11.3.1 has been busy creating keychains (and keys, and certificates) in an endless loop while trying to "Automatically Manage Signing". It creates keys in new ...
Andreas's user avatar
  • 2,125
1 vote
1 answer
20 views

Corrupt Storyboard rendering in Xcode 15 on OCLP Ventura and Sonoma on Kepler graphics (MBP mid 2014)

I have Xcode 15 installed in Sonoma on a mid 2014 MBP 15" (not officially supported hardware — uses OCLP). There is a big issue with rendering Storyboards, which corrupts not just the rendering ...
Andreas's user avatar
  • 2,125
0 votes
0 answers
5 views

Keyboard is getting dismissed after typing one character in the search bar [migrated]

First I enter some text in the search bar controller, it works fine. Next I delete the text and retype the same text or different text. In this case the keyboard is getting dismissed immediately after ...
Nandini's user avatar
0 votes
0 answers
51 views

Command CodeSign failed with a nonzero exit code

I want to build my Mac app but I cannot because it says "Command CodeSign failed with a nonzero exit code" tho at first building actually worked It says in the logs: CodeSign /Users/...
Joel Emiliano's user avatar
0 votes
0 answers
16 views

Xcode keeps asking to install actools for building app, tho I already installed it

So I want to test my macOS app so I build it and run it, but asks me to install actool, so I installed it but when I build my app it fails because it was not able to find the tool, and I installed it ...
Joel Emiliano's user avatar
1 vote
1 answer
27 views

How to reset Xcode playground examples

I have downloaded "A Swift Tour" playground for Xcode: https://web.archive.org/web/20230204091803/https://docs.swift.org/swift-book/GuidedTour/GuidedTour.playground.zip There, you can ...
user avatar
3 votes
2 answers
1k views

Does Apple software rely on the Python included in Xcode Command Line Tools?

When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering what depends upon this specific command line tool. Is it a dependency for any Apple software?
Daniel Kehoe's user avatar
0 votes
1 answer
90 views

can one upgrade the git client that come with xcode

I am looking at how to upgrade my git client that comes with xcode command line tools in the light of the recent vulnerability announcement.
Russell Fulton's user avatar
0 votes
1 answer
110 views

Unable to upgrade Cmake from 3.29.0 with Homebrew

I'm on macOS 10.14.6 Mojave and Xcode CLITools is in version 11.3.1.0.1.1576735732. Theese can't be updated. I have CMake installed with Homebrew under my home directory: $ which cmake /Users/vjorma/....
rapsik's user avatar
  • 9
0 votes
1 answer
58 views

Can macOS be made to forget a file type?

A long time ago I made a simple CoreData, document-based app and used Xcode to make a file type/extension to go along with it. Now, I'm following the WWDC videos from last year to try to update to ...
LighteningKid's user avatar
2 votes
0 answers
51 views

Viewing attachments in Xcode 15.3 with test plans

Using Xcode 15.3 when running a UITest, I take a screenshot let screenshot = XCUIScreen.main.screenshot() let attachment = XCTAttachment(screenshot: screenshot) attachment.lifetime = .keepAlways ...
Obromios's user avatar
  • 530
0 votes
1 answer
70 views

Hidden Xcode folders on macOS 14.4.1

Mac Mini M1 2TB 16GB macOS 14.4.1 Xcode 15.3 I've noticed that in my /Applications folder, I have a number of hidden items. These are: As you can see, they are taking up a fair chunk of my disk ...
carlcaulkett's user avatar
0 votes
0 answers
73 views

Is there a way to build an IPA from Xcode without a paid developers account?

I want to add my apps to my own AltStore and to do that I need to compile them into a .ipa file. Is there a way to do so without a paid Apple Developer Membership account? The only resources I could ...
roydbt's user avatar
  • 13
0 votes
0 answers
16 views

MacOS XCode Catch22 [duplicate]

I have a iMac (Retina 4K, 21.5-inch, 2017) which was running Ventura 13.5.1 I replaced with a Mac mini Apple M2 in Feb 2023 and the iMac is now only used occasionally (it is much slower and ...
Milliways's user avatar
  • 8,052
0 votes
1 answer
35 views

Lost garage band files can I build my project on Xcode?

So it’s been a year since my computer crashed and corrupted my hard drive. I lost most of my audio files on GarageBand. I have one project I really want back and in the file it has 2 audio tracks ...
Ace Uno's user avatar
0 votes
0 answers
37 views

Xfinity app for iOS, odd info listed for "app version"

My Xfinity app has been problematic for over a year with multiple errors when trying to change my password, view customer info like data usage or call history, and paying my bill. The specific errors ...
dkh's user avatar
  • 1
1 vote
1 answer
55 views

How can I extend the Certificate Expiration length for Personal Apps?

I'm a small, independent developer, and like many of you, I sometimes build apps primarily for my own use. One major pain point I've run into repeatedly is the expiration of Apple's development ...
John's user avatar
  • 565
1 vote
1 answer
616 views

Xcode 15.3 is unable to resolve package versioning

After being upgraded to version 15.3 of Xcode during an upgrade to OSX 14.4, I am no longer able to build my iOS app. I see the build error; Failed to resolve dependencies Dependencies could not be ...
Obromios's user avatar
  • 530
1 vote
2 answers
294 views

Problems with Python on macos Ventura

So I updated my mac a while ago to ventura 13.3.1 and ever since it messed up my python path, I can't use Pycharm (it can't locate a valid interpreter path), and I can't use pip as well. When I try to ...
ClovisIRex's user avatar
0 votes
0 answers
24 views

How to run an XCode iOS app on device via Automatic Signing?

I'm trying to test a Swift example project on an iOS (17.2.1) de device via XCode (15.2). I haven't used XCode in about a decade. I remember there was a way to generate a self-signed certificate to ...
George Profenza's user avatar
2 votes
1 answer
52 views

Circumvent the build process without AppleTeam ID, TeamID and so on

TL;DR; How to compile non-apple products without involving Apple Inc. How do you circumvent this stuff in/for/with XCode for project like Wireguard and compile like normal programmers? I downloaded ...
splinux's user avatar
  • 123
0 votes
0 answers
57 views

opendiff not getting launched after `git mergetool`

When I try to do a git mergetool (after getting a merge conflict), I get that the merge.tool is not configured..., and Hit return to start merge resolution tool (opendiff): After pressing return, I ...
Atom's user avatar
  • 133
2 votes
1 answer
134 views

How to develop and test a macOS app that supports multiple versions of macOS using one MacBook Pro?

I am an iOS/macOS app developer. I have an app that supports macOS 12/13/14. I have a new (November 2023) M3 MacBook Pro running macOS 14.3.1. I have a need to also run macOS 12 and macOS 13 on this ...
HangarRash's user avatar
0 votes
0 answers
21 views

macOS project’s fonts are not scaling

Issue: I’m creating a macOS app in Xcode and the fonts will not scale up and down. I have tried the target’s Mac, Mac Catalyst, and Mac (Designed for iPad). Neither of these targets will work. Steps ...
HEMANT KUMAR's user avatar
0 votes
0 answers
24 views

Any cheap way to build Swift iOS without using VMs?

I need a way to build code that I do at home for a school project, at school we have macbook PROs so it's not a problem here, however it means I cannot keep working when I'm at home and that's not ...
Akariiinnn's user avatar
2 votes
1 answer
229 views

Developing a new app: Is there a way to share the app with my remote Client so he can beta test the app on his iphone?

I'm developing a simple iPhone app (using Xcode & SwiftUI) for a Client who is in another state (here in the US). I have a valid up-to-date developer account. I'd like to release the app to his ...
raddevus's user avatar
  • 163
0 votes
2 answers
3k views

How install command-line tools for Xcode 15.2

I just installed Xcode 15.2 (under Sonoma 14.2.1). Does that include the corresponding command-line tools? If not, how do I install them? (If I execute "xcode-select --install" I get ...
murray's user avatar
  • 165
1 vote
1 answer
46 views

Build Apple Silicon Apps on Macbook Pro 2015

I have an old Macbook Pro 2015 (15" 16GB 512GB) and want to build macOS native desktop apps that also run on apple silicon. Since I cannot run the latest macOS version and thus also Xcode version,...
uloco's user avatar
  • 1,005
0 votes
0 answers
18 views

Supported platforms by PGO in Xcode

What target platforms are supported for PGO optimization? macOS, iOS, tvOS - what exactly? I didn't find this information in the Xcode documentation about PGO. We evaluate using PGO for all our ...
zamazan4ik's user avatar
0 votes
0 answers
20 views

Reuse existing iOS simulators in updated Xcode 15.0.1

I updated to Xcode v15.0.1 and now its downloading the simulators again. Is there any way to reuse the existing simulators that were downloaded in Xcode v15? Edit: I still have Xcode 15 in my macbook ...
Abdullah Umer's user avatar
0 votes
0 answers
58 views

Profile-Guided Optimization (PGO) kinds in Xcode

After reading the Xcode PGO documentation it's unclear what PGO way it uses. Is it FrontEnd PGO (-fprofile-instr-generate in Clang), IR PGO (-fprofile-generate), CSIR PGO (-fcs-profile-generate) or ...
zamazan4ik's user avatar
0 votes
0 answers
66 views

Sampling Profile-Guided Optimization (PGO) with Xcode and Clang

Is there a way to do sampling PGO (https://clang.llvm.org/docs/UsersManual.html#using-sampling-profilers) on Apple platforms? Official Clang implementation expects Linux perf profiles. macOS and iOS ...
zamazan4ik's user avatar
0 votes
0 answers
118 views

Integrate FileMerge.app into Finder using the Automator application to create a service

I was trying to adapt the accepted answer to this question. How to integrate FileMerge.app into Finder? I'm on a mac with macOS Sonoma version 14.1.1. Unfortunately I get the following error message. ...
Eritrean's user avatar
  • 101
1 vote
1 answer
197 views

g++ fails after 13.4 -> 13.6.1 update

I updated from 13.4 to 13.6.1 and reinstalled Xcode. I have installed gcc (which I believe includes g++) using Homebrew, and have made sure my Homebrew installation is up to date. When I g++ foo.cpp, ...
rogerl's user avatar
  • 191
5 votes
2 answers
2k views

Sandbox: Python deny(1) file-read-data

In my XCode project, I have a Python script I'm running as one of my build phases. However, it's failing to open a file with the error: Sandbox: Python(22805) deny(1) file-read-data <file_name> ...
Daniel Walker's user avatar
2 votes
1 answer
162 views

Can't disable Macbook Pro M1 Trackpad Force click by editing .GlobalPreferences.plist

I'm learning how to make a dotfiles backup/restore system for my Macbook Pro M1 (on Monterey 12.7). I was trying to run some: defaults write commands to see how it will affect the OS. Some of the ...
m1do's user avatar
  • 31
1 vote
1 answer
61 views

Qt on MacOS not finding correct (?) LLDB

I have resurrected a C++ project I was working on a few years ago in Qt (MacOS), and can no longer get debugging to work. The problem seems to be that it is trying to use the wrong (old?) version of ...
David Brown's user avatar
1 vote
0 answers
382 views

Unsupported MacBook for iOS 17 Development

I have a mid-2014 MacBook Pro running macOS Big Sur. My Xcode is 13.2.1. The latest version of Xcode is no longer supported on my machine, but I've been able to download the latest Device Support ...
Adrián Varga's user avatar
1 vote
1 answer
268 views

Xcode command line tools uninstall not working

I am trying to uninstall Xcode command line tools and I used the command: sudo rm -rf /Library/Developer/CommandLineTools to delete the folder but when I use the command: xcode-select -p it still ...
speedyfastboi's user avatar
1 vote
0 answers
148 views

XCode and Simulator suddenly crashed and froze my Macbook

I am using a MacBook Pro 13-inch 2020 (i5, 8GB RAM, 256GB SSD) and using Xcode and Simulator to build my first app. However, when I run the Simulator, my MacBook freezes, and I can't do anything other ...
nham's user avatar
  • 11
0 votes
0 answers
22 views

FileMerge utility (part of Xcode) Help reports "Help Viewer cannot open this content"

I'm new to using Xcode and just discovered that it includes a utility, FileMerge, to visually compare two folders, or in the case of Xcode, two project. But the FileMerge Help seems to be broken. When ...
August's user avatar
  • 505
2 votes
1 answer
409 views

Can I do a binary build that works for M1 / M2 even if I have an older (non-M1) Mac Book Pro?

I distribute a software for Windows and Mac (with an installer PKG/DMG, without any Store), 99% of the code is crossplatform and I spend 99.9% of the development time on Windows. I have fewer ...
Basj's user avatar
  • 163
2 votes
0 answers
135 views

What tools come pre-installed on Mac; what is part of the Xcode command line tools; and what should I install myself?

I'm setting up my Macbook, and in the process of installing Homebrew, I installed the Xcode commandline tools. I'm assuming the result of this is the /Library/Developer/CommandLineTools directory, ...
user avatar
0 votes
0 answers
206 views

Command line on IOS IPad Air 4 (I’ve been hacked)

I have found multiple instances where the only possibility is that I am being remotely hacked through screen mirroring. I believe this for the following reasons: Remotely I have found open tabs/...
Sick and tired of being hacked 's user avatar
2 votes
1 answer
1k views

`git commit` is stuck on macOS Ventura

Today I woke up and realised I cannot commit anymore... Strangely enough other git commands work fine. Whenever I create a new directory, git init . inside, touch a new, empty file inside, git add it, ...
maciek's user avatar
  • 141
0 votes
0 answers
209 views

Can macOS 13 Beta (macOS Ventura) work on a MacBook Pro 2015 so I can run Xcode?

I have an old MacBook Pro 2015 Early. I am running macOS 12.6.8 (Monterey) which I freshly installed. I want to install Xcode but it requires macOS version 13. macOS 13 is supported on MacBook Pro ...
Abdullah Qureshi's user avatar
0 votes
0 answers
60 views

How can I do regex find and regex replace in Xcode?

In Xcode, I tried finding \n\n and replacing it with \n but what it does is remove all double newlines with the letter n and not with single lines like I want it to.
Oneechan69's user avatar
2 votes
1 answer
1k views

How much disk space is needed to let Xcode install the new iOS / visionPro simulators?

Got this error, though I have some more space 229 GB / 245 GB RegCannot copy the image because the disk is almost full Domain: com.apple.CoreSimulator.simdiskimaged.SimDiskImageError Code: 14
János's user avatar
  • 1,526
0 votes
0 answers
933 views

"xcrun xctrace list devices" command only lists some of the connected devices

I upgraded macOS system version to 14.3.1, and also upgraded Xcode version to 13.4.1. When I use xcrun xctrace list devices in order to list all devices connected to my Mac mini, only two devices ...
pmst's user avatar
  • 1
0 votes
1 answer
106 views

Xcode upload to notary service fails

I get this error when I try to upload my app to the notary service. Signing seems to work but not the upload phase. I have tried to close the app and also reboot the computer. The problem persists. ...
Johan Mattsson's user avatar

1
2 3 4 5
31