Compiled IPA Does Not Open

Hello, everyone:

I just made some changes to one of my iOS Apps. Everything works perfectly fine when I use the App Inventor Companion to simulate my App on my iPhone 13 (iOS 27.2). However, I am having issues with the actual compiled IPA for my App.

When I try to open it, I get a black screen with the App Icon in the center for about 15 seconds before I get kicked back to the iPhone Home Screen. I compiled the previous App Revision, and it works as expected. I also recompiled one of my other iOS Apps, and it also works as expected.

Obviously, one of my new changes is causing issues, but I have no idea what it could be since I am not getting any error codes (either from the Companion or the IPA). My changes included some additional UI Elements (just Horizontal Arrangements, Labels, Checkboxes, Buttons, and Textboxes) and the code to make them work within my existing structure. Previously, I had an issue where enabling the β€œHTML Format” option for my Labels would prevent my App from opening, but I have since disabled that.

Before I scrap the changes and slowly add things back in, I would like to know if there are any standard issues that I accidently introduced. Did anything get included in the latest App Inventor release that could be messing me up? Any ideas would be appreciated, and I can share my project for testing if necessary.

Thanks!

Adam :slightly_smiling_face:

To narrow down the problem, disable all timers and the Screen.Initialize event on Screen1, then try again.

@Anke

I have disabled my timers, and my Screen.Initialize block is empty on Screen1.

The compiled IPA does the same thing (does not open).

This makes me think that I have an issue in the Designer.

Any ideas on what to try next?

Adam

Ok, post the aia or send it to me via PM. I can take a look tomorrow.

@Anke

Sent.

Thanks!

Adam :+1:

The problem is in the VerticalArrangement_Send_Config_Info. If deleted the app opens. So check it out.

1 Like

I found my issue!

There were two labels in that Vertical Arrangement that I was using as border separators with a long sequence of β€œβ€”β€”β€“β€ characters stored in them. Apple must not like long strings such as those within Vertical Arrangements because removing those fixed the IPA.

This was a visual effect that I had carried over from the Android version of my App, but I can certainly live without it for the Apple version.

@Anke Thanks for pointing me in the right place! It did not take me long to fix once I knew exactly where to look.

Adam :+1::grin:

1 Like

Thanks for reporting – it helps others.

Can you send me a copy of the project that was failing? I can take a look at the specific error in a debug build to see what is causing the problem.

1 Like

@ewpatton

I just included you in the same PM that I sent Anke.

Thanks!

Adam :slightly_smiling_face: