my difficulties publishing my app to the Apple Store
Before anything else, I want to clarify a few things: 1 - I've never owned anything from Apple, nor do I have any experience programming for Mac or iOS; 2 - Xcode version: 16.4; 3 - I used MacinCloud to open the project and publish it;
My experiences: 1 - They don't accept transparent icons (I don't recall seeing this anywhere on pwabuilder docs/site). 2 - There were some warnings (not errors) with the icons: launchicon 4x and 5x, appicon 192. I had to physically delete the files and then remove their references for the warning to disappear. 3 - There was an error with LaunchScreen (I didn't quite understand what it was - but it was something related to tablets), and talking to chatgpt, I made some changes to Info.plist I removed this
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
and added this
<key>UILaunchScreen</key>
<dict>
<key>UIColor</key>
<string>FFFFFF</string> <!-- White background -->
</dict>
<key>UIRequiresFullScreen</key>
<false/>
4 - In item 8 of the documentation, it says that you have to choose "manual" and "apple distribution." I don't know if I did something wrong along the way, but it kept giving me an error and I couldn't resolve it (something saying it had to be iOS distribution). All I know is that after I chose automatic signing (the documentation says it has to be manual), it started working. I also don't know if this has any negative impact in the future if I need to generate a new version. 5 - From what I've researched in the documentation and here on GitHub, this package that PWABuilder generates only works for iOS (not Mac). I adjusted the mac icons (there were some generic icons in the package) and tested it, and it worked fine. I also published it to the store, and it was accepted normally.
Well, that was just the publishing process. Whether they'll accept it or not is another story.
Complementing. My tests with Mac were not well done. In fact, it gave an error:
UIRefreshControl is not supported when running Catalyst apps in the Mac idiom. See UIBehavioralStyle for possible alternatives. Consider using a Refresh menu item bound to ⌘-R
Thanks for sharing your experience. As for Mac, yeah, we haven't done any testing to see if the app will work on Mac. You're on your own there.
As for iOS, regarding those warnings, thanks for letting us know. Xcode versions deprecate things quickly and add warnings for other things that used to work fine. We'll run it through its paces and update the code accordingly.
I understand. But I think you should consider adapting the project to publish for Mac. I'm new to the Apple world, but from what I've seen in the publishing process, Apple has been making an effort recently to make Mac and iOS more compatible, so it should be easy to find a middle ground.