AppIconGen load view from xib, then render view to Image write to disk. I always use this package to generate icons of my iOS、macOS app.