com.distriqt.Adverts ANE IOS APP CLOSED ON LAUNCH
Before reporting this issue:
- you should consider whether this would be a question better suited to discussions above ^^ ;
- make sure you have searched for similar issues and add your experience there if one exists.
Problem Description
Describe your problem in detail. Include the following information:
- Which AIR SDK did you use?
- Describe the affected environment: Android vs. iOS, all devices vs. just specific models.
- Can you reproduce it yourself, or did you get reports from other users? If so, how many users are affected (percentage)?
Steps to Reproduce
Tell us how this issue can be reproduced. Seriously: if you want this issue to be fixed, this is the part you really need to get nailed.
Give us a minimal example:
- As little code as possible. Get to the root of the problem!
- As few dependencies as possible. Did the problem pop up with Feathers? Try to reproduce it with Starling only.
- Remove any ANEs (except if they are vital for the problem).
- Include all necessary files (e.g. textures).
Known Workarounds
Just in case others run into this – do you happen to know of a workaround? Otherwise, just remove this section altogether.
Have you got any more information to add around this issue?
The most common cause of a crash on launch with Admob is not correctly adding the GADApplicationIdentifier to your application descriptor. Without this the Admob SDK force crashes your application.
https://docs.airnativeextensions.com/docs/adverts/platform/admob/#application-descriptor
Hi sir, I am still facing the same issue. I have uploaded an XML image. Kindly give a better solution.
Can you provide some more information.
- What AIR SDK are you using?
- What system are you developing on?
- How are you packaging? etc
Cheers
AIR 51.2.2.4 for IOS Windows 10 Pro Adobe Animate 2022
This is likely an issue with the standard linker in the AIR SDK. It doesn't seem to link in the swift symbols correctly.
Current solutions are using an iOS SDK and llvm installation or packaging on macOS. (I'm working on a tutorial to cover this process which I'll publish soon).
@marchbold After I had assets.car file in my project, then only the IPA got crashed on launch . I am used to Windows 10 and animate cc 2022
Do you have a license file for the AIR SDK? If this is a 'free tier' app, where you'd see the splash screen on start-up, then it might be you need to include the splash screen files into your Assets.car file.
See the release notes, section 9.3.
@ajwfrost I am using 'free tier' sir. How to include splash files into Assets .car file?
How are you creating your assets.car file? If you're using a dummy Xcode project, then you can just copy/paste the splash screen images into the top level of this (they're under "lib/aot/res" folder in the AIR SDK). If you're using some other script or similar, it should be a similar concept I would think...
thanks
@ajwfrost I am creating assets.car file using an online tool, sir. I am using the Windows 10 operating system.
Probably you can just upload those two images into the online tool to add them as single image assets into the root of the assets.car file, with the same names as their filenames? It probably depends on the online tool.... failing that it would need to be done on a Mac, e.g. via cloud services such as https://www.macincloud.com (not something I've used but the first hit from Google..)
You can try using the image script I created, it handles creation of the asset car using Xcode from simple png assets:
https://github.com/distriqt/AIR-ImageScripts
(Also handles insertion of the required free tier AIR launch screen)
@ajwfrost @marchbold Anyone help me with a step-by-step procedure to create assets. car file using Windows 10 Pro. I am using free tier Adobe Air .
The assets.car file format is private to Apple, so there's no simple way of doing this on Windows. There are some online utilities it seems - use at your own risk, obviously. Or else use a macOS virtualisation service (or buy an old mac).
Just wondering though, why do you actually need an assets.car file? For your application icon you should be able to use the icon tags within the application descriptor?
thanks
@KalaiArasan46 If you send me your launch png and icons as per the spec here: https://github.com/distriqt/AIR-ImageScripts I'll run the script for you and send you back the launch storyboard / asset catalogue.
@ajwfrost
@marchbold Hi, sir, thanks. Guide me on how to create. This time, you help me next time. What can I do? Kindly give me a Walkthrough to create.
Have a look at the link I sent you above, it has the details on the files you need to create the icon and launch screen assets. Basically 5 images:
- 4 icons 1024x1024
- icon-foreground.png
- icon-background.png
- icon-monochrome.png
- icon-dark.png
- 1 launch screen image 2048x2048
@marchbold Hi, sir, I saw your link and I downloaded the file . After that, what to do? I don't know. I am using a Windows device. And I have an old MacBook Pro It contains Xcode 9 only.
Hi, If you have a look through the instructions in the repository you'll find the details on how to run the script. However it won't run on Windows as it needs Xcode.
@marchbold Now I am struggling to install ImageMagick. My MacBook does not allow unknown resources to install.
How did you go? Did you get imagemagick installed and update your asset catalogue?