OSX - 发布Unity游戏

Nil*_*l B 8 macos xcode unity-game-engine

如何将Unity OS for Mac OSX推送到Mac Store?我似乎无法弄清楚并且已经看过每一个地方.我知道你必须修改info.plist和包,但是没有明确的指南!

谢谢NB

Apo*_*ARE 4

将应用程序提交到 Mac 商店:

\n\n
    \n
  1. 仅适用于 Mac Intel 的 Unity 构建

  2. \n
  3. 从 Unity 编译后显示 .app 的包内容

  4. \n
\n\n

2.a. 编辑Info.plist

\n\n
<key>CFBundleShortVersionString</key>\n<string>1.0.0</string>\n<key>LSApplicationCategoryType</key>\n<string>public.app-category.sports-games</string>\n<key>NSHumanReadableCopyright</key>\n<string>\xc2\xa9 2012 Apollo Software Solutions. All rights reserved.</string>\n<key>CFBundleIdentifier</key>\n<string>com.apolloss.GolfProHD</string>\n<key>CFBundleVersion</key>\n<string>1.0.0</string>\n
Run Code Online (Sandbox Code Playgroud)\n\n

2.b. 将 Resources/UnityPlayer.icns 替换为 1024x1024 的文件(您可能需要 icns 编辑器/生成器)

\n\n

2.c. 将“所有人”对 /Data 的权限从“无访问权限”更改为“只读”

\n\n
    \n
  1. 在 Terminal\xe2\x80\xa6 中(您可能需要权利,如果需要,请创建权利 xml 文件并添加到 codesign 命令)。

    \n\n

    codesign -f -s“第 3 方 Mac 开发者应用程序:Amit Barman”GolfProHD.app

    \n\n

    Productbuild --component GolfProHD.app /Applications --sign“第 3 方 Mac 开发人员安装程序:Amit Barman”GolfProHD.pkg

  2. \n
\n\n

在productbuild 创建.pkg 后删除.app 文件(否则安装程序测试将无法工作)。

\n\n

sudo installer -store -pkg GolfProHD.pkg -target /

\n\n
    \n
  1. 验证您的应用程序是否已安装在应用程序中

  2. \n
  3. 准备好将 .pkg 提交到 iTunes Connect!

  4. \n
\n