[英]“Invalid Binary” iTunes Connect (Swift 2)
I've uploaded a pure-Swift 2 binary to iTunes Connect, with hopes of distributing via Test Flight. 我已经将纯Swift 2二进制文件上传到iTunes Connect,希望通过Test Flight进行分发。
This should be possible, according to iTunes Connect itself: 根据iTunes Connect本身,这应该是可能的:
Unfortunately, my binaries are met with an "Invalid Binary" error: 不幸的是,我的二进制文件遇到“无效二进制”错误:
Obviously, I've tried this a few times. 显然,我已经尝试了几次。 What hasn't worked:
什么没有奏效:
Embedded Content Contains Swift Code
to YES
Embedded Content Contains Swift Code
设置为Embedded Content Contains Swift Code
为YES
Embedded Content Contains Swift Code
to NO
Embedded Content Contains Swift Code
设置为Embedded Content Contains Swift Code
为NO
Enable Bitcode
to YES
(can't find why I tried this) Enable Bitcode
设置为YES
(找不到我试过的原因) Enable Bitcode
to NO
Enable Bitcode
设置为NO
The error I'm receiving via email is: 我通过电子邮件收到的错误是:
Which seems to suggest that the first screenshot, taken from iTunes Connect , is wrong. 这似乎暗示从iTunes Connect获取的第一个屏幕截图是错误的。 Have I gone crazy?
我疯了吗? (There are those who think we all have .)
(有些人认为我们都有 。)
Update: It would appear that some people can upload their iOS 9 betas. 更新:似乎有些人可以上传他们的iOS 9测试版。 After running all of these attempts again, I am not one of those people.
在再次运行所有这些尝试后,我不是那些人之一。
Update: This is only happening with one of my apps. 更新:这只发生在我的某个应用中。 The only source or dependency difference between the two is that the failing app uses the Parse SDK Cocoapod .
两者之间唯一的来源或依赖关系是失败的应用程序使用Parse SDK Cocoapod 。
Seems like the issue was the Parse SDK, which had an available update. 似乎问题是 Parse SDK,它有一个可用的更新。
Ran pod update
, then updated my code to compile against the updates in the SDK. Ran
pod update
,然后更新我的代码以针对SDK中的更新进行编译。
To address The files libswiftCoreLocation.dylib don't match /Payload/My.app/Frameworks/libswiftCoreLocation.dylib
specifically, I had to do some bundle trickery: https://stackoverflow.com/a/32535087/809150 . 要解决
The files libswiftCoreLocation.dylib don't match /Payload/My.app/Frameworks/libswiftCoreLocation.dylib
,我不得不做一些捆绑欺骗: https : The files libswiftCoreLocation.dylib don't match /Payload/My.app/Frameworks/libswiftCoreLocation.dylib
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.