2016-09-14 5 views
1

Я попытался скачать и скомпилировать https://developer.apple.com/library/content/samplecode/SourceView/Introduction/Intro.htmlОшибка при компиляции образец кода "SourceView"

У меня есть: Xcode версии 8.0 (8A218a) Macos Sierra 10,12 Beta (16A313a)

Я получаю следующее сообщение об ошибке:

/Users/test/Downloads/SourceViewUsingNSOutlineViewwithNSTreeController/SourceView/Base.lproj/Main.storyboard: Exception while running ibtool: [<__NSCFConstantString 0x10db4cca0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key nodeTitle.

У кого-нибудь есть ключ к тому, как это исправить?

ответ

2

Согласно QuinceyMorris @https://forums.developer.apple.com/thread/62880:

It's some kind of bug compiling storyboards in older formats. The only workaround I found (in a different project) was to set the file format to 10.12 (in the File panel of the Utility inspector) instead of the deployment target version. (FWIW the 10.12 format worked OK on 10.11, too, perhaps only by luck.)

Я создал следующий радар:

  • 28316038 обновить образец кода
  • 28316077 на # дублировать 19669391
Смежные вопросы