How to fix ibtool error with Main.storyboard error: shouldBeArchived unrecognized

I have never encountered this problem before. The application used to run is excellent, but now it always talks about this error. I tried to clear and reboot. I tried resetting iOS Simulator. I tried to delete the received data.

This is what xcode builds says:

CompileStoryboard AITEST/Base.lproj/Main.storyboard cd /Users/tinkl/Documents/project-xcode/testProject/AITEST export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:(null)/Users/tinkl/.gem/ruby/2.0.0(null):(null)/Library/Ruby/Gems/2.0.0(null):(null)/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0(null):/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --target-device iphone --errors --warnings --notices --module AITEST --minimum-deployment-target 8.1 --output-partial-info-plist /Users/tinkl/Library/Developer/Xcode/DerivedData/AITEST-eyqkoubdyxykegdhwecchlxhuetf/Build/Intermediates/AITEST.build/Debug-iphonesimulator/AITEST.build/Main-SBPartialInfo.plist --auto-activate-custom-fonts --output-format human-readable-text --compile /Users/tinkl/Library/Developer/Xcode/DerivedData/AITEST-eyqkoubdyxykegdhwecchlxhuetf/Build/Products/Debug-iphonesimulator/AITEST.app/Base.lproj/Main.storyboardc /Users/tinkl/Documents/project-xcode/testProject/AITEST/AITEST/Base.lproj/Main.storyboard 2015-06-16 10:44:10.053 ibtoold[20616:447845] -[IBUIViewControllerAutolayoutGuide shouldBeArchived]: unrecognized selector sent to instance 0x7fdd8d4b0d40 /* com.apple.ibtool.errors */ /Users/tinkl/Documents/project-xcode/testProject/AITEST/AITEST/Base.lproj/Main.storyboard: error: Exception while running ibtool: -[IBUIViewControllerAutolayoutGuide shouldBeArchived]: unrecognized selector sent to instance 0x7fdd8d4b0d40 

start the system:

1: OS X EL Capitan version 10.11

2: Xcode Version 6.1 (6A1052c)

3: command tools version 6.1

Any help for this would be great. I also have a pretty big storyboard. It is important?

Thanks in advance!

Another failure:

  • if it is verified that the UIViewController lock is disabled, Success will be created.

  • if using the UITableViewController in the storyboard uses autorun to enable, it will create Success.

here is the ibtool version:

tinkl: ~ tinkl $ ibtool --version

bundle-version 1878 short-bundle version 6.1

+7
ios build xcode swift ibtool
source share
4 answers

This issue was resolved for me after upgrading the Xcode version.

I ran into this problem after working on a project in an old version of Xcode and upgrading to El Capitan without updating Xcode.

After updating Xcode, it worked.

+6
source share

I couldn't get this to work, but what I did was a symbolic link to a newer version of Xcode. I 6.2.0 6.3.2 to 6.2.0 . I am not sure about the consequences of this.

ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool /Applications/Xcode_6.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool

+3
source share

This problem usually occurs when copying any user interface from a storyboard to XIB or vice versa. As soon as you copy any thing, check if things are supported in XIB, for example, if I copy something from the storyboard to the xib file, then there are many things that are not supported (obviously, because the storyboard is a newer version of xib) and a simple example for this is a prototype table cell.

So just remove these unsupported things from the user interface, and that’s all. It will start working again.

0
source share

This error occurs due to a mismatch in the storyBoard size developed by you and the simulator. You can solve this in two ways by resizing the storyBoard or by deselecting the autorun option. Autolayout is a placement of tools as in each permission. Therefore, when a mismatch occurs. must be trimmed to fit screens. This is the reason for this error.

0
source share

All Articles