2016-03-22 21 views
0

Xamarinでアプリケーションを作成しましたが、TestFlightにアップロードする予定ですが、アップロードしようとするとエラーが発生します。iOS無効なコード署名資格

それは

<?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>UIDeviceFamily</key> 
    <array> 
     <integer>1</integer> 
    </array> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
    </array> 
    <key>UISupportedInterfaceOrientations~ipad</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
     <string>UIInterfaceOrientationPortraitUpsideDown</string> 
     <string>UIInterfaceOrientationLandscapeLeft</string> 
     <string>UIInterfaceOrientationLandscapeRight</string> 
    </array> 
    <key>MinimumOSVersion</key> 
    <string>7.1</string> 
    <key>CFBundleDisplayName</key> 
    <string>**app-name**</string> 
    <key>CFBundleIdentifier</key> 
    <string>**app-path**</string> 
    <key>CFBundleVersion</key> 
    <string>10</string> 
    <key>CFBundleIconFiles</key> 
    <array> 
     <string>[email protected]</string> 
     <string>Icon.png</string> 
     <string>[email protected]</string> 
    </array> 
    <key>CFBundleShortVersionString</key> 
    <string>1.6.4</string> 
    <key>UIStatusBarTintParameters</key> 
    <dict> 
     <key>UINavigationBar</key> 
     <dict> 
     <key>Style</key> 
     <string>UIBarStyleDefault</string> 
     <key>Translucent</key> 
     <false/> 
     <key>BackgroundImage</key> 
     <string></string> 
     </dict> 
    </dict> 
    <key>UIPrerenderedIcon</key> 
    <false/> 
    <key>UIStatusBarHidden</key> 
    <true/> 
    <key>UIStatusBarStyle</key> 
    <string>UIStatusBarStyleBlackOpaque</string> 
    <key>UIAppFonts</key> 
    <array> 
     <string>icomoon.ttf</string> 
     <string>TitilliumWeb-Light.ttf</string> 
    </array> 
    <key>UIBackgroundModes</key> 
    <array> 
     <string>remote-notification</string> 
    </array> 
    </dict> 
</plist> 

Entitlements.plistが

<?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>keychain-access-groups</key> 
    <array> 
     <string>$(AppIdentifierPrefix)**app-path**</string> 
    </array> 
    <key>UIBackgroundModes</key> 
    <array> 
     <string>remote-notification</string> 
    </array> 
    </dict> 
</plist> 

私が間違って何をしたことができますか?下に表示され、以下に示すよう

ERROR ITMS-90045: "Invalid Code Signing Entitlements. Your application bundle's signature contains signing entitlements that are not supported on iOS. Specifically, key 'UIBackgroundModes' in **app-path**' is not supported." 

私のInfo.plistであると言いますか私は**app-name****app-bath**

+0

あなたのアプリのデプロイメントターゲットは何ですか? –

+0

展開先がiOS 7.1に設定されている –

答えて

1

UIBackgroundModesでアプリ名とアプリパスを交換した以下の例では

は、有効な資格付与キーではありません - このキーではなくInfo.plistに含まれるべきです。

Info.plistキー参照:

https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

Entitlements.plistキー参照:

https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AboutEntitlements.html

は、この情報がお役に立てば幸いです。

関連する問題