gpt4 book ai didi

ios - 编译示例代码时出错 "SourceView"

转载 作者:行者123 更新时间:2023-12-03 17:01:40 25 4
gpt4 key购买 nike

我尝试下载并编译https://developer.apple.com/library/content/samplecode/SourceView/Introduction/Intro.html

我有:Xcode 版本 8.0 (8A218a)macOS Sierra 10.12 测试版 (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.

有人知道如何解决这个问题吗?

最佳答案

根据 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

关于ios - 编译示例代码时出错 "SourceView",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39484967/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com