覆盖默认的LaunchScreen.storyboard

时间:2018-07-13 07:40:44

标签: appcelerator appcelerator-titanium

我尝试覆盖默认的LaunchScreen.storyboard。 但是我得到如下错误:

  

[错误]:**建立失败**

     

[ERROR]:以下构建命令失败:

     

[错误]:CompileStoryboard LaunchScreen.storyboard

     

[错误] :( 1次失败)

我做了一个新的Mobile App项目 然后将来自全新xcode项目的空白LaunchScreen.storyboard放入app / platform / ios目录。但是我遇到了同样的错误。

如何解决此问题。 谢谢。

Titanium SDK

✓安装了最新的SDK(v7.2.0.GA)

✓选择了最新的sdk(v7.2.0.GA)

iOS环境

✓已安装Xcode(9.4.1)

✓已安装iOS SDK(11.4)

[LaunchScreen.storyboard]

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" 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="13104.12"/>
    <capability name="Safe area layout guides" minToolsVersion="9.0"/>
    <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
    <!--View Controller-->
    <scene sceneID="EHf-IW-A2E">
        <objects>
            <viewController id="01J-lp-oVM" sceneMemberID="viewController">
                <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
                    <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                    <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                    <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
                </view>
            </viewController>
            <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
        </objects>
        <point key="canvasLocation" x="53" y="375"/>
    </scene>
</scenes>
</document>

LaunchScreen.storyboard in app/platform/ios directory

0 个答案:

没有答案