ios - 无效的 Swift 支持 - 适用于 iOS 9 的 Swift 2.0 项目,(Xcode build 7A220)
<p><p>我在 Swift 2.0 for iOS 9 上的项目(Xcode build 7A220)我尝试将构建上传到 iTunesConnect 以进行 TestFlight,但上传几分钟后我收到一封电子邮件:</p>
<blockquote>
<p>Invalid Swift Support - The files libswiftCoreAudio.dylib,
libswiftCoreMedia.dylib, libswiftAVFoundation.dylib don’t match
/Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib,
/Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib,
/Payload/MyApp.app/Frameworks/libswiftAVFoundation.dylib. Make sure
the files are correct, rebuild your app, and resubmit it. Don’t apply
post-processing to
/Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib,
/Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib,
/Payload/MyApp.app/Frameworks/libswiftAVFoundation.dylib. Once these
issues have been corrected, you can then redeliver the corrected
binary.</p>
</blockquote>
<p>这是什么意思?请帮忙。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>你使用 CocoaPods 吗?</p>
<p>如果您使用的是 Swift pod,问题可能来自它。要修复它,您可以编辑 <strong>Pods/Target Support Files/Pods/Pods-frameworks.sh</strong> 并在之后评论 block </p>
<pre><code> # Embed linked Swift runtime libraries
</code></pre>
<p>更多信息:</p>
<p>问题:<a href="http://github.com/CocoaPods/CocoaPods/issues/4188" rel="noreferrer noopener nofollow">github.com/CocoaPods/CocoaPods/issues/4188</a> </p></p>
<p style="font-size: 20px;">关于ios - 无效的 Swift 支持 - 适用于 iOS 9 的 Swift 2.0 项目,(Xcode build 7A220),我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/32709845/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/32709845/
</a>
</p>
页:
[1]