-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splash Images are not displaying from the storyboad in 33.1.1.176 #381
Comments
Hey, do you have a valide licence file in the sdk/lib folder? |
@stoff99 Yes, I have a licence file and copied it in the lib folder. |
@stoff99 could you please use the assets.car file and LaunchScreen.storyboardc file included in the zip file and check whether its showing on your app. I just need to confirm whether the issue with these files or Harman sdk .. Or could you please share the sample project that you have created for generating assets.car file and LaunchScreen.storyboardc? So that I can check it from my side itself. Thanks in advance |
Hello @ukmunnithan, You create your simple XCode project and add the app icon. Than you can simply add a new image set and name it LaunchImage and place your launch image there. Use the dimension 2732x2732 and place your content in the middle of this big image. Than download the premade storyboard from Distriqt: https://airnativeextensions.github.io/tutorials/resources/ios/LaunchScreen.storyboardc.zip Dont forget the InfoAdditions entry: Also make sure you have include the assets.car and storyboard file/folder in the packaging. |
@stoff99 Thanks for your help. I will try and let you know the results. |
@ukmunnithan , are you sure you placed the .lic file in the correct sdk folder /lib? |
@stoff99 Thank you for your help. I had placed the adt.lic file in the lib folder itself. |
Hi - in case it helps, when we were debugging storyboard issues, we generally extracted the IPA that is generated by the AIR SDK, and then checked (a) there is a .storyboardc folder; (b) there is a 'UILaunchStoryboardName' entry in the Info.plist file that refers to this storyboard name; (c) the assets.car file has the right images - case sensitive - as expected by the storyboard (use 'assetutil -I assets.car' for details). thanks |
@ukmunnithan yes it will also be displayed in debug mode. You dont need to create an adhoc or release build for this. |
@stoff99 What makes you think the storyboard is outdated? It's more likely that the asset catalog is missing an asset version for the device than the storyboard is outdated. |
@marchbold @ukmunnithan , Its a bit magic whats going on here ;) |
@ukmunnithan on which device are you testing? |
@stoff99 I have checked in iPhoneXR and iPad 2 device. |
@stoff99 Here is the sample project I have done. In this also its not showing. Could you please run this app and check whether its showing or not? |
Hello @ukmunnithan , sry but i have no active flex sdk and setup. |
@stoff99 @ukmunnithan one thing I also noticed with storyboards is that iOS seems to cache some of the details somehow. When our developer was telling me it was working, and I was seeing just a white screen during start-up, I was getting somewhat frustrated with him .. but then after reading something on stackoverflow, I tried uninstalling the application, rebooting the phone, and reinstalling the application - and this time it then worked. I wonder whether the assets for an application are held/cached centrally and not updated if an app is just updated, perhaps..? Anyway - if you're seeing odd behaviour, it's definitely worth trying the above steps so that you're using a clean-ish environment each time! thanks |
@ajwfrost good to hear that also other persons struggle with that. :) |
@ajwfrost I had done the steps (uninstalled, rebooted the device), But no changes, still getting white screen |
@ukmunnithan , i had a call with a native iOS developer. This often happens also for him in debug build mode. |
@ukmunnithan some news related to your problem? I'm curious :) |
strange, did you tried with another storyboard and assets file? |
@stoff99 Yes, that will be helpful. Please share your storyboard file and assets.car file, so that I will try using your file and let you know the result |
ok please send me your e-mail address. i will send you the files. |
Thank you! my email id is [email protected] |
ok you should got it already. Let me know if something has changed with this 2 files. |
@stoff99 I have tried with your files and its not displayed I also removed the adt.lic file then also the Harman splashscreen is not displayed. |
Hey @ajwfrost , thats rly strange in your case. |
I have created an empty project, then also result is same getting a white screen instead of splash image |
Hi - just an extra point here, if you're using your own icons in an Assets.car file, and are expecting to see the Harman splash screen, then you need to merge our resources with your ones (see release notes). My understanding though is that you've got a license file so this is your own storyboard and assets that are being used? |
Yes, we have our own icon and storyboard file. Its not showing. To
troubleshoot it, I have removed our assets.car file and storyboard file
then also I removed the licence file too. Then Harman splashscreen is not
showing.
…On Tue, Jul 14, 2020, 10:03 PM Andrew Frost ***@***.***> wrote:
Hi - just an extra point here, if you're using your own icons in an
Assets.car file, and are expecting to see the Harman splash screen, then
you need to merge our resources with your ones (see release notes). My
understanding though is that you've got a license file so this is your own
storyboard and assets that are being used?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#381 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEKPKUNT6TW746WGUSCDG3R3SCE3ANCNFSM4OSRZYOA>
.
|
Okay thanks .. we can try grabbing your SampleApp zip file above and trying with this .. |
Thanks. My os version is Mojave 10.14.6
…On Tue, Jul 14, 2020, 10:19 PM Andrew Frost ***@***.***> wrote:
Okay thanks .. we can try grabbing your SampleApp zip file above and
trying with this ..
You're using MacOS I can see, just to check, what version do you have?
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#381 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEKPKUH6VHEYIBB5YCTIDTR3SECJANCNFSM4OSRZYOA>
.
|
@ukmunnithan looking at your storyboard file, I’m not sure that it’s properly set up to use the “solash_landscape” etc file that’s in the Assets file. You’re using a different Xcode version from us which means you’re getting the packed Nib format but if I look in the nib file within the storyboard, there’s no mention of “splash_landscape”.. Is it possible for you to share the .storyboard file, or can you confirm what images you’re actually expecting to see? The Assets includes the splash_*.png files and also some launch images but I can’t see any references in the storyboard files for these, whereas when I look at the storyboard files that we generate here, we can see there’s some names used in them that refer back to the assets.. Thanks |
@ajwfrost Hereby attaching the storyboard file and assets.car file. |
@ukmunnithan I was hoping for the storyboard source code rather than the compiled storyboardc folder, but actually if we do look into this: Looking further at the assets, in our file we have two entries for each image, one is compressed with deepmap-lzfse which is what yours uses, and the other uses lzvn. So this may be to do with how you’re embedding your images, or the project/compatibility settings within this perhaps? |
Hi @ajwfrost |
Hi |
While taking build I have selected device as 'Generic ios device'.
…On Tue, Jul 21, 2020, 12:58 PM Andrew Frost ***@***.***> wrote:
Hi
Just looking at this, it's set to build for "iPhone 11 Pro Max" and this
is then limited the assets that are exported into the Assets.car file.. are
you able to change this and build for "Generic iOS Device" and try with the
Assets.car from that?
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#381 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEKPKUZZ5IYMRS4TR2EUZTR4U7SZANCNFSM4OSRZYOA>
.
|
@ajwfrost @marchbold @stoff99 |
@ukmunnithan okay just to go back to the storyboard/assets: if we create the assets.car and storyboardc using Xcode with generic iOS device, and then take those two into the IPA packaging on a licensed version of the SDK, along with an XML descriptor file with the UILaunchStoryboardName key, then it works as we would expect.. your assets file is used showing the right application icon, and the right storyboard launch image is shown. There's an issue if you're using "-connect" to package up as the 'connect to debugger' dialog is shown below the storyboard which then never is removed! In terms of the TestFlight issue above, this may the same as was just reported where our IPA files are advertised as being created by Xcode 11.2.0 which is no longer supported, we can update this flag so I'll get you a version to try out.. Have you got the storyboard stuff working too or do you have open issues on that? We're definitely finding that we need to uninstall the app from the device/simulator each time otherwise it doesn't clear out the settings.. thanks |
@ajwfrost Thank you for kind support. |
@ukmunnithan in case you didn't see it, we've got a test version of ADT available which can be put into the "lib" folder in the SDK, and will then update the Xcode version number in the Info.plist file. So this may be behind that error you're seeing about 'Invalid Bundle'..? |
@ajwfrost Thank you for sharing the file. |
@ajwfrost I am getting the same message when trying to upload the build-in testflight even after I used the new adt.jar file. Do I need to create the ANE's lib file (xxxx.a) the latest XCode version? |
@ajwfrost Previously We have created and uploaded build with 33.1.1.98.Now we are getting this issue. So I think the issue is not related to ane's. For 33.1.1.190 we are newly included the asset.car file and storybord file.. |
@ajwfrost Thanks for the support. |
Okay great! thanks - any hints as to what you had to do in order to get it accepted would perhaps be useful for others who encounter similar issues! :-) |
We were used the Application Loader to upload the build to Testflight. And we were used the tool for last 4-5 years. |
@ajwfrost I am experiencing a strange issue. I placed two splash screen images one with CBN Logo and one with Superbook Logo. Both images are made with the same background color. CBN logo is placed in the storyboard file and superbook logo I placed in the Flex splashscreenimage. |
Problem Description
I have created the splash images from the storyboard (https://wiki.starling-framework.org/manual/ios_launch_images#using_launchscreenstoryboard) as like this way. And added the storyboard file and assets.car file in my project root directory. included the tag UILaunchStoryboardName
LaunchScreenin the app.xml file.
But when the app is launching it shows a black screen instead of splash images in the iPhones and a white screen in the iPad instead of the splash images.
Could you please help
I am attaching storyboard file and assets.car files
Archive.zip
The text was updated successfully, but these errors were encountered: