Can't install my iOS test app

Hello!

My first post here. I'm normally the DevOps guy, but they have me working on iOS to see how things go :)

I built this simple hello world type iOS app and packaged and signed it (manually). I connected my iPad Air 2 to my Mac Mini M1 and I dragged and dropped it onto the iPad Air 2. It's not working out and I'm kinda stuck. The first issues I ran across were Info.plist related and I think I got those worked out (I don't see them erroring anymore).

Here is the error output I'm getting right now on the iPad Air 2 console:

Code Block
error 14:52:13.193028-0500 containermanagerd [0] command=0, client=<<~~~>, u=<501/501/~~/2/1000>, uid=33, pid=441, sandboxed=1, platform=2>, error=21 (CONTAINER_NOT_FOUND)
error 14:52:13.236514-0500 runningboardd LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237055-0500 bluetoothd LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237183-0500 contextstored LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237263-0500 navd LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237390-0500 nsurlsessiond LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237514-0500 UserEventAgent LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237725-0500 clipserviced LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237895-0500 atc LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.237930-0500 profiled LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238059-0500 ScreenTimeAgent LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238153-0500 appstored LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238287-0500 aggregated LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238470-0500 homed LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238531-0500 studentd LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238720-0500 watchlistd LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.238960-0500 SpringBoard LaunchServices observer: Apps Failed be installed: <private>
error 14:52:13.239093-0500 SpringBoard Applications did fail to install: (
  "<LSApplicationProxy: 0x280fef9b0> com.saxzez.client (null) <com.saxzez.client <INVALID >:0>"
) (appInfos: (null))
error 14:52:13.252698-0500 streaming_zip_conduit Failed to install application at <private> : Error Domain=MIInstallerErrorDomain Code=13 UserInfo={LibMISErrorNumber=-402620395, LegacyErrorString=<private>, SourceFileLine=77, FunctionName=<private>, NSLocalizedDescription=<private>}


I'd really appreciate some help.

Thank you.
When I look at more than just the error output, I get a bit more information:
Code Block
default 22:55:00.406095-0500 installd com.saxzez.client:7:5:1:1:Start : Install (New)
default 22:55:00.435293-0500 SpringBoard termination assertion efficacy for com.saxzez.client (app not found) changed to 3
default 22:55:00.441904-0500 installd 0x16f553000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 77: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.YRAXDM/extracted/Saxzez-Client.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)

I do remember creating a provisioning profile. I guess I need to figure out how to get these two things (app and provisioning profile) together.
I am able to drag and drop my .app onto a iPad Air 2 simulator and I see it installed there. I checked my physical iPad Air 2 and see that my provisioning profile is installed there, so that's good. I don't get what I'm going wrong, but I guess it must be with the signing.

Here is the command I'm using for that:
Code Block
codesign -f -s "Apple Development: Bob Smith (XXXXXXXXXX) " Saxzez-Client.app

My Info.plist:
Code Block
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>CFBundleDisplayName</key>
 <string>Saxzez Client</string>
 <key>CFBundleIdentifier</key>
 <string>com.saxzez.client</string>
 <key>CFBundleVersion</key>
 <string>1.0.423</string>
 <key>CFBundleShortVersionString</key>
 <string>1.0.423</string>
 <key>CFBundleExecutable</key>
 <string>Saxzez-Client</string>
 <key>CFBundleIconFiles</key>
 <array>
  <string>our-icon</string>
 </array>
 <key>LSRequiresIPhoneOS</key>
 <false/>
 <key>UIRequiredDeviceCapabilities</key>
 <array>
  <string>arm64</string>
  <string>metal</string>
  <string>wifi</string>
 </array>
 <key>UIRequiresPersistentWiFi</key>
 <true/>
 <key>UILaunchImageFile</key>
 <string>our-icon</string>
 <key>CFBundleName</key>
 <string>Saxzez Client</string>
</dict>
</plist>

Can't install my iOS test app
 
 
Q