Questions tagged [xcrun]

xcrun provides to locate or invoke ios developer tools from the command-line to support multiple Xcode tool chains.

xcrun provides a means to locate or invoke developer tools from the command-line, without requiring users to modify Makefiles or otherwise take inconvenient measures to support multiple Xcode tool chains. The tool xcode-select is used to set a system default for the active developer directory, and may be overridden by the DEVELOPER_DIR environment variable (see ENVIRONMENT). The SDK which will be searched defaults to the boot system OS SDK, and can be specified by the SDK-ROOT SDKROOT ROOT environment variable or the --sdk option (which takes precedences over SDKROOT). When used to invoke another tool (as opposed to simply finding it), xcrun will provide the absolute path to the selected SDK in the SDKROOT environment variable. See ENVIRONMENT for more information.

153 questions
0
votes
1 answer

xcrun simctl list : Assertion failure in NSDictionary

Seeing error while xcrun simctl list see the error logs below , Any one has idea why do i see this ? xcrun simctl list 2018-12-30 15:17:48.636 simctl[66720:6180396] *** Assertion failure in NSDictionary * _Nullable…
Max
  • 5,380
  • 6
  • 42
  • 66
0
votes
1 answer

Package name is not getting displayed on the installation dialog of my pkg

I am creating a .pkg from other .pkg files. When I try to install the resultant .pkg i can only see "install" on the dialog box package name is not getting displayed on the installation dialog box. How can I make the package name appear on the…
Hameed Basha
  • 13
  • 1
  • 7
0
votes
1 answer

xcrun usdz_converter issues after Xcode 10.1 update

Before updating Xcode today I was able to convert .obj files to usdz without any issue. I have tried searching the internet and even turning it off and back on again. Has anyone else ran across this issue before? $ xcrun usdz_converter…
Padawan
  • 770
  • 1
  • 8
  • 18
0
votes
1 answer

When running git status the following error happens after Mojave update: "xcrun: error: invalid active developer path"

I've tried running: 1) xcode-select --reset 2) xcode-select --install But I still get:
Mason0958
  • 39
  • 11
0
votes
0 answers

Xcode reinstall device types

I removed all the device related installations from my Xcode as I thought I wouldn't need it. Now I have to reinstall some parts of it to develop with react-native. I could easily install the latest runtime again but the list of devicetypes (xcrun…
Sean Magyar
  • 2,360
  • 1
  • 25
  • 57
0
votes
0 answers

gtk+ setup RuntimeError: Failed to close xcrun -f gcc stream

beginner coder here. I'm trying to set up gtk+ to set up a GUI for a program. I'm following the procedure section of these instructions: https://wiki.gnome.org/Projects/GTK+/OSX/Building I have downloaded the code they provide, but cannot get…
0
votes
0 answers

iOS, How to screen record from pc

I know that there is a screen recording feature in iOS11. I also know that there is some system command tool for iOS simulator to screen record, which is xcrun simctl io booted recordVideo --type=mp4 I found a command that I can do it for real…
John
  • 1,139
  • 3
  • 16
  • 33
0
votes
2 answers

xcrun xcodebuild ** EXPORT FAILED ** after installing Xcode9

After installing Xcode9, xcrun xcodebuild -exportArchive started to ** EXPORT FAILED **. xcodebuild[8520:2065474] [MT] IDEDistribution: Step failed: IDEDistributionSigningAssetsStep: 0x7fd93ba747d0: Error …
thedp
  • 8,350
  • 16
  • 53
  • 95
0
votes
1 answer

How to use xcrun to compile to AppleTV?

I'm using xcrun to compile a dynamic library that I want to use in AppleTV application. Using this command, I can compile my dylib and use in OS X: ➜ logger git:(master) ✗ ls main.swift ➜ logger git:(master) ✗ xcrun swiftc -emit-library…
macabeus
  • 4,156
  • 5
  • 37
  • 66
0
votes
1 answer

Error shutting down simulator

In xcrun simctl documentation there is an entry: xcrun simctl shutdown booted - Shutdown a device Bun when I call it from command line, the simulator is not actually shut down but is freezed instead. How this could be solved? The only workaround I…
Andrii Abramov
  • 10,019
  • 9
  • 74
  • 96
0
votes
0 answers

Xcode 6.3.2 manual build and sign gives error on installation: Application signature not valid

When I´m running my automatic (command line) build, sign and upload script for my app, an error occurs when installing the app: 'Application signature not valid'. It worked perfect for years before and stopped working 2 weeks ago (maybe due to Xcode…
stk
  • 6,311
  • 11
  • 42
  • 58
0
votes
1 answer

dyld: Library not loaded: @rpath/libxcrun.dylib referenced from xcrun

I'm relatively new to mac and now trying to setup a dev. environment for Cordova based iOS app. I'm using Yosemite 10.10.3 I've installed xcode 6.3.1 and the commandlinetools for 6.3.1, under /Applications/Xcode.app/Contents/Developer/ I can see…
Hunter
  • 1
  • 3
0
votes
2 answers

Reset iOS Simulator Content and Add Photos

For UI Automation testing, I want to have a Reset iOS Simulator and then add a few photos to it before being my automation scripts begin. When I run this: xcrun simctl erase device_UUID xcrun simctl addphoto device_UUID…
Collin
  • 6,720
  • 4
  • 26
  • 29
0
votes
0 answers

Cannot install the XCRUN built IPA on IPhone

Could anyone please tell me what I am doing wrong here ?. I am using the following command to generate the ipa from a cordova project : 'xcrun -sdk iphoneos PackageApplication -v "/Users/user/Downloads/CordovaPrj/platforms/ios/build/device/App…
msrameshp
  • 626
  • 2
  • 12
  • 33
0
votes
1 answer

Error: The application does not have a valid signature - Command Line Building IPA File

The build line: xcrun -sdk iphoneos PackageApplication -v Myapp.app -o Myapp.ipa --sign The Hash of my Signing Identity goes here --embed MyProvisioningProfile.mobileprovision It compiles into an IPA file, but when I try to transfer it to my device…
thisisnotabus
  • 1,949
  • 3
  • 15
  • 31
1 2 3
10
11