Closed sahmirzali closed 3 years ago
Can you post the contents of ios/Runner/Base.lproj/LaunchScreen.storyboard?
Sorry, I should have been more specific. Can you post the XML contents of ios/Runner/Base.lproj/LaunchScreen.storyboard? If you open it with Android Studio, you can copy the XML contents.
`<?xml version="1.0" encoding="UTF-8"?>
`
Your LaunchScreen.storyboard has been modified from the default created by Flutter. This package is designed to update the default version and it cannot handle some changes. You should be able to run the package if you revert to the Flutter default LaunchScreen.storyboard:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="168" height="185"/>
</resources>
</document>
thanks a lot :) it's work
When I run flutter_native_splash: create this error happen. can you help me ?
Bug: - >
shahmirzali@Shahmirzalis-MacBook-Pro quran_app-master % flutter pub run flutter_native_splash:create [iOS] Creating splash images [iOS] Updating LaunchScreen.storyboard with width, and height Unhandled exception: NoSuchMethodError: The getter 'children' was called on null. Receiver: null Tried calling: children
0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
1 _updateLaunchScreenStoryboard (package:flutter_native_splash/ios.dart:139:30)
2 _applyLaunchScreenStoryboard (package:flutter_native_splash/ios.dart:107:12)
3 _createiOSSplash (package:flutter_native_splash/ios.dart:66:9)