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
0 answers
24 views

Best way to learn AVFoundation? [closed]

Posting this here instead of Stack Overflow because they don't allow users to ask for tutorial recommendations. I'm learning Swift for a project using AVFoundation and Shazamkit, but I'm finding ...
Definitely-A-Person's user avatar
0 votes
0 answers
12 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
38 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
14 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
1 vote
1 answer
47 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
19 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
22 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
224 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
611 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
38 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
11 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
18 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
36 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
48 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
65 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
0 votes
1 answer
102 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
  • 181
4 votes
2 answers
1k 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
1 vote
1 answer
103 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
  • 11
0 votes
1 answer
48 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
316 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
159 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
110 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
16 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
  • 485
2 votes
1 answer
287 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
  • 191
2 votes
0 answers
114 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, ...
CalicoJack's user avatar
0 votes
0 answers
142 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
1 vote
1 answer
773 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
  • 131
0 votes
0 answers
186 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
38 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
794 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,506
0 votes
0 answers
619 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
83 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
2 votes
2 answers
96 views

Xcode: How to disable the crosshair, when pressing alt?

Every time I press 'alt' in Xcode a crosshair for text selection appears. I can't use the shortcuts for commits and code folding anymore. Is there a way to disable it? XCode 14.3.1
buleva's user avatar
  • 71
2 votes
1 answer
97 views

How do I see provisioning profiles for sideloaded apps on iPad?

I have developer versions of 2 of my own apps running on my iPad under OS version 15.6.1. I would like to be able to check the expiry date of the provisioning profiles without going to my development ...
Phillip Mills's user avatar
1 vote
1 answer
179 views

What’s the equivalent of turning the Digital Crown on the Apple vision pro headset simulator?

In the demos of Apple Vision Pro, they show that you can manually switch between VR and pass-through-video-AR by rotating a Digital Crown on the headset. The simulator has a simulated series of ...
tomh's user avatar
  • 796
6 votes
1 answer
3k views

Mac OS 10.13.6 and newer mobile devices not working with iTunes 12.8.3.1 MobileDeviceUpdater.app not working [closed]

I bought an iPhone SE (Gen 2) and installed latest iOS 16 on it. When connecting to a MacPro 5,1 with 'latest' iTunes 12.8.3.1 running on OS X 10.13.6 I repeatedly get an Update Software popup every ...
Josh's user avatar
  • 61
0 votes
1 answer
97 views

MacOS man pages out of date

I’ve caught a few POSIX options unavailable on a MacOS man page (but are supported — they compile). Is there a way to submit a patch to the kernel developers?
user129393192's user avatar
0 votes
0 answers
89 views

How should I update Xcode if I have previously downloaded it from the Apple website?

I just upgraded from an Intel-based MacBook to a newer Apple Silicon-based MacBook and migrated everything using Time Machine. In doing so, this moved my old Xcode installation to my new Silicon ...
dark-walrus's user avatar
1 vote
0 answers
143 views

Is there a tool like valgrind memcheck for Xcode?

I'm a teacher of a beginning C programming class. Some of my students use Macs for their development. I recommend to them to use Xcode with clang and lldb, since it has the best support on their ...
Eric Sokolowsky's user avatar
0 votes
0 answers
133 views

Xcode Build xctestproducts with multiple test plans

I have xcode project with multiple test plans and I'm trying to build xctestproducts file using Xcode (Product > Perform Action > Build and Export Test Products), when I do that the created ...
David Asulin's user avatar
1 vote
0 answers
174 views

Processes are randomly killed

Ever since I've upgraded to Ventura the processes are randomly terminating with Killed 9 signal. For example: I am trying to install a new version of ruby using rbenv install 3.2.2 and am seeing ...
Zlatan Sadibasic's user avatar
2 votes
0 answers
40 views

Is it "ok" to reset iPhones for use in a user test and setup Apple ID again afterwards?

This may seem as a quite stupid question, but I'm really unsure about this. I own two iPhones (6 and 8) which we would like to use in an App test. As I don't want the participants to have access to ...
Daniel Bachmann's user avatar
5 votes
1 answer
468 views

Open two files for comparison in FileMerge, from command line

I have two files (in a project’s source code base) which I often want to compare visually in FileMerge, as part of a regular routine. I’m trying to script that routine for efficiency, but am stuck on ...
PLL's user avatar
  • 925
2 votes
1 answer
3k views

XCode: how to install on MacOS Catalina 10.15.7?

I have here a dozen Apple computers running on "MacOS Catalina 10.15.7"; These Apple computers cannot be updated using the built-in system update application; I need to install XCode on them;...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote
1 answer
305 views

Can I open any app from app store in xcode?

I just start learning iOS development and still haven't finish the course but I'm too curios to know if I can open an app from app store in xcode to see all of the code inside of it as it will make it ...
ms12's user avatar
  • 13
7 votes
1 answer
683 views

Executable compiled in Xcode fails to run except from the terminal

I'm in the process of developing a game written in C using SDL, and while I do all of my development on Windows/Linux machines would like to make it available on Mac as well. The code is fully ...
P...'s user avatar
  • 173
1 vote
0 answers
789 views

How to update Xcode using software update if the App Store is not accessible or download?

There is a related question, "How to download Xcode 13 if the App Store is not accessible?" But if you already have XCode installed and run the following command: xcode-select --install The ...
1.21 gigawatts's user avatar
0 votes
1 answer
2k views

Is it possible to switch sdk version in macOS

I am now using Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk, some software need to build with some lower version of sdk, is it possible to switch ...
Dolphin's user avatar
  • 1,101
0 votes
0 answers
68 views

TESTFLIGHT tester gets an older version when he tries to get latest version from testflight. Other testers get latest version

Latest version of app is 42.14 Installs ok on my iphone and on tester-1. But tester-2 keeps getting older 39.6 I've tried making new tester group, and tried Individual Tester but he still gets 39.6
Doug Null's user avatar
  • 165
0 votes
1 answer
51 views

AU Instrument Example doesn't handle note off event when DAW playhead skipped ahead

Running the AU Instrument example provided with Xcode (it's a sine wave generator), it doesn't seem to receive the note off event when the playhead is skipped ahead in the DAW (Logic, for me). I'm ...
eclewlow's user avatar
  • 121

1
2 3 4 5
31