gpt4 book ai didi

ios - Storyboard无法加载

转载 作者:行者123 更新时间:2023-11-29 10:39:04 24 4
gpt4 key购买 nike

我将 Storyboard从一个项目复制到另一个项目,现在我在尝试加载它时遇到错误。

enter image description here

有什么想法吗?我没有错过任何 View Controller 。什么会阻止 Storyboard加载?

我真的希望我不必重建整个东西。这是一个相当大的。

8/20/14 11:03:07.032 AM Xcode[25482]: DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5069/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76 Details: Failed to load dependencies output contents from ``/Users/rsmith/Library/Developer/Xcode/DerivedData/Tatyana-cddwympaoafzixdpzoffsonzpsyb/Build/Intermediates/Tatyana.build/Debug-iphoneos/Tatyana.build/Objects-normal/armv7s/LoginViewController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LoginViewController.d” couldn’t be opened because there is no such file." UserInfo=0x7f92323dd8f0 {NSFilePath=/Users/rsmith/Library/Developer/Xcode/DerivedData/Tatyana-cddwympaoafzixdpzoffsonzpsyb/Build/Intermediates/Tatyana.build/Debug-iphoneos/Tatyana.build/Objects-normal/armv7s/LoginViewController.d, NSUnderlyingError=0x7f923074c2f0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/rsmith/Library/Developer/Xcode/DerivedData/Tatyana-cddwympaoafzixdpzoffsonzpsyb/Build/Intermediates/Tatyana.build/Debug-iphoneos/Tatyana.build/Objects-normal/armv7s/LoginViewController.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: {name = (null), num = 190} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

我注释掉了那个 View 的部分,现在我明白了

8/20/14 11:12:27.837 AM Xcode[25482]: Exception raised while unarchiving document objects - *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

最佳答案

无需复制整个 Storyboard ,您只需在 Storyboard 中单击即可选择所有 View (在原始项目中打开 Storyboard ),按 cmd + c 并使用 cmd + v 粘贴 在新的里面。你的 segues 和所有的都应该被复制

关于ios - Storyboard无法加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25411309/

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