Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
mac:errors:xcodebuild [2018/02/21 00:43] – [xcode-select: error: tool 'xcodebuild' requires Xcode] mirocowmac:errors:xcodebuild [2018/02/21 00:51] (текущий) – [Ошибки] mirocow
Строка 1: Строка 1:
 ====== Xcode ====== ====== Xcode ======
  
- 
-===== Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild. ===== 
- 
-There is a similar problem with building Qt itself with Xcode 8. I have the Qt 5.7 source code on my machine with Xcode 8 GM, and I when I run 'configure' I get the same message about needing to agree to the Xcode license. Going through the agree procedure (which is described wrongly in the error message, incidentally) makes no difference. 
-(https://forum.qt.io/topic/71119/project-error-xcode-not-set-up-properly/7) 
- 
-==== 5.6 ==== 
  
 <code bash> <code bash>
-cd /opt/Qt5.6.1/5.6/ +brew install qt
-$ echo "$(cat clang_64/mkspecs/features/mac/default_pre.prf | sed -e 's~isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))~isEmpty($$list($$system(\"/usr/bin/xcrun -find xcodebuild 2>/dev/null\")))~g')" > clang_64/mkspecs/features/mac/default_pre.prf+
 </code> </code>
 +===== Ошибки =====
  
-==== 5.7 ==== +== Xcode not set up properlyYou may need to confirm the license agreement by running /usr/bin/xcodebuild. ==
- +
-<code bash> +
-$ cd /opt/Qt5.7.0/5.7/ +
-$ echo "$(cat clang_64/mkspecs/features/mac/default_pre.prf | sed -e 's~isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))~isEmpty($$list($$system(\"/usr/bin/xcrun -find xcodebuild 2>/dev/null\")))~g')" > clang_64/mkspecs/features/mac/default_pre.prf +
-</code> +
- +
-===== Ошибки =====+
  
 +There is a similar problem with building Qt itself with Xcode 8. I have the Qt 5.7 source code on my machine with Xcode 8 GM, and I when I run 'configure' I get the same message about needing to agree to the Xcode license. Going through the agree procedure (which is described wrongly in the error message, incidentally) makes no difference.
 +(https://forum.qt.io/topic/71119/project-error-xcode-not-set-up-properly/7)
 == <Growl/Growl.h> file not found in xcode == == <Growl/Growl.h> file not found in xcode ==