Search Unity

See productbuild(1) for details. Unable to build PKG

Discussion in 'macOS' started by GhulamJewel, Dec 6, 2017.

  1. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    351
    Hello everyone, I am having trouble building a PKG file. I open terminal at the folder where the app resides (PKG Build) and do the following below but nothing happens? Help?

     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Spaces are used to separate arguments on the command line. Your app is called "Zen Odyssey.app" but since you didn't put quotes around it, this is seen as two arguments, "Zen" and "Odyssey.app". Same for the final argument (the package name).

    Put quotes around your app name and package name, and you should be fine.
     
    GhulamJewel likes this.
  3. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    351
    Thanks, all though putting brackets around the app name didn't work but strangely removing the spaces did work...I built the PKG and now currently uploading it via application loader. Now just have to wait and see if there is any problems with the package! :p