$ munkiimport /Applications/Q-SYS\ UCI.app
Making disk image containing Q-SYS UCI.app...
/Applications/Q-SYS UCI.app: Authentication error
created: /tmp/munki-jo1fwsjj/Q-SYS UCI.dmg
Disk image created at: /tmp/munki-jo1fwsjj/Q-SYS UCI.dmg
Traceback (most recent call last):
File "/usr/local/munki/munkiimport", line 608, in <module>
main()
File "/usr/local/munki/munkiimport", line 379, in main
pkginfo = pkginfolib.makepkginfo(installer_item, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/munki/munkilib/admin/pkginfolib.py", line 430, in makepkginfo
pkginfo = get_catalog_info_from_dmg(installeritem, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/munki/munkilib/admin/pkginfolib.py", line 233, in get_catalog_info_from_dmg
iteminfo = getiteminfo(itempath)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/munki/munkilib/admin/pkginfolib.py", line 338, in getiteminfo
if key in plist:
^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
The structure of an iPad/iOS app bundle installed on macOS is very different from a macOS app, and munkiimport does not know how to deal with it. You could manually construct a pkginfo that copies the app bundle to /Applications and that uses /Applications/Foo.app/Wrapper/Foo.app/Info.plist to determine the version.
It’s not clear to me how common the need is to deploy iPad/iOS apps on Apple silicon via Munki is and whether it might be worth it to extend makepkginfo and munkiimport to deal “properly” with them. Any thoughts?
-Greg
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/88077989-2233-48E9-9B09-45B7C1AE38D0%40mac.com.