乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      java-Info.plist表示Mac應(yīng)用程序,但是使用Application Loader提交時(shí)提交了ipa

       印度阿三17 2019-10-26

      我想將游戲提交到Mac應(yīng)用程序商店,但我不斷收到“ Info.plist表示Mac應(yīng)用程序,但正在提交ipa”.

      這是從頭到尾的過程:

      首先,我使用以下命令使用libgdx packr創(chuàng)建一個(gè).app文件:(該文件夾包含Game.jar,icon.icns,packr.jar和openjdk)

      java -jar packr.jar      --platform mac      --jdk openjdk-1.7.0-u80-unofficial-macosx-x86_64-bundle.zip      --executable Game      --classpath Game.jar      --mainclass com.company.MyGdxGame.desktop.DesktopLauncher      --vmargs Xmx1G      --minimizejre hard      --output Game.app      --icon icon.icns
      

      然后我添加NSHumanReadableCopyright,CFBundleIdentifier,CFBundleVersion,LSApplicationCategoryType,使我的info.plist看起來像這樣:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
        <key>CFBundleGetInfoString</key>
        <string>Game</string>
        <key>CFBundleExecutable</key>
        <string>Game</string>
        <key>CFBundleIdentifier</key>
        <string>com.company.gameOSX</string>
        <key>CFBundleName</key>
        <string>Game</string>
        <key>CFBundleIconFile</key>
        <string>icons.icns</string>
        <key>CFBundleShortVersionString</key>
        <string>1.0</string>
        <key>NSHumanReadableCopyright</key>
        <string>Company 2016</string>
        <key>CFBundleVersion</key>
        <string>1.0</string>
        <key>LSApplicationCategoryType</key>
        <string>public.app-category.productivity</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>IFMajorVersion</key>
        <integer>0</integer>
        <key>IFMinorVersion</key>
        <integer>1</integer>
        <key>NSHighResolutionCapable</key>
        <true/>
      </dict>
      </plist>
      

      之后,我使用

      codesign -v -f -s "3rd Party Mac Developer Application: Company" --entitlements Game.entitlements Game.app
      

      然后對(duì)內(nèi)容進(jìn)行代碼簽名

      find Game.app/Contents/ -type f \( -name "*.jar" -or -name "*.dylib" \) -exec codesign --verbose -f -s "3rd Party Mac Developer Application: Company" --entitlements Game.entitlements {} \;
      

      我的權(quán)利文件與Game.app位于同一文件夾中,如下所示

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
          <!-- Activates the sandbox, required. -->
          <key>com.apple.security.app-sandbox</key>
          <true/>
      </dict>
      </plist>
      

      畢竟,我將其包裝成pkg

      productbuild --component Game.app /Applications -s "3rd Party Mac Developer Installer: Company" Game.pkg
      

      我的問題是,所有這些之后,即使文件擴(kuò)展名為.pkg,Application Loader也會(huì)給我“ Info.plist指示Mac應(yīng)用程序,但提交了ipa”!有什么幫助嗎?

      解決方法:

      我遇到了同樣的問題……這似乎是Application Loader 3.6的問題.

      下載早期版本的Application Loader,它應(yīng)該可以工作(已通過xCode 7.3.1附帶的Application Loader 3.5進(jìn)行了測(cè)試).

      來源:https://www./content-1-523951.html

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多