107 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
65
views
g++ does not find wchar.h on macOS, even after reinstalling
I cannot run Homebrew-installed g++ 14.2.0 in Visual Studio Code for macOS 15.3.2 on an Apple M2 system.
I was able to load the standard library using --sysroot=/Library/Developer/CommandLineTools/...
-1
votes
1
answer
415
views
Why does /usr/bin/python3 report /Library/Developer/CommandLineTools/usr/bin/python3 as sys.executable?
I encountered a situation on macOS where the path reported by sys.executable is different from the Python interpreter I explicitly ran. Here's what I observed:
I started Python using `/usr/bin/...
2
votes
0
answers
337
views
How do I use Xcode to codesign a command line utility I created with SPM?
I created a command line utility using swift package init, and added swift-argument-parser as a dependency.
Steps:
Create a folder for my project and cd into it in terminal
Issue the command swift ...
-1
votes
1
answer
501
views
How are you supposed to create a command line tool that uses swift argument parser?
I've tried two different approaches, each of which fails in a different way:
Approach #1:
Create folder for the project.
In terminal:
cd to folder
swift package init --type executable
xed Package....
0
votes
1
answer
505
views
Markdown support suddenly broken (Apple Shortcuts MacOS) after Xcode uninstall
I recently installed the newest version of MacOS and also uninstalled Xcode and its CLI tools. Because the uninstallation process was quite messy (I had to alter zsh profile and reinstall Python since ...
2
votes
2
answers
4k
views
xcode 15, c++ compilation errors
I just installed xcode 15 (because git wouldn't work without doing so). I didn't note what version I had before.
Now I can't compile some c++ code, which was compiling perfectly well before. when I ...
-1
votes
1
answer
2k
views
Cannot install homebrew on macOS 14 pre-release
I have a fresh Macbook Pro M2 running MacOS 14 pre-release.
I attempt to install homebrew from the bash-line on https://brew.sh
At this point:
==> Installing the Command Line Tools (expect a GUI ...
0
votes
1
answer
227
views
Can Xcode build native Intel binaries on a M1 Mac from command line tools?
This is an additional question to this. I also want to compile a universal binary (or two separate ones for x86_64 and arm64). However, I am not using Xcode, but the Xcode command line tools. So far, ...
1
vote
1
answer
1k
views
XCode 14.3 doesn't list iOS devices with 16.4
I'm about to upgrade to Xcode 14.3 and installed that version in addition to version 14.2, where i'm switching between those 2 versions by using the command
sudo xcode-select -switch /Applications/...
0
votes
1
answer
2k
views
How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake?
I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files ...
-2
votes
1
answer
429
views
Xcode 14.2 Unable to close provisioning ledger entry because not all of its subentries are closed
Xcode 14.2 command line tools archive failed.
xcodebuild -allowProvisioningUpdates \
-workspace $WORKSPACE \
-scheme $SCHEME \
archive \
-configuration Release \
-archivePath $ARCHIVEPATH \
...
1
vote
0
answers
174
views
is there any options to change bundle identifier while generating the build using terminal
i) is it possible to change the Bundle identifier and Provisional Profiles in Codebase while generating the Archive File and IPA file.
ii) is it possible to change the Application name while ...
6
votes
4
answers
6k
views
Could not get the simulator list from Xcode. Please open Xcode and try running project directly from there to resolve the remaining issues
i updated os 12.3 to 13.1, xcode 13.1 to 14.1 and installed commandline tools, react native app running through xcode but not running with command line, getting below error
2022年12月13日 16:36:47.584 ...
-1
votes
1
answer
135
views
CNCopyCurrentNetworkInfo getting nil when app is created through command line tools
My app's deployment target is iOS 13. So I am using CNCopyCurrentNetworkInfo for getting the wifi SSID information.
I am facing a strange issue only when I archive and distribute my enterprise app ...
0
votes
1
answer
142
views
Compile and execute cpp in xcode, and add additional execution instructions, Such as iconv command
Sorry, I'm new to Xcode and not very familiar with it, I use Xcode (command line tool project with external build system) to compile cpp files and automatically execute cpp unix executable files. ...