Closed vakhidbetrakhmadov closed 1 month ago
Can you test that it works with a PNG image in your structure?
Updated Launch.xcassets
like so
$ ls -1 Launch.xcassets
Contents.json
splash.launchimage
$ cat Launch.xcassets/Contents.json
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
$ ls -1 Launch.xcassets/splash.launchimage
Contents.json
logo.png
$ cat Launch.xcassets/splash.launchimage/Contents.json
{
"images" : [
{
"idiom" : "universal",
"filename" : "logo.png"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
And still getting
error: The launch image set "logo" has an unassigned child.
FWIW, launch images of this format work for me: https://github.com/mattrobmattrob/bazel-ios-swiftui-template/commit/95558bafccac320bb5186ffe21d0b33b67a8848c
Thank you very much!
Sorry, i actually confused launch_images
and thought it's designed for specifically providing assets to launch_storyboard
, but those should just go into resources
.
I now understand that launch_images
is for providing static images displayed on app launch.
The issue can be closed 🙏
Hi,
How do i set up launch xcassets with ios_application ?
When trying
i get the following error
And if i change the extension of splash.imageset to launchimage i get