PROBLEM when exec the IPA (ad Hoc) in Iphone - total diferent as Companion

@ewpatton we have now the new version for Android nb195a 11.27.2023 /Companion 2.69 running well for Android but for iOS we have the version 2.64.3.3/Companion 2.68 (Attention: In the TestFlight we have only available the Companion 2.64.4 (11) running well with the app but I can not generate a right IPA Ad Hoc file to test the app: When I access to iOS server with the same app I receive the attached message and when I create a IPA file and install it on my iPhone, whne I run the app it is automatically closed.

Unfortunately I have not had time to update the test server with the latest version. I will see about getting to it over the weekend. Note that the new production only went out a few days ago, and updating any server takes us some time. Updating the production servers is the top priority and then we work our way down through the other services we run.

3 Likes

Thank you so much. I think we are doing very well because the tests with the iOS/Companion are very good and now we only need the compiler part to obtain the IPA (Ad Hoc) files and those to publish the app in the Apple Store.

Hi.

@ewpatton After this update there are still differences between the view in Companion and the real App, especially in terms of positioning of the elements on the screen. I use the latest version of Companion available on the App Store (2.64.3 build 5).

On the other hand, I don't have any problem to compile the Ad Hoc version, but I can't compile the App Store version at all. It gets to 92% and after a few seconds it displays an error message. @Anke Have you managed to do it?

Regards

I haven't tried it yet. Post a screenshot of the error message.

1 Like

I still don't have that version of Companion in the App Store :frowning:

I leave you the screenshot of the error.

@ewpatton @Anke Do you know what the problem might be? As I said, I can easily create the Ad Hoc file, but I can't compile the App Store version. I have tried using appinventor.ai-juanluber.PROJECTNAME and also appinventor.ai_juanluber.PROJECTNAME (with underscore which I think is correct). Similarly I have used Explicit mode and wilcard with appinventor.ai_juanluber.*.
With any of these options I can't compile for App Store, in all cases it stays at 92% and tells me that the package name could not be found.

Can you help me? Thank you very much.

Confirmed.

Did you create an entry in App Store Connect for your app? If this is the first time you're uploading an app to the App Store, you must manually create the entry via the App Store Connect and associate the bundle ID with that app:

1 Like

Yes, I've tried it but it won't let me do it. When I specify the Pack ID (appinventor.ai_juanluber.PROJECTNAMEt) it shows me the error that only alphanumeric characters, hyphens and dots can be used (just what I am doing) So, it is impossible to create an app in App Store Connect with the suffix appinventor.ai_juanluber.PROJECTNAME.

Your ID includes an underscore (_). You need to change the App Bundle ID to use a hyphen (-) instead. Make sure you read the section on Create App Identifier on our website.

Right, I had made the mistake of using the underscore, now it works perfectly. Thank you very much for your help. Best regards.

Yes, of course I should have known.

Hello @ewpatton and @Anke
I have my app in Android with the normal AI2-Android server v 2.69 running well with Companion and I cant build the .APK running well. I export their .AIA to my PC.

I copy/import this .AIA to the AI2-iOS server v 2.64.4-12 (the last). I receive 4 time messages as the image about different versions of the .AIA (it is logic).

At the end I have the app in this AI2-iOS server. It runs full well with the iOS Companion¡¡¡. I can build/generate the .IPA file and I can install it in my iPhone. But, when I want to test/run the app with this .IPA (Ad Hoc) file with my iPhone I receive a fatal error about the ListAsJSON (see you the photo):

I 'm not ussing in my app the List as JSON notation (and in the iOS server I have this option with false value, as you can see in the attached image):


I only use in the app the Lisp notation for all the Lists.

What can I do?
May be I must generate the .AIA whit a older version from the current AI2 server to solve this problem?

Thanks for your support.

Either option should be fine. I believe that property has been implemented since we published the very first iOS companion. I will take a look and see if anything seems amiss. You could try enabling the option (which is the default) assuming your code doesn't rely on the LISP style vs JSON style notation.

I have tested the new .IPA file with the option "ListsAsJson" with "true" and in this case I don't receive the fatal error, but the app show only a full blank screen (blocked).

What is certainly curious is that the pp works perfectly with the iOS-Companion but with the IPA file it is blocked.

I will look into it. The app should be allowing for setting that property...