Alamofire Swift 2-无法提交Beta测试(Xcode 7 GM) [英] Alamofire Swift 2 - cannot submit for beta testing (Xcode 7 GM)

查看:110
本文介绍了Alamofire Swift 2-无法提交Beta测试(Xcode 7 GM)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照说明安装了



也许这对确定问题可能有所帮助。另外两个目标是通知中心小部件。禁用它们无法解决问题。而且,如果没有Alamofire,我就可以同时附加两个小部件来提交Beta测试。



更新



对于那些建议 Swift 2.0处于beta版,因此您无法提交,我想再次澄清-我正在尝试提交Beta版测试。而且,有可能!



正如我所指出的,如果删除Alamofire和自己的应用,我可以提交Beta测试用Swift 2.0编写。如果有人仍然认为不可能 这里是为您提供的一些信息。在发表评论或投下反对票之前,请先阅读。



更新2



此问题仍然存在Xcode 7 GM ...

解决方案

好,此问题现已修复。我已经试用了2.0.1版本的Alamofire,并且能够使用Xcode 7 GM提交,并且Alamofire和我的应用程序的位代码都已打开。


I have followed the instructions on installing the swift2 branch of Alamofire with cocoa pods. The app works well in the simulator, however, when I archive it for submission with Xcode 7 GM I receive an email with an error:

"The bundle contains an invalid implementation of Swift. The app may have been built or signed with non-compliant or pre-release tools"

This issue definitely relates to the framework as without it I am able to submit for beta testing with the same version of Xcode. I have tried turning bit code OFF in the build settings for Alamofire but it does not help.

Does anyone know how to fix this?

My podfile links only against Alamofire framework:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift-2.0'

One of the things that I found rather strange is that when I try to submit an archive I have the following screen:

Maybe this can be helpful in identifying the issue. The extra two targets are notification centre widgets. Disabling them doesn't resolve the issue. And without Alamofire I am able to submit for beta testing with both widgets attached.

Update

For those who are suggesting that "Swift 2.0 is in beta so you cannot submit" I want to clarify once more - I am trying to submit for beta testing. And YES, it is possible!

As I have indicated, I am able to submit for beta testing if I remove Alamofire and my own app is written in Swift 2.0. And if someone still thinks that "it is not possible" here is some info for you. Please read it first before posting comments or down voting question.

Update 2

This issue is still there with Xcode 7 GM...

解决方案

OK, this issue is now fixed. I have tried the 2.0.1 version of Alamofire and I am able to submit with Xcode 7 GM and Bit Code turned ON for both Alamofire and my app.

这篇关于Alamofire Swift 2-无法提交Beta测试(Xcode 7 GM)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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