2017-04-24 5 views
3

これには回答がありません。無効な画像パス - キー 'CFBundleIcons': 'AppIcon20x20'の下に参照されているパスに画像がありません

私はこの問題に1週間以上苦しんでいます。私は最近、私はこのエラーを取得されているビルドを検証するか、アプリケーション・ローダを使用しようとするたびに:

iTunes Store operation failed. 
Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':'AppIcon20x20' 

さて、問題は、私のplistにはAppIcon20x20キーがないです。

ここに私のAPPICON資産だと設定を属性:ここでは、ソースコードのバージョンによって見られるように AppIconAttributesどこ

は、でも私のPLISTに言及した20×20の資産である:

<?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>CFBundleIcons</key> 
    <dict> 
     <key>CFBundlePrimaryIcon</key> 
     <dict> 
      <key>CFBundleIconFiles</key> 
      <array> 
       <string>icon603x.png</string> 
       <string>icon602x.png</string> 
       <string>icon403x.png</string> 
       <string>icon402x.png</string> 
       <string>icon293x.png</string> 
       <string>icon292x.png</string> 
       <string>icon203x.png</string> 
       <string>icon203x.png</string> 
      </array> 
     </dict> 
    </dict> 
    <key>NSAppTransportSecurity</key> 
    <dict> 
     <key>NSAllowsArbitraryLoads</key> 
     <true/> 
     <key>NSExceptionDomains</key> 
     <dict> 
      <key>https://millsfitnessapparel.myshopify.com/</key> 
      <string></string> 
     </dict> 
    </dict> 
    <key>CFBundleDevelopmentRegion</key> 
    <string>en</string> 
    <key>CFBundleExecutable</key> 
    <string>$(EXECUTABLE_NAME)</string> 
    <key>CFBundleIdentifier</key> 
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> 
    <key>CFBundleInfoDictionaryVersion</key> 
    <string>6.0</string> 
    <key>CFBundleName</key> 
    <string>$(PRODUCT_NAME)</string> 
    <key>CFBundlePackageType</key> 
    <string>APPL</string> 
    <key>CFBundleShortVersionString</key> 
    <string>1.0</string> 
    <key>CFBundleVersion</key> 
    <string>1</string> 
    <key>LSRequiresIPhoneOS</key> 
    <true/> 
    <key>UILaunchStoryboardName</key> 
    <string>LaunchScreen</string> 
    <key>UIMainStoryboardFile</key> 
    <string>Main</string> 
    <key>UIRequiredDeviceCapabilities</key> 
    <array> 
     <string>armv7</string> 
    </array> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
     <string>UIInterfaceOrientationLandscapeLeft</string> 
     <string>UIInterfaceOrientationLandscapeRight</string> 
    </array> 
</dict> 
</plist> 

そして最後に、私はこの話題から騒々しいことを捜した。彼らは皆、私がやったplistにCFBundleIconsを追加すると言っているが、まだエラーを投げている。また、このプロジェクトのバージョンでは、ポッド、ポッド、ワークスペース、通常のxcprojがあります。ファイル、そして1つのビューコントローラといくつかのアイコン[この最新ビルド]でさえも。

xcodeバージョン8.1,8.2、および8.3でこのビルドを達成しようとしましたが、すべて同じエラーが発生しました。

ここにお手伝いいただければ幸いです。これらはクライアント向けのアプリです。この問題のために配信が遅れています。ありがとう。

答えて

4

https://makeappicon.com/を使用すると、アプリアイコンのアセットを作成できます。最良の結果を得るには、1536x1536ピクセルの画像を入力する必要があります。これは、自動的にまた次を参照してください

プロジェクト

のすべてのアプリのアイコンが作成されます: -

  • は、アイコンファイルの名前は、あなたのInfo.plist内の名前とまったく同じであるか確認してください。しかし、デバッグモードを実行している間はうまくいきます。ビルドのアップロード/検証中は動作しません。

  • アプリのバンドルIDが正しいことを確認してください。

+0

それでも解決できません。アプリアイコンのアセットフォルダとcontent.json –

+0

のスクリーンショットを投稿してください。 http://stackoverflow.com/questions/19316501/xcode-5-invalid-image-path-cfbundleicons?rq=1 –

+0

メインスクリーンにスクリーンショットを掲載しました。ここ –

関連する問題