App Store build beta testing available

My suggestion is when iOS Production is gonna release,

Please release it as seperate Deployment,

And mainly please remove the non working components/blocks/ etc... as mentioned in http://doesappinventorrunonios.com/
It will be useful for developers to create apps easily and quickly.

The test server's documentation page on iOS app building has been updated to include a section on generating the App Specific Password as well as the new Developer Mode setting introduced in iOS 16 as an extra precaution introduced by Apple around installing of non-Apple approved software.

https://iosbuildservertest.appinventor.mit.edu/reference/other/build-ios-apps.html

2 Likes

While I appreciate your candor, we only have a fixed amount of resources for running and maintaining production systems. The best course of action for our team is to release the iOS build functionality into the existing product.

3 Likes

So to generate an ipa file we also need a developer account with Apple? Even if we don't want to publish the app in the Apple store? I thought it would be something like an APK file that we could generate without paying.

Yes.

Without an Apple Developer Account, you cannot have certificates, profiles, app-specific passwords, etc. assigned to you. See also here: Building Apps for iOS with MIT App Inventor

1 Like

I have now compiled a small audio test app and installed it on one of my iOS test devices (iPhone 6s, iOS 15.79) (Ad hoc).

  1. I used images as a spacer and specified the height/width in px or % values. This seems to work with Companion but not with compiled app (IPA). It only works when an empty (4px) png is assigned to the images. So that's not a problem if you know it.

  2. Images cannot be assigned to buttons with the IPA (these are not displayed with the IPA). Companion works. You have to use clickable images instead. If you know that, that's not a problem either.

  3. Material icons do not work with Companion or with the IPA, although they are displayed correctly in the designer (► / ■ play_arrow / stop).

  4. "invalid application. Irritants: (#!null)" after opening the IPA for the first time. Nevertheless, the app works just as well as with Companion). The problem does not occur with Companion.

  5. As soon as the app goes into the background, the sound stops completely (music & voice). After the app is back in the foreground the sound continues to play. Companion & IPA. (Of course PlayOnlyInForeground is not enabled.)

  6. MP3, M4A, AAC,... audio files cannot be looped gapelessly (as I discovered in my last test almost 2 years ago - at least with Companion). So it remains that only uncompressed audio formats such as WAV, AIFF, ... or so-called IMA4 files (compressed to about a quarter) work. I noticed the same thing almost 9 years ago when I took my first steps with Xcode and Swift 1.0. And that doesn't seem to have changed to this day .

If desired, I can forward the (test) aia & IPA to the MIT AI team. @ewpatton


PS: I will check it soon also on an iPad Pro (12.9, 4th gen - iOS 16.7 and 17.0.2).

3 Likes

Addendum:

  1. Switching the screens doesn't work (at least not the way we know it from Android). Neither by not closing Screen1 when switching to another screen nor by not closing Screen1.
    After switching Screen1 and Screen2 4-5 times:


    ..............
    It seems that Screen1 cannot be closed with iOS:
    grafik
    When I play a sound on Screen1 and switch to Screen2 this way, the sound does not stop (so Screen1 is not closed).

  2. On Screen2 it is displayed with Companion (and in the Designer) and in the IPA like this (left: Companion, right: IPA):


    ..............

I have now registered and added the iPad Pro 12 (iOS 17.0.2). Unfortunately I receive the following message when I try to open the app:

grafik

The installation appears to be completed after the app icon has completed. However, the app cannot be opened.

Yes @Anke, please PM me the test project. Once I take a look I'll reply back with responses to your comments.

I'm still on the way... I'll send the aia when I get back. I have simplified the project to the essentials.

Point 2 seems to have been resolved. The buttons are now displayed (also with the IPA). I tested it at least 20 times yesterday. No idea what happened (I didn't change anything).

I have now sent you the project via PM.

Today I first removed the app from my iPad Pro 12 and tried installing it again. (I tried at least 5 times yesterday without success.) Now the installation process actually seems to complete completely. When I then tried to open the app, the message appeared that the developer options had to be activated. Only after I did this (the location to enable it has apparently changed since iOS16/17), restarted the device, then confirmed enabling the developer options again, did the app finally open.


  1. As can already be seen under point 7, the width of the slider (75%) is not displayed correctly on either the iPhone or the iPad with the IPA (Companion works).

IPA on iPad Pro 12 - Screen1 and 2:


(Error after 4-5x switching Screen1 & 2)

Companion on iPad Pro 12 - Screen1 and 2:

Yeah I am not sure what actually triggers this. I was not having any issues with iOS 16 on my iPhone, but once I upgraded to 17 all of my iOS devices started giving the error. There is a section on the iOS build instructions that goes over how to turn on developer mode. Unfortunately, this seems like yet another roadblock Apple is putting up for people developing their own apps.

I'm logging the additional layout and behavior issues with our issue tracker so we can fix the functionality before release.

Affects only compiled apps (IPA):

  1. There must not be a non-empty Screen.Initialize event on any screen. There can't even be an empty Screen.Initialize event on Screen1. Instead, I replaced the Screen.Initialize events of all screens with timers. There are now no more problems/error messages.

  2. There are no problems when switching the screens, as long as you don't want to open other screens via Screen1, but only switch between the other screens (non-Screen1 screens). When switching to another screen via Screen1, an error message appears after 4-5 attempts at the latest and the app freezes.


By the way, I had to change the view mode on my iPad to "Dark" so that the screen titles would be displayed/visible.

Any news on this? (point 3 in post #17)
Are there any special requirements for using Material icons on iOS?
@ewpatton

ChatGPT (→ Xcode)

and on AI2 for iOS?


Of course, if I upload the icons (PNGs) to the assets and then assign them to each, it works (but that's how it's always worked).

Even if I set the AppName in Project Properties, the iPhone Application name when installed is the name of the project.

I need answers can I create iOS app with MIT app inventor I've been trying to find answers. No answers found can't find anyone who knows.

You have already received an answer from me.

1 Like