Questions tagged [xcode-tools]

The Command Line Tools Package is a small self-contained package for OS X that contains development tools typically installed in /usr/bin, like Clang, GDB and Make.

The Command Line Tools Package is a small self-contained package available for download separately from Xcode and that allows you to do command line development in OS X. It consists of two components: OS X SDK and command-line tools such as Clang, GDB and Make which are installed in /usr/bin.

For complete details, see Apple's Technical Note TN2339, Building from the Command Line with Xcode FAQ.

12 questions
5
votes
2 answers

Run Swift 3 from command line using Xcode 8 Beta

Can I run Swift 3 from the command line after installing the Xcode 8 beta? I see that /usr/bin/swift is still the May 5th Swift 2.2. I was hoping to see something like /usr/bin/swift3 but no such luck. swift.org downloads says that "Swift 3.0…
3
votes
3 answers

swift build doesn't work

I'm trying to run Kitura project on XCode. I tried to follow instructions on this page ([https://github.com/IBM-Swift/Kitura/wiki/Building-your-Kitura-application-on-XCode]), however I failed with step 3 – run swift build -X. I get this…
Alexander Doloz
  • 4,078
  • 1
  • 20
  • 36
2
votes
1 answer

How can I upgrade the built-in Apple Clang on MacOS?

My clang on MacOS that is provided by Apple seems to be a bit outdated. > clang -v Apple clang version 12.0.5 (clang-1205.0.22.9) Target: arm64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin But my…
Jonas
  • 121,568
  • 97
  • 310
  • 388
2
votes
2 answers

Updated my macOS to Monterey 12.4 and installed XCode command lines and now my React Native app is not loading on the virtual emulator

I'm building an app with React Native and Firebase, and I updated my Mac to macOS Monterey 12.4, and now my iOS Emulator is not loading with my app at all. I keep getting this error message: 2022-05-18 12:43:55.803 xcodebuild[1548:12290] Requested…
melee
  • 51
  • 1
  • 6
2
votes
1 answer

Can't fix a leak that Leaks Tool points to

I have a method which I use to se tup and show annotation on the map: func setupPlacemark(place: Place, mapView: MKMapView) { guard let location = place.location else { return } let geocoder = CLGeocoder() …
Lex Debash
  • 31
  • 5
1
vote
1 answer

How to enable capability with Tuist iOS

I use this tool "Tuist" (https://tuist.io) to generate Xcode project. With Tuist we can't edit any settings through Xcode directly. How to enable background mode/notification capability with Tuist
Human
  • 326
  • 2
  • 3
  • 15
1
vote
1 answer

How can I remove or ignore arguments from the swift compiler

Im trying to use an older xcode toolchain (3.1) with my latest xcode version (10). Starting with a blank project and trying to build I get the following error. :0: error: unknown argument: '-enable-batch-mode' :0: error: unknown…
dubbeat
  • 7,706
  • 18
  • 70
  • 122
0
votes
0 answers

Custom binary for codesign in xcodebuild (handling timestamp service is unavailable)

On one of our projects, we have flaky errors from the codesign binary with timestamp service is unavailable errors. The thing is that these errors are happening way too random and cannot be reproduced in isolation. I would say that about 5% of…
tt.Kilew
  • 5,954
  • 2
  • 33
  • 51
0
votes
0 answers

Rust incremental compiler : Undefined symbols for architecture x86_64

I was trying out Rust for the first time and was playing around with unsigned literals. When I run the following program fn main() { println!("{x}", x = 1 - 2); } all is well and good, you get the expected output of -1. When I changed the…
0
votes
1 answer

Getting error xcodebuild exited with status 6

Running a test bot that's returning this warning and not creating an installable product. Anyone know what that status means? This is the build error: `xcodebuild[98753:3595809] [MT] DVTAssertions: ASSERTION FAILURE in…
CatLord
  • 361
  • 1
  • 4
  • 14
0
votes
1 answer

Does headerdoc2html not generate an overall index/ToC?

Does headerdoc2html not generate an overall index that lists all the classes in a ToC? When I run this... headerdoc2html -o ~/Desktop/DocTest MyProject I end up with a subfolder for each class in DocTest (e.g., DocTest/class1, DocTest/class2). …
0
votes
1 answer

CocoaPods and newer (iOS 8) APIs?

I've got a library that I'm trying to push to CocoaPods trunk, but it won't lint against the iOS 7 SDK, because it contains iOS 8 API calls. Changing the podspec's version to 8.0 does nothing, and the linter tries to build against 7.1, which fails.…
Moshe
  • 57,511
  • 78
  • 272
  • 425