xcrun

xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist

空扰寡人 提交于 2019-12-18 10:03:48
问题 I'm having xcode issues when I try to use brew and git: xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select ) I can type xcode-select and it shows that the command exists. When I type xcode-select -p it shows: /Applications/Xcode.app/Contents/Developer but when I do which xcode-select , it gives me: /usr

Swift.org issue with open source swift project. Error: xcrun: error: unable to find utility “launch-with-toolchain”, not a developer tool or in PATH

岁酱吖の 提交于 2019-12-18 07:33:11
问题 I am trying to Start Xcode with the custom toolchain and to be enabled to use the open source version of Swift. Steps are taken from Swift.org And I receive this error: xcrun: error: unable to find utility "launch-with-toolchain", not a developer tool or in PATH 回答1: The open source Swift toolchain from https://swift.org/download/#apple-platforms requires the latest Xcode 7.2 (currently: beta 4). The location of the developer directory used by xcrun and other build tools must be set to this

Set xcode “build setting” from terminal?

倖福魔咒の 提交于 2019-12-18 04:49:06
问题 Is there anyway that I can change a setting in xcode without opening xcode? I have an automated xcodebuild / xcrun process going on but I need to change 1 value: Targets > Select your target > Build Settings > Code Signing Resource Rules Path add : $(SDKROOT)/ResourceRules.plist I can't find any file where I might put this line... 回答1: What You can do is to run: xcodebuild -target <target> -configuration <configuration> -showBuildSettings This command shows all the settings that are filled

change xcrun developer path for Android Studio/IntelliJ

别来无恙 提交于 2019-12-17 22:54:37
问题 I'm using GIT and am trying to push my code and getting the following error when using the Terminal . I don't use XCode , I'm using Android Studio . The command I tried using was: git branch Networking Error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun` I am running on El Capitan Beta 4 update if that helps in any way. Update : This also happens for IntelliJ users, and for MacOS Catalina

Invalid active developer path on MAC OS X after installing Ruby

浪子不回头ぞ 提交于 2019-12-17 07:16:09
问题 I get this error: xcrun: error: invalid active developer path (/Applications/Xcode.app), missing xcrun at: /Applications/Xcode.app/usr/bin/xcrun This solution works, but the error occurs again after closing my terminal and reopening it; I then have to run the same commands every time I open a new terminal window. How can I apply these changes such that they will save after closing the terminal window out? 回答1: I started getting the same error after updating to OS X El Capitan. In my case, all

Invalid active developer path on MAC OS X after installing Ruby

久未见 提交于 2019-12-17 07:16:00
问题 I get this error: xcrun: error: invalid active developer path (/Applications/Xcode.app), missing xcrun at: /Applications/Xcode.app/usr/bin/xcrun This solution works, but the error occurs again after closing my terminal and reopening it; I then have to run the same commands every time I open a new terminal window. How can I apply these changes such that they will save after closing the terminal window out? 回答1: I started getting the same error after updating to OS X El Capitan. In my case, all

How to screen record iOS-real device with command?

混江龙づ霸主 提交于 2019-12-14 04:04:27
问题 I need to screen record iOS from iMAC for the purpose of test automation. I found commands for Android and iOS-Simulator which are: adb screenrecord /sdcard/123.mp4 xcrun simctl io recordVideo --type=mp4 However, I need a command for iOS-real device. The purpose of this is for taking video of device during each of test automation sessions. 回答1: iOS 11 has built-in Screen Recording for real devices, you need to check if its possible to do run/stop/getFile from device via command line tools or

Xcode: iPhone app codesign error

不羁岁月 提交于 2019-12-12 07:08:22
问题 When building a new iPhone app in Xcode, I'm getting this error: codesign error: code signing identity 'iphone developer' does not match any code-signing certificate in your keychain. once added to the keychain, touch a file or clean the project to continue. What's the fix? 回答1: The fix is pretty simple. In the Build Results window (which you probably got to by clicking the error icon in the lower right corner of your project window), change the pulldown menu from ‘Device - iPhone xxx’ to

git push xcrun: error: active developer path does not exist

一笑奈何 提交于 2019-12-09 05:09:09
问题 i recently deleted xcode 6 beta 3 and installed xcode 6 beta 6 when i entered gitpush in the terminal this happened xcrun: error: active developer path ("/Applications/Xcode6-Beta3.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select ) 回答1: Try pasting this in the terminal : sudo xcode-select -switch /Applications/Xcode-Beta.app It will update the path , for the

Distribute ipa to iTunes connect from command line

廉价感情. 提交于 2019-12-06 05:50:03
问题 I have several iPhone apps, and I've set out to do away with as much of the clicking around on iTunes connect that I have to do. One thing that I'd like to do is be able to upload an ipa to iTunes connect through the command line. How To Perform iOS App Validation From the Command Line This post suggests xcrun -sdk iphoneos Validation -online -upload /path/to/ipa Which almost works, but will fail validation because it tries to hit the first app in iTunes connect, which has a different bundle