xcrun

xcrun avgtool xcrun: error: unable to find utility “avgtool”, not a developer tool or in PATH

我只是一个虾纸丫 提交于 2021-02-10 13:22:46
问题 Unable to automatically update the version number in Xcode using below command xcrun avgtool xcrun: error: unable to find utility "avgtool", not a developer tool or in PATH Tried below options Added Developer_DIR PATH in .bash_profile and appended to path like below export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" export PATH="/usr/local/bin:$DEVELOPER_DIR:$PATH" Also updated the command Line tools by navigating to Xcode -> Preferences -> Locations -> Command Line Tools:

macOS notarization: altool cannot be found

好久不见. 提交于 2020-05-15 06:40:26
问题 I wanted to start building a notarization automation script. However, when I try to use the 'xcrun altool' in Terminal, I get the following error: xcrun: error: unable to find utility "altool", not a developer tool or in PATH I'm on macOS 10.14.5, Xcode 10.2.1. I then especially downloaded and installed Xcode Command Line Tools - still get same error. Other tools like stapler do work. I checked this dir and altool is not there: /Library/Developer/CommandLineTools/usr/bin Any idea what's going

How to specify app id when upload to iTunesConnect using command line

妖精的绣舞 提交于 2020-01-21 03:37:06
问题 Summary I`m trying to automatize my applications upload to iTunesConnect. I have at least 6 apps and all are always "ready to upload". The problem is when I try to upload an app to iTunesConnect using command line, I have the following error message: "warning: There are more that one application pre-configured in iTunesConnect. Only the first will be used.". Questions How can I know what is the first? Is there a way to set the first? Is there a way to specify which app I am trying to submit?

How to specify app id when upload to iTunesConnect using command line

匆匆过客 提交于 2020-01-21 03:37:06
问题 Summary I`m trying to automatize my applications upload to iTunesConnect. I have at least 6 apps and all are always "ready to upload". The problem is when I try to upload an app to iTunesConnect using command line, I have the following error message: "warning: There are more that one application pre-configured in iTunesConnect. Only the first will be used.". Questions How can I know what is the first? Is there a way to set the first? Is there a way to specify which app I am trying to submit?

Failed to generate release build of cordova ios app

99封情书 提交于 2020-01-10 19:56:12
问题 I am using phonegap CLI 3.1 and XCode5. I am trying to generate the build for release mode through Phonegap CLI and Xcrun. I don't want to use Phonegap Build to upload the mobileprovision or whatever the process of them. I want to do it by xcrun to assign the mobileprovison to release build. 1) cordova build ios --release Compiling app on platform "ios" via command "/Applications/MAMP/htdocs/MyTest/MyTestApp/platforms/ios/cordova/build" --release Platform "ios" compiled successfully. 2) sudo

issues with TeamCity, xcrun and single quotes

心已入冬 提交于 2020-01-05 10:32:14
问题 I'm using TeamCity with xcrun for CI on an IOS project. I'm currently seeing an issues while trying to execute the following command from a TC build step: -sdk iphoneos PackageApplication "Build/Release-iphoneos/%Product Name%.app" -o "%system.teamcity.build.checkoutDir%/Build/archive.ipa" --sign "iPhone Distribution: AMERICA'S XXXX" --embed "%Provision File%" The error I get is: error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign "iPhone

issues with TeamCity, xcrun and single quotes

﹥>﹥吖頭↗ 提交于 2020-01-05 10:31:36
问题 I'm using TeamCity with xcrun for CI on an IOS project. I'm currently seeing an issues while trying to execute the following command from a TC build step: -sdk iphoneos PackageApplication "Build/Release-iphoneos/%Product Name%.app" -o "%system.teamcity.build.checkoutDir%/Build/archive.ipa" --sign "iPhone Distribution: AMERICA'S XXXX" --embed "%Provision File%" The error I get is: error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign "iPhone

Invalid active developer path on MAC OS X after installing Ruby

我的未来我决定 提交于 2019-12-23 13:07:16
问题 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

xcrun can't find Xcode path

拟墨画扇 提交于 2019-12-19 07:23:26
问题 Mac OS X 10.8.2 Xcode 4.5.2 (installed at /Applications/Xcode.app) Tried xcode-select -switch /Applications/Xcode.app After that xcode-select -print-path outputs correct path (/Applications/Xcode.app). But xcrun -find gcc fails with error xcrun: Error: could not stat active Xcode path '/Developer/Xcode.app/Contents/Developer'. (No such file or directory). Update 1: Here are permission specifiers ls -l /Applications/Xcode.app total 0 drwxr-xr-x@ 16 my admin 544 Oct 30 23:38 Contents ls -l