Yo Notifications own pkg

Euwanh
New Contributor III

Does anyone have a full proof solution of creating the yo app and changing the icon. I have followed this guide but does not seem to work. I have followed it in totality and then making my own changes to the maker file to strip everything out and just use

```USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
PACKAGE_VERSION=1.0
TITLE=YoDocumentationExample
REVERSE_DOMAIN=com.jamf.notifications
USE_PKGBUILD=1
PAYLOAD=pack-utilities-yo.app```

This still does not work and I keep getting the errors
Sudo:/Developer/usr/bin/packagemaker: command not found
make: * No rule to make target 'package'. Stop.

I have looked at this article but not sure I understand it https://github.com/unixorn/luggage/issues/31

Any help would be appreciated.

1 REPLY 1

Euwanh
New Contributor III

Managed to find this on another post.

sudo pkgbuild --install-location /Applications --component /path/to/app/for/MyGreatApp.app ./path/to/save/package/packagename.pkg

xcode bit was actually easy