xcrun

Xcode fails with “Code Signing” Error

天涯浪子 提交于 2019-11-27 14:01:27
Alternate Titles (to aid search) Xcode 'CodeSign error: code signing is required' Xcode: iPhone app codesign error /usr/bin/codesign failed with exit code 1 Jenkins fails with Code Sign error Command-line build fails with "provisioning profiles not found" Archiving Xcode project fails with provisioning error Missing signing certificates in Xcode Symptoms The issue manifests it's self in one of several ways: Running your app on a device results in an error referencing "code signing" or "expired signing certificates" Building from the command line (or using a continuos integration system, such

Invalid active developer path on MAC OS X after installing Ruby

烂漫一生 提交于 2019-11-27 07:10:20
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? Shuvo I started getting the same error after updating to OS X El Capitan. In my case, all I did was to install it: sudo xcode-select --install And it works fine for me. [Update] The steps

xcrun unable to find simctl

安稳与你 提交于 2019-11-27 00:14:06
问题 Attempting: xcrun simctl in terminal yields: xcrun: error: unable to find utility "simctl", not a developer tool or in PATH I have Xcode 6.2 Beta. Any suggestions? 回答1: I solved this problem by entering Xcode > Preferences > Locations And assigning the Command Line Tools This is in Xcode Version 7.2 beta (7C46t) 回答2: If you need a GUI instruction See below!!! 回答3: In terminal, try this. xcode-select -s /Applications/Xcode.app /Applications/Xcode.app is your Xcode.app path. 回答4: I had the same

Xcode fails with “Code Signing” Error

别来无恙 提交于 2019-11-26 16:34:58
问题 Alternate Titles (to aid search) Xcode 'CodeSign error: code signing is required' Xcode: iPhone app codesign error /usr/bin/codesign failed with exit code 1 Jenkins fails with Code Sign error Command-line build fails with "provisioning profiles not found" Archiving Xcode project fails with provisioning error Missing signing certificates in Xcode Symptoms The issue manifests it's self in one of several ways: Running your app on a device results in an error referencing "code signing" or

Better way of incrementing build number?

杀马特。学长 韩版系。学妹 提交于 2019-11-26 01:46:20
问题 I have been using a shell script as part of my Xcode build process to increment the build number within the plist file, however it\'s making Xcode 4.2.1 crash frequently (with an error about the target not belonging to a project; I\'m guessing the changing of the plist file is confusing Xcode in some way). The shell script did this so that the build number is only incremented by agvtool when a file is newer than the plist file (so just building didn\'t increment the value): if [ -n \\\"`find

Better way of incrementing build number?

允我心安 提交于 2019-11-25 20:10:50
I have been using a shell script as part of my Xcode build process to increment the build number within the plist file, however it's making Xcode 4.2.1 crash frequently (with an error about the target not belonging to a project; I'm guessing the changing of the plist file is confusing Xcode in some way). The shell script did this so that the build number is only incremented by agvtool when a file is newer than the plist file (so just building didn't increment the value): if [ -n \"`find ProjDir -newer ProjDir/Project-Info.plist`\" ]; then agvtool -noscm next-version -all; else echo \"Version