今天用xcoed打開非常老的項目時候一直轉(zhuǎn)圈
后面發(fā)現(xiàn)是因為storyboard版本太老 當(dāng)時的toolsVersion并沒有Top Layout Guide和Bottom Layout Guide兩個 所以導(dǎo)致打不開
后面刪了重裝或者打開新建項目都可以打開Main和LaunchScreen
之后以xml的方式修改了兩個文件中的這一段以后發(fā)現(xiàn)可以打開
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
? ? <dependencies>
? ? ? ? <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/>
? ? ? ? <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
? ? ? ? <capability name="Safe area layout guides" minToolsVersion="9.0"/>
? ? ? ? <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
? ? </dependencies>
之后排查以后發(fā)現(xiàn)主要是因為
toolsVersion="13142"?版本的原因?qū)е铝薓ain和LaunchScreen文件打不開
之前的工具版本為8150并不包含