2017-06-15 22 views
0

私はApple App Storeに置く準備ができた時点でLibGDXアプリを完成しました。私はiTunesの接続にそれを置くためにはXCode(XCode->開くデベロッパー工具類 - >アプリケーションローダー)に付属しているアプリケーションLoaderを使用する場合しかし、私はこのエラーログを取得:署名が無効です。封印されたリソースが見つからない、または無効です(AndroidスタジオでRoboVMを使用)

ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [IOSLauncher.app/IOSLauncher] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html" 
ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone/iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0." 
ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0." 
ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 7.0." 

最後の3つのエラーがものです私が修正することができます(私が知る限り、最初のエラーの原因ではありません、それは私が心配しているものです)。

私はXCodeとRoboVMの両方のプラグインの最新バージョンを持っています(今日は両方とも再インストールされました)、iOSプロビジョニングプロファイル(Distribution)はhereと表示されています。バンドルIDはアプリIDと一致します。また、すべての証明書がダウンロードされ、KeyChainにダウンロードされます。

Android StudioのRoboVMを使用してIPAを構築するための設定です:image hereご覧のとおり、正しい署名証明書とプロビジョニングプロファイルを使用しています。

robovm.properties:

app.version=1.0 
app.id=com.mcfadden.raindodge 
app.mainclass=com.samuel.doubledodge.IOSLauncher 
app.executable=IOSLauncher 
app.build=1 
app.name=Rain Dodge 

Info.plist.xml:

<?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> 
    <key>CFBundleDevelopmentRegion</key> 
    <string>en</string> 
    <key>CFBundleDisplayName</key> 
    <string>${app.name}</string> 
    <key>CFBundleExecutable</key> 
    <string>${app.executable}</string> 
    <key>CFBundleIdentifier</key> 
    <string>${app.id}</string> 
    <key>CFBundleInfoDictionaryVersion</key> 
    <string>6.0</string> 
    <key>CFBundleName</key> 
    <string>${app.name}</string> 
    <key>CFBundlePackageType</key> 
    <string>APPL</string> 
    <key>CFBundleShortVersionString</key> 
    <string>${app.version}</string> 
    <key>CFBundleSignature</key> 
    <string>????</string> 
    <key>CFBundleVersion</key> 
    <string>${app.build}</string> 
    <key>LSRequiresIPhoneOS</key> 
    <true/> 
    <key>MinimumOSVersion</key> 
    <string>8.0</string> 
    <key>UIRequiresFullScreen</key> 
    <string>YES</string> 
    <key>UIViewControllerBasedStatusBarAppearance</key> 
    <false/> 
    <key>UIStatusBarHidden</key> 
    <true/> 
    <key>UIDeviceFamily</key> 
    <array> 
     <integer>1</integer> 
     <integer>2</integer> 
    </array> 
    <key>UIRequiredDeviceCapabilities</key> 
    <array> 
     <string>armv7</string> 
     <string>opengles-2</string> 
    </array> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
     <string>UIInterfaceOrientationLandscapeLeft</string> 
     <string>UIInterfaceOrientationLandscapeRight</string> 
    </array> 
    <key>CFBundleIcons</key> 
    <dict> 
     <key>CFBundlePrimaryIcon</key> 
     <dict> 
      <key>CFBundleIconFiles</key> 
      <array> 
       <string>Icon</string> 
       <string>Icon-72</string> 
      </array> 
     </dict> 
    </dict> 
</dict> 
</plist> 

Robovm.xml:

ここ

は、私はそれが有用である可能性が持っているいくつかの他のファイルです

<config> 
    <executableName>${app.executable}</executableName> 
    <mainClass>${app.mainclass}</mainClass> 
    <os>ios</os> 
    <arch>thumbv7</arch> 
    <target>ios</target> 
    <iosInfoPList>Info.plist.xml</iosInfoPList> 
    <resources> 
    <resource> 
     <directory>../android/assets</directory> 
     <includes> 
     <include>**</include> 
     </includes> 
     <skipPngCrush>true</skipPngCrush> 
    </resource> 
    <resource> 
     <directory>data</directory> 
    </resource> 
    </resources> 
    <forceLinkClasses> 
    <pattern>com.badlogic.gdx.scenes.scene2d.ui.*</pattern> 
    <pattern>com.badlogic.gdx.graphics.g3d.particles.**</pattern> 
    <pattern>com.android.okhttp.HttpHandler</pattern> 
    <pattern>com.android.okhttp.HttpsHandler</pattern> 
    <pattern>com.android.org.conscrypt.**</pattern> 
    <pattern>com.android.org.bouncycastle.jce.provider.BouncyCastleProvider</pattern> 
    <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings</pattern> 
    <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi</pattern> 
    <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std</pattern> 
    <pattern>com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi</pattern> 
    <pattern>com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL</pattern> 
    <pattern>org.apache.harmony.security.provider.cert.DRLCertFactory</pattern> 
    <pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern> 
    </forceLinkClasses> 

    <libs> 
     <lib>z</lib> 
    </libs> 
    <frameworkPaths> 
    <path>libs</path> 
    </frameworkPaths> 
    <frameworks> 
    <framework>UIKit</framework> 
    <framework>OpenGLES</framework> 
    <framework>QuartzCore</framework> 
    <framework>CoreGraphics</framework> 
    <framework>CoreMotion</framework> 
    <framework>OpenAL</framework> 
    <framework>AudioToolbox</framework> 
    <framework>AVFoundation</framework> 
    <framework>GLKit</framework> 
    <framework>CoreTelephony</framework> 
    <framework>CoreMedia</framework> 
    <framework>CoreVideo</framework> 
    <framework>MessageUI</framework> 
    <framework>CFNetwork</framework> 
    <framework>MobileCoreServices</framework> 
    <framework>EventKit</framework> 
    <framework>EventKitUI</framework> 
    <framework>AdSupport</framework> 
    <framework>StoreKit</framework> 
    <framework>SystemConfiguration</framework> 
    <framework>GoogleMobileAds</framework> 
    </frameworks> 
</config> 

d以上の情報、コメントしてくださいと私は提供します。私は完全になぜこれが動作していないとして失われています。お手伝いありがとう。

+0

解決方法を見つけましたか?私は同じ問題があります.- – lijas

+0

私は同じ問題を抱えています。どんな解決策ですか? –

答えて

0

私がきたXcodeのバージョン9.2(9C40b)と私はシエラ10.12.6と2台のiMac、ハイシエラ10.13.1と1と1を使用します。すべての証明書を破棄して、このブロックエラーを解決するために再構築した後:

署名が無効です - シールされたリソースが見つからないか無効です。パスのファイルが正しく署名されていません。私はHFS +にメインAPFS(アップルファイルシステム)パーティションからの私のプロジェクトを動かしてきた..あなたは、配布証明書ではなく、アドホック証明書または開発用証明書を使用してアプリケーションに署名した

を確認してください私のバックアップパーティションを使用しましたが、HFS +フォーマットのUSBペンも使用できます。私はAppleのバグだと思うので、open radar bugレポートを追加しました。

関連する問題