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

What happened to the sample code for writing a Stickies app? [closed]

I don't remember if it shipped with Xcode, or if I downloaded it from developer.apple.com, but there used to be sample code available to create a Stickies-style app in Xcode. It was probably in ...
  • 8,242
0 votes
0 answers
21 views

Homebrew on Monterey running opencore [closed]

I have an old Mac 5,1 running Monterey via OpenCore and can't use homebrew. I do not have read/write permissions on /usr/local/ or any subdirectories and no ability to chown anything there. I have ...
0 votes
1 answer
45 views

Git problem after OS Ventura

After upgrading to OS-Ventura I keep getting the same error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/...
0 votes
0 answers
27 views

Compile a macOS (10.15 sdk) Xcode project from x86_64 arch to arm64 arch (for a iOS future usage) [closed]

Is there somebody who tried and achieve to build with success an XPC xcode project on arm64 architecture? Or at least a xcode project on arm64 architecture? Currently I'm trying to make an XPC xcode ...
0 votes
1 answer
42 views

Can someone who has tried to run Xcode 14.1 on a 2014 mac mini verify that they were they able to successfully develop an app using this setup [closed]

My brother wants to develop an iPhone app. I have over 25 years of programming experience, but not for the iOS/Apple ecosystem. In any case I decided to help him out, but I don't personally own any ...
  • 101
0 votes
2 answers
59 views

Command line tools for Monterey without XCode

I'm extremely surprised this question wasn't asked, or at least I wasn't able to find it. Is there a way to install command line tools for MacOS without installing the full XCode suite? I'm low on ...
  • 101
1 vote
1 answer
124 views

Can I submit my app built with Xcode 12.4?

I am building my app on a old Mac wich can only run Xcode 12.4 On Apple's Submit page it says: Please note, starting April 2023, all iOS and iPadOS apps submitted to the App Store must be built with ...
  • 141
1 vote
1 answer
58 views

Apple silicon development on trash can Mac Pro?

The cylindrical Mac Pros (2013 model year) are inexpensive as used machines. Can one develop Apple Silicon software on intel Macs or otherwise produce faster development in Xcode than the M1 Mac mini ...
1 vote
1 answer
19 views

XCode v12.4 refuses to open

I am new to Mac. I installed XCode v12.4, on my Mac Mini with Mac OS 10.15.7. I also Installed the Command line tools for XCode v12.4 When I type open /Applications/Xcode.app I dont get any output and ...
  • 141
2 votes
0 answers
36 views

How to configure Xcode's SSH client?

We've enabled SSH certificates for all repositories in our private GitHub organization recently. To use certificates, I've added CertificateFile keyword to the SSH configuration file in my home ...
0 votes
1 answer
72 views

What is the official name "Command Line Tools" or "Xcode Command Line Tools"?

What is the official name Command Line Tools or Xcode Command Line Tools? If you go to https://developer.apple.com/download/all and write Command Line Tools as search criteria then in the results ...
1 vote
1 answer
148 views

How to update Xcode to the latest acceptable version according with the current OS? It directly by command (without Homebrew)

In Linux Ubuntu for example with the commands: sudo apt update && upgrade is possible update the complete set of current software already installed. I know the same approach is possible for ...
1 vote
1 answer
32 views

Why the Xcode 8.2.1 explicit version does not appear at Apple Developer Download?

For a MacBookPro with El Capitan - 10.11.6. About Xcode, according with Xcode Releases the latest acceptable release is: Xcode 8.2.1 for macOS 10.11.5+ Once logged on Apple Developer at https://...
0 votes
1 answer
39 views

How to know what is the latest acceptable version of Xcode for a specific OS X or macOS?

I have OS X El Capitan. I want to install MacPorts. According to its page it needs Xcode. According to this post: Determine xcode command line tools version to know the Xcode version the following ...
4 votes
1 answer
634 views

Error when starting Terminal (Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability )

When I open the MacOS terminal I get the following error message and a prompt to install git. This happens EVERY TIME I try to run a command. I already have git installed but I tried clicking install ...
0 votes
0 answers
59 views

xcrun stuck on old missing SDK

xcrun seems to be holding or referencing some persistence iOS SDK path that doesn't exist in my machine anymore. xcrun --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS....
0 votes
0 answers
17 views

How to locate the Applications folder in a mounted Catalina installation?

My Mac Mini is panicking on boot and I can't recover it using the recovery partition nor I have a current Time Machine backup. Yes, I was reckless, but let's move on. I managed to boot the Mac Mini ...
  • 1,859
0 votes
0 answers
22 views

MacBook keeps asking to install the Xcode command line tools for Git [duplicate]

I wonder why my MacBook keeps asking, for Git, to install the Xcode command line developer tools even though I installed it earlier. It is stuck in the loop.
0 votes
0 answers
71 views

Why/how does `man` invoke xcodebuild?

Generally, when I look for a man page, it comes up immediately and the Terminal title bar shows less - man <cmd> But the first time I do it after a restart, there is a delay of two or more ...
  • 3,688
1 vote
0 answers
26 views

I cannot update Xcode and use Command Line Developer Tools [duplicate]

I have had this issue since yesterday. For example: I am trying to use git command but MacOS throwing a prompt to ask my installation permission and I am clicking to install button and after the ...
  • 191
0 votes
0 answers
53 views

Install new Simulator via terminal

Is there any way to install a new version of Simulator using just cli? For example - with Xcode 14.0 only iOS 16.0 is build-in to it, what if I want to add an older version of iOS, is it possible that ...
3 votes
2 answers
585 views

How to fix borked Xcode Commandline Tools?

For some reason my MacBook is constantly complaining that it needs to install Xcode tools, even if I just installed them seconds before. If I hit "Cancel", the same dialog box can reappear ...
  • 8,242
0 votes
0 answers
13 views

App Store: If my last production release was v4.1.5 but last TestFlight was v5.2.0, can I release 4.1.10 to Production?

My last Production release on App Store Connect was v4.1.5 and the client wants the next Production release to be 4.1.10, but we've released build to TestFlight in the interim up to v5.2.0. Is it ...
  • 441
0 votes
0 answers
35 views

Xcode can't delete OneDrive files

When I put my Xcode project in OneDrive, I can't delete files from that project in Xcode. When I hit delete, it just ignores me. When I try to delete an image asset, it also ignores me. I have to ...
  • 11
0 votes
1 answer
264 views

Two Versions of Python in Homebrew

Doing brew upgrade tells me that Python failed due to an issue with Xcode and I should brew install --build-from-source python@3.10 but then another upgrade to catch whatever depends on Python demands ...
  • 3,688
0 votes
1 answer
39 views

How to distinguish the fact that the user canceled the installation of the 'Command Line Developer Tools' from the installation error?

I need to make a bash script that, in case of an error, will restart the installation of command line tools, and in case the user cancels the installation, then stop the script. I thought to parse the ...
0 votes
0 answers
202 views

Xcode Command Line Tools not installing, missing xcrun

I am running Monterey 12.5. My make command suddenly stopped working, prompting me to install Command Line Tools, but after installing from the pop-up I get the error xcrun: error: invalid ...
0 votes
0 answers
106 views

Xcode does not open any project

My Xcode can not open any project. I tried to reinstall Xcode and deleted all the files related to it to no avail. This also occurs when I create a brand new project; I can neither work on it nor open ...
1 vote
1 answer
284 views

How to fix that XCode fails to install because of no left space on the hard drive even if there is enough space?

I have tried to install XCode first via app store and then after downloading the file manually, via command xip --expand Xcode_13.4.1.xip. In both cases I got the same error relatie to missing space ...
  • 121
2 votes
1 answer
89 views

On command line, what are the successors of the deprecated GetFileInfo and SetFile to view/set the creation time and lockedness of a file?

As a file is selected on Finder, the "Get Info" (Command-i) under the "File" menu brings up the "Info" window. The "Info" window displays the creation time of ...
1 vote
1 answer
96 views

How can the availability of SetFile and GetFileInfo be detected without causing user interaction? Where are Commandline Developer Tools installed?

In bash, to detect whether a command COMMAND is available, the following statement shall be executed. (Note that I configured bash to be the default shell, instead of zsh.) type COMMAND... For ...
0 votes
0 answers
35 views

Why was xcode not installed on my new Mac even though I selected all options in Migration Assistant?

Two MacBook Pros, both on Monterey (12.5). Selected all categories in Migration Assistant but xcode was not installed. (Terminal commands would not work on new machine, fixed with xcode-select --...
0 votes
0 answers
231 views

How to build .xcodeproj files with the Command Line Tools Package when xcodebuild doesn't work?

For the purposes of automated testing, I'm looking to build an XCode project file from the command line on a headless Mac (which I believe is running Monterey). The machine I'm hoping to build things ...
  • 211
1 vote
1 answer
1k views

Why do I get these xcodebuild error messages about missing extension points when I run `man`?

When I run something that requires command line developer tools (might be something as simple as man) I get a short timeout and some error messages before the command completes. % man softwareupdate ...
  • 614
0 votes
0 answers
52 views

How do I get rid of superfluous outdated software updates?

I have updated to macOS Monterey 12.5 and Xcode 13.4.1 and installed the CLI tools for Xcode 13.4.1. But Software Update keeps telling me to update the command line tools for 13.2 13.3 and 13.4: % ...
  • 614
-2 votes
2 answers
43 views

Can you develop iOS apps that will generate revenue using XCode from the App Store?

I noticed in the Apple Media Services Terms and Conditions it states: You may use the Services and Content only for personal, noncommercial purposes (except as set forth in the App Store Content ...
4 votes
1 answer
649 views

Virtualized macOS via UTM will not allow sign in to the App Store for installation of Xcode?

I've installed macOS 12 via UTM on an M1 Max, but when I attempt to download Xcode from the App Store with my Apple ID account, it fails to authenticate each time. Is there a known issue that's ...
  • 4,844
1 vote
1 answer
189 views

Is it possible to use XCode with a local macOS account?

I've been given a MacBook by my workplace and it's set up with a local account with no linked apple ID to the user account. I want to try out iOS development on the machine, but in order to deploy an ...
0 votes
0 answers
396 views

Getting "Unable to install MyApp" Generated by Xcode Version 13.4.1 on real device iPhone 13 Pro Max

I am new to app development and I am trying to launch my app generated by Xcode 13.4.1 on my real device iPhone 13 Max Pro but I am getting Unable to install "MyApp". It's been days browsing ...
1 vote
1 answer
321 views

macOS keeps trying to open .yml files with Xcode after being told to use Atom

I use the Atom text editor, and I want to use that to open .yml files. I do the usual thing: right-click on the file Hover over 'Open with' and then choose the 'Other' option, which opens a dialog ...
1 vote
1 answer
353 views

What to do in xcode 13 after company invites me as developer?

Getting started on a new MacBook with Xcode 13: I've just accepted the invitaion from my company as a developer with my Apple-ID. I logged in to my Apple-ID at XCode 13 -> Preferences -> Tab: ...
  • 537
1 vote
1 answer
55 views

Is it permissible to use the Xcode 3.0 DeRez and Rez command line tools for purposes other than localization?

I have an Apple Mac that has Mac OS X 10.5.8. On this Mac, Xcode version 3.0 is installed. From what I can tell, there are also the DeRez and Rez command line tools. The Xcode software may have been ...
0 votes
2 answers
318 views

Run Xcode Hello World from Command Line

I have installed Xcode and created the Command Line Tool project for "Hello, World!". I can run it from Xcode when I click the little play button. But how can I run this program from a ...
  • 23
0 votes
1 answer
14 views

App Store Connect: Can I find the bundle Id of my app anywhere?

I'm logged into App Store Connect and have two apps. If I go into one of them, is there a place where it shows the bundle ID? When I open the app in XCode I can see the bundle ID, but I'm wondering ...
  • 441
1 vote
1 answer
224 views

xcodebuild ignoring(?) -allowProvisioningUpdates flag

I'm trying to build my iOS app from command line (macOS 12.0.1, XCode command line tools 13.4.0.0.1.1651278267). To do this, I run following command: xcodebuild -workspace Unity-iPhone.xcworkspace -...
  • 205
0 votes
0 answers
69 views

What is the best Xcode version for C++ development

Currently I use Eclipse on my Mac to develop with plain C++. However, I've been getting quite a few problems with it, but held back bc of my low disk space. Recently, I've freed a lot of disk space ...
0 votes
0 answers
69 views

Connecting Button To App Deligate Not Working Xcode AppleScript

I have just Installed Xcode Version 13.4.1 and trying to follow some online tutorials for Creating and AppleScript project. I have started by adding a simple button to the Window. In AppDelegate....
4 votes
1 answer
191 views

Should I install all versions of Xcode CL tools update? [duplicate]

I got a prompt to install updates. MacOS 12.4 I don't have XCode installed just the XCode command line tools, version: 13.0.0.0.1.1627064638 All these updates seem to be different versions of the ...
0 votes
0 answers
162 views

Connect via ip address to device through VPN doesn't work

I'm trying to connect to my device that's connected through VPN. I am able to connect to it on the same network but as soon as I am on a different network but connect to the same network through VPN I ...
1 vote
2 answers
308 views

How can I build my iOS app to be deployed via an MDM?

We've got Intune set up at work, and I'm trying to push a custom iOS app out to several iPod Touches we have. Intune is set up and working properly, but the app refuses to install because it's ...
  • 123

1
2 3 4 5
30