无效的Swift支持 - 文件不匹配 [英] Invalid Swift Support - Files don’t match

查看:1000
本文介绍了无效的Swift支持 - 文件不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Swift 2中重新编写了一个应用程序。我正在尝试将应用程序上传到iTunesConnect(通过Xcode 7 GM)进行内部测试。

I just re-wrote an app in Swift 2. I'm trying to upload the app to iTunesConnect (via Xcode 7 GM) for internal testing.

I一段时间内与无效的快速支持错误搏斗(其他相关问题)...但现在它变成了一些不同的东西。

I wrestled with an "Invalid Swift Support" error for awhile (which has other, related questions) ... but now it's changed to something a little different.

Apple的错误现在说:

The error from Apple now says:

无效的Swift支持

文件libswiftCoreLocation.dylib,libswiftCoreMedia.dylib,libswiftCoreData.dylib,libswiftAVFoundation.dylib不匹配

The files libswiftCoreLocation.dylib, libswiftCoreMedia.dylib, libswiftCoreData.dylib, libswiftAVFoundation.dylib don’t match

/Payload/App.app/Frameworks/libswiftCoreLocation.dylib,/Payload/App.app/Frameworks/libswiftCoreMedia.dylib,/Payload/App.app/Frameworks /libswiftCoreData.dylib,/Payload/App.app/Frameworks/libswiftAVFoundation.dylib

/Payload/App.app/Frameworks/libswiftCoreLocation.dylib, /Payload/App.app/Frameworks/libswiftCoreMedia.dylib, /Payload/App.app/Frameworks/libswiftCoreData.dylib, /Payload/App.app/Frameworks/libswiftAVFoundation.dylib

确保文件正确 (?),重建你的应用,并重新提交。

Make sure the files are correct (?), rebuild your app, and resubmit it.

不要将后处理应用于

/Payload/App.app/Frameworks/libswiftCoreLocation.dylib ,/ Payload / App.app / Frameworks / libswiftCoreMedia.dylib,/ Payload / App.app / Framees / libswiftCoreData.dylib,/ Payload / App.app / Framees / libswiftAVFoundation.dylib。

/Payload/App.app/Frameworks/libswiftCoreLocation.dylib, /Payload/App.app/Frameworks/libswiftCoreMedia.dylib, /Payload/App.app/Frameworks/libswiftCoreData.dylib, /Payload/App.app/Frameworks/libswiftAVFoundation.dylib.

我一直无法通过搜索请勿应用后处理,确保文件正确,重建您的应用程序,然后重新提交等来找到类似的错误。

I've been unable to find similar errors by searching for "Don’t apply post-processing", "Make sure the files are correct, rebuild your app, and resubmit it", etc.

有谁知道我怎么能确保文件正确 - 或者 - 还有其他建议吗?谢谢。

推荐答案

这里也有同样的问题。我认为这很可能是开发人员工具中与Bitcode相关的错误。

Same problem here. I think this is most likely a bug of the Developer Tools, related to the Bitcode.

我刚刚找到了解决方法。

I just found the workaround for this.


  1. 使用新的内部版本号归档您的应用:(

  2. 从管理器中查找Finder中的存档(.xcarchive文件)在Finder中显示

  3. 打开包并找到目录,如 Products / Applications / YourApp.ipa / Frameworks / SwiftSupport / iphoneos /

  4. 复制所有 libswiftXxx.dylib 来自<$ c的文件$ c> SwiftSupport / iphoneos / 进入产品/应用程序/ YourApp.ipa / Frameworks / 并覆盖

  5. 现在,从Organizer上传到App Store

  1. Archive your app with new build number :(
  2. Find the archive (.xcarchive file) in Finder from Organizer "Show in Finder"
  3. Open the package and find directories like Products/Applications/YourApp.ipa/Frameworks/ and SwiftSupport/iphoneos/
  4. Copy all libswiftXxx.dylib files from SwiftSupport/iphoneos/ into Products/Applications/YourApp.ipa/Frameworks/ and overwrite
  5. Now, Upload to App Store from Organizer

通过此过程,我成功上传了我的版本。现在我正在等待审核。

With this process, I succeed in uploading my build. Now I’m waiting for review.

注意:

我正在使用CocoaPods和 ENABLE_BITCODE 选项为NO。

I’m using CocoaPods, and the ENABLE_BITCODE option was NO.

这篇关于无效的Swift支持 - 文件不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆