I do not have any Xcode project, or anything else built in Xcode. I built the app using Script Editor. The main application and one out of two helper programs are all written in AppleScript. The other helper program is an automator applet. This is a full-fledged and complex app, even though it uses languages that normally make small, quick automation scripts. Note: The helpers are .app files inside of the package contents of the main .app bundle. My app never accesses anything outside of it's own package contents except for command-line tools (ping, wget, curl, networksetup, and defaults).
I have filled out all the information in App Store Connect, but have not been able to upload my build. I have a pkg installer archive that is signed with the certificate "3rd Party Mac Developer Installer: [My name] (T36UWKSKUU)" right from my paid Apple Developer Account from developer.apple.com. The pkg is thus fully signe with an apple-issued certificate. My .app bundle was also signed with a certificate from my Developer Account, called "3rd Party Mac Developer Application: [My name] (T36UWKSKUU)". I have used xattr -cr to remove extended attributes before I codesign the app bundle.
I am having errors submitting my app to the Mac App Store. I would like you to help me fix these errors so I can upload my build to the App Store. These are the errors thrown by different upload tools when I try to upload my build (note: I do have Xcode installed, so I can use xcrun altool):
Xcode: I cannot use Xcode to submit because there is no Xcode project. The app was not made using Xcode.
Application Loader: That seems to be gone in the latest release of Xcode, which I am running.
Transporter: When I upload my pkg in Transporter after signing in correctly, I get the following error message: "Could not create a temporary .itmsp package for the app “Network Troubleshooter.pkg”. Failed to get the app‘s bundle id." CFBundleIdentifier, CFBundleVersion, and CFBundleVersionShortString are all set in my app's Info.plist, so I don't understand this error.
xcrun altool: When I run the following: xcrun altool --upload-app -f /Applications/Network\ Troubleshooter.pkg -t osx -u [my apple id username] -p [my app-specific password from appleid.apple.com], I get the following error message:
2021-04-14 16:31:34.382 altool[2245:31985] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
2021-04-14 16:31:37.093 altool[2245:31977] * Error: Error uploading '/Applications/Network Troubleshooter.pkg'.
2021-04-14 16:31:37.102 altool[2245:31977] * Error: code -20008 (Unable to validate your application. The Info.plist indicates a Mac app, but submitting an ipa.)
I am not submitting an ipa, but a pkg, and my app IS a Mac app.
I have used zero API's or libraries anywhere in my code. Yes, it's strange, but that's the truth.
Another thing is that if I temporarily move my .app file out of /Applications and run my pkg, it says the installation was sucessful. But no new files are added/installed in /Applications. I signed the pkg with productsign and built it with productbuild.
Also, my actual .app bundle that is made into a pkg has a different filename than the pkg and the name on App Store Connect.
App Store Connect app name: Network Troubleshooter
Pkg name: Network Troubleshooter.pkg
.app file name: Network Troubleshooting Assistant.app
Network Troubleshooting Assistant is too long to be entered in App Store connect, so I used Network Troubleshooter instead.
So, can you please help me fix these errors so I can upload my build and submit my app to the Mac App Store? I would really appreciate it. Thanks in advance for your help!