简体   繁体   English

拒绝从Apple构建(iTune Connect)

[英]Rejection of Build From Apple (iTune Connect)

Apple is saying 苹果说

1. Build is invalid
2. ITC.app.preReleaseBuild.errors.invalidBinary

Is it because of of icon which comes in Build. 是因为Build中带有图标。 See the following image 见下图

在此处输入图片说明

在此处输入图片说明

Can you see, icon is not showing any icon but apple own default icon. 可以看到,图标没有显示任何图标,而是苹果自己的默认图标。

Is it a cause of this invalid. 这是无效的原因吗?

I tried 我试过了

  1. icon.png without Alpha/transparency 没有Alpha /透明度的icon.png
  2. Compress images to NO 将图像压缩为NO
  3. re-create apple certificates, apple is allowing me to archive, without any error. 重新创建苹果证书,苹果允许我存档,没有任何错误。
  4. I am not using any Launch Image, but LaunchScreen.storyboard. 我没有使用任何启动图像,而是使用了LaunchScreen.storyboard。

So, can anyone tell me what is basic cause of this rejection from apple. 因此,谁能告诉我苹果被拒绝的根本原因是什么。

Thanks. 谢谢。

I also faced same issue when upload my application developed in swift and supports of Cocoapods as Dependency Manager. 当我快速上载我的应用程序并以Cocoapods作为Dependency Manager支持时,我也遇到同样的问题。

When i upload build it shows exactly as you upload in Screen shot. 当我上载构建时,它与您在屏幕快照中上载时完全一样。

But when i update framework.sh file as given, my build accepted by Apple and my app is on App Store now. 但是,当我按照给定的方式更新framework.sh文件时,Apple和我的应用程序接受的构建现在已在App Store上。

Try to upload after comment given code in Pods-ProjectName-frameworks.sh file. 在Pods-ProjectName-frameworks.sh文件中的给定代码注释后尝试上载。

Comment bellow given code in Pods-ProjectName-frameworks.sh file. Pods-ProjectName-frameworks.sh文件中给定代码的注释下面。

#   Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
local swift_runtime_libs
swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u  && exit ${PIPESTATUS[0]})
for lib in $swift_runtime_libs; do
  echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
  rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
  code_sign_if_enabled "${destination}/${lib}"
done
fi

在此处输入图片说明 Hope it helps you. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM