Ich hatte Xcode ausgeführt, um zu lernen, wie man iOS-Apps entwickelt. Alles funktionierte einwandfrei, aber Xcode fror weiter ein und ich musste die Hälfte zwingen, das Programm zu beenden. Es wurde vorgeschlagen, Xcode neu zu installieren. Ich habe das getan und es schien in Ordnung, neu zu installieren.
Jetzt wird Xcode jedoch gestartet, die Datei Main.storyboard wird jedoch nicht geöffnet. Es wird geöffnet und Sie können die Textdateien bearbeiten. Wenn ich jedoch versuche, Main.storyboard oder LaunchScreen.storyboard zu öffnen, wird ein zahnradähnliches Symbol angezeigt, das jedoch keine Datei lädt.
Kann mir bitte jemand helfen, Xcode zum Laufen zu bringen?
Ich verwende High Sierra 10.13.6 und Xcode 10.1.
Hier ist der Quellcode für Main.storyboard
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ygV-oz-tLR">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--ToDo List-->
<scene sceneID="A9s-AT-4j0">
<objects>
<tableViewController id="yR9-hP-vAV" customClass="ToDoTableViewController" customModule="ToDo_List" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="Ixa-rN-v7n">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="ngh-G9-ONg">
<rect key="frame" x="0.0" y="28" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ngh-G9-ONg" id="cWC-8W-qDK">
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="yR9-hP-vAV" id="cpa-VR-las"/>
<outlet property="delegate" destination="yR9-hP-vAV" id="PVd-rM-Yqu"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="ToDo List" id="1K6-Q0-zG0">
<barButtonItem key="rightBarButtonItem" systemItem="add" id="fBK-eZ-L90">
<connections>
<segue destination="xmu-tN-ZMm" kind="show" id="aVw-WO-sTe"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<segue destination="B4l-Zb-T9m" kind="show" identifier="moveToComplete" id="b7Q-gS-cwz"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="ILe-S0-MPF" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1610" y="-429"/>
</scene>
<!--Create To Do View Controller-->
<scene sceneID="crg-nJ-Vb3">
<objects>
<viewController id="xmu-tN-ZMm" customClass="CreateToDoViewController" customModule="ToDo_List" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="k2t-ln-joT">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Task" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QMa-uF-UB2">
<rect key="frame" x="164" y="95" width="47.5" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" placeholder="Buy Eggs" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ZJ9-HW-zPC">
<rect key="frame" x="25" y="132" width="325" height="34"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<textInputTraits key="textInputTraits"/>
</textField>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Important?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NCJ-uw-GE1">
<rect key="frame" x="131" y="205" width="113" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="lQa-iU-USM">
<rect key="frame" x="163" y="244" width="51" height="31"/>
</switch>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QLZ-dz-gZY">
<rect key="frame" x="166" y="313" width="43" height="41"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<state key="normal" title="Add"/>
<connections>
<action selector="addTapped:" destination="xmu-tN-ZMm" eventType="touchUpInside" id="OwY-gs-dRH"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="QMa-uF-UB2" firstAttribute="top" secondItem="PUs-XU-5Va" secondAttribute="top" constant="31" id="50H-Kd-uRn"/>
<constraint firstItem="ZJ9-HW-zPC" firstAttribute="centerX" secondItem="k2t-ln-joT" secondAttribute="centerX" id="61r-ue-1mo"/>
<constraint firstItem="QLZ-dz-gZY" firstAttribute="centerX" secondItem="k2t-ln-joT" secondAttribute="centerX" id="BN6-mZ-rwD"/>
<constraint firstItem="QMa-uF-UB2" firstAttribute="centerX" secondItem="k2t-ln-joT" secondAttribute="centerX" id="J9w-Ou-EWI"/>
<constraint firstItem="NCJ-uw-GE1" firstAttribute="centerX" secondItem="k2t-ln-joT" secondAttribute="centerX" id="MZY-e1-lOr"/>
<constraint firstItem="lQa-iU-USM" firstAttribute="centerX" secondItem="k2t-ln-joT" secondAttribute="centerX" id="bNr-NW-ddD"/>
<constraint firstItem="ZJ9-HW-zPC" firstAttribute="leading" secondItem="PUs-XU-5Va" secondAttribute="leading" constant="25" id="hue-hV-lLs"/>
<constraint firstItem="lQa-iU-USM" firstAttribute="firstBaseline" secondItem="NCJ-uw-GE1" secondAttribute="baseline" constant="16" symbolType="layoutAnchor" id="kUT-Zs-1gg"/>
<constraint firstItem="NCJ-uw-GE1" firstAttribute="top" secondItem="ZJ9-HW-zPC" secondAttribute="bottom" constant="39" id="oQo-Uu-0Qp"/>
<constraint firstItem="PUs-XU-5Va" firstAttribute="trailing" secondItem="ZJ9-HW-zPC" secondAttribute="trailing" constant="25" id="oTN-xi-wpK"/>
<constraint firstItem="QLZ-dz-gZY" firstAttribute="top" secondItem="lQa-iU-USM" secondAttribute="bottom" constant="38" id="tMz-0b-mL3"/>
<constraint firstItem="ZJ9-HW-zPC" firstAttribute="top" secondItem="QMa-uF-UB2" secondAttribute="bottom" constant="8" id="xrJ-dT-oA7"/>
</constraints>
<viewLayoutGuide key="safeArea" id="PUs-XU-5Va"/>
</view>
<connections>
<outlet property="ImportantSwitch" destination="lQa-iU-USM" id="KcW-b1-3iy"/>
<outlet property="nameTextfield" destination="ZJ9-HW-zPC" id="Dbd-lL-UYg"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="XVC-FI-qmt" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2302" y="-429"/>
</scene>
<!--Complete View Controller-->
<scene sceneID="J4s-0m-7oZ">
<objects>
<viewController id="B4l-Zb-T9m" customClass="CompleteViewController" customModule="ToDo_List" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="gIE-qm-ziM">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VlY-OE-5rH">
<rect key="frame" x="20" y="100" width="335" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="L1s-7S-g1r">
<rect key="frame" x="137" y="135" width="101" height="41"/>
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<state key="normal" title="Complete"/>
<connections>
<action selector="completeTapped:" destination="B4l-Zb-T9m" eventType="touchUpInside" id="Kqw-Fe-o6g"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="VlY-OE-5rH" firstAttribute="centerX" secondItem="gIE-qm-ziM" secondAttribute="centerX" id="NQb-3P-0Bh"/>
<constraint firstItem="q5f-nc-a7m" firstAttribute="trailing" secondItem="VlY-OE-5rH" secondAttribute="trailing" constant="20" id="O1n-Kd-5aL"/>
<constraint firstItem="L1s-7S-g1r" firstAttribute="top" secondItem="VlY-OE-5rH" secondAttribute="bottom" constant="6" id="PEm-nv-co8"/>
<constraint firstItem="VlY-OE-5rH" firstAttribute="leading" secondItem="q5f-nc-a7m" secondAttribute="leading" constant="20" id="bTf-XD-FK3"/>
<constraint firstItem="L1s-7S-g1r" firstAttribute="centerX" secondItem="gIE-qm-ziM" secondAttribute="centerX" id="fev-Xl-h5r"/>
<constraint firstItem="VlY-OE-5rH" firstAttribute="top" secondItem="q5f-nc-a7m" secondAttribute="top" constant="36" id="iay-D9-tWA"/>
<constraint firstItem="VlY-OE-5rH" firstAttribute="top" secondItem="q5f-nc-a7m" secondAttribute="top" constant="36" id="t6F-85-2uY"/>
<constraint firstItem="VlY-OE-5rH" firstAttribute="leading" secondItem="q5f-nc-a7m" secondAttribute="leading" constant="20" id="tEY-Zk-8tN"/>
<constraint firstItem="q5f-nc-a7m" firstAttribute="trailing" secondItem="VlY-OE-5rH" secondAttribute="trailing" constant="20" id="tFS-fF-mSN"/>
<constraint firstItem="L1s-7S-g1r" firstAttribute="top" secondItem="VlY-OE-5rH" secondAttribute="bottom" constant="6" id="xDx-fv-OjJ"/>
</constraints>
<viewLayoutGuide key="safeArea" id="q5f-nc-a7m"/>
</view>
<connections>
<outlet property="nameLabel" destination="VlY-OE-5rH" id="R1V-mk-y6s"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="uVo-zX-Ks5" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1609" y="385"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="boR-hX-Jev">
<objects>
<navigationController id="ygV-oz-tLR" sceneMemberID="viewController">
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="SFC-Nc-Db8">
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="yR9-hP-vAV" kind="relationship" relationship="rootViewController" id="Z7o-NW-Xqp"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="urB-J8-cVw" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="658" y="-429"/>
</scene>
</scenes>
</document>
<device>
und <dependencies>
als Teil Ihrer Frage einfügen ?