问题标签 [xcode8-beta6]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
482 浏览

ios - 无法在 xcode 8 beta 6 上编译 AWS CustomIdentityProvider

我在 ios 应用程序中使用 Amazon Cognito 和 Facebook 登录。直到 beta 5 ,这个 SO 线程中的这段代码才有效:

在 beta 6 中,我得到了这个编译错误:

当我将线路更改为

我得到错误

这是快速版本。3.

0 投票
3 回答
21205 浏览

swift3 - Swift 3 UnsafePointer($0) 不再在 Xcode 8 beta 6 中编译

我的代码片段如下……:

...不再编译,出现以下我不明白的错误:

该怎么做才能修复它?

0 投票
2 回答
55 浏览

sqlite - Sqlite3 奇怪的行为

我根本无法导入sqlite3!即使我创建了桥接头,导入的库也无法快速运行。但是当我在 Objective-C 中尝试时,它工作得非常完美!

还有一个问题……模拟器也在物理设备上抛出错误。数据库连接建立,我可以检索数据,但是我无法向datase提交数据;

错误:

没有这样的表“用户名”

希望有人可以帮助我!

0 投票
0 回答
1444 浏览

swift3 - 以 NSException 类型的未捕获异常终止 - Xcode 8 beta 6

在过去的几周里,我更新了我的 Xcode,直到最后一个 beta,Xcode 8 beta 6。在这些升级之前一切都很好,但现在我遇到了一些问题。我有一个标签栏应用程序。当我点击最后一个选项卡时,我收到错误 Sigabrt 并且控制台显示Terminating with uncaught exception of type NSException 我的代码如下:

在此处输入图像描述

我该如何修复这个错误?感谢大家的帮助!

0 投票
1 回答
867 浏览

objective-c - UIActivityType – Property cannot be an @objc override because its type cannot be represented in Objective-C

While updating to Xcode 8 Beta 6, from what I saw a new type got introduced: UIActivityType

So I tried to do somewhere like this in my UIActivity custom class:

where retrieveActivityType() is the Objective-C equivalent since UIActivityType is only defined in Swift. But no luck so far, still having two errors:

  1. Property cannot be an @objc override because its type cannot be represented in Objective-C
  2. '@objc' getter for non-'@objc' property

Is there something obvious that I'm missing?

0 投票
3 回答
388 浏览

ios10 - Xcode 8 Beta 6 不支持 iOS 10 Beta 7 sdk

我刚刚更新了在xcode 8 beta 6中不可读的iOS 10 beta 7 ,我找不到任何 xcode beta 的更新。

它在管理器中抛出“无法从设备读取”

0 投票
1 回答
3025 浏览

ios - Swift 3(Xcode 8 beta 6)localizedStringWithFormat

有没有更好的方法来获得本地化格式并用 Xcode 8 Swift 3 替换字符串?我是否需要使用 NSString,并在 NSString 和 String 之间来回转换?

0 投票
2 回答
7966 浏览

swift - Xcode 8 beta 6: main.swift won't compile

We have a custom UIApplication object, so our main.swift was

#xA;

and that didn't work in Xcode 8 beta 5 so we used this

#xA;

On Xcode 8 beta 6 we get Use of unresolved identifier 'Process'

What do we need to do in Xcode 8 beta 6/Swift 3 to define the UIApplicationMain?

0 投票
2 回答
987 浏览

xcode - Xcode 8 beta 6 swift 3 本地化CaseInsensitiveCompare

此代码在 Xcode 8 beta 5 上编译,但在 beta 6 中损坏。进行此比较的正确新 Swift 3 方法是什么?

错误是

参数传递给不带参数的调用

0 投票
0 回答
577 浏览

alamofire - Swift 3 Compiling Error with Alamofire

I seem to be having a problem with "Alamofire" being recognized. I have cleaned and then built. sometimes it will recognize it for a few seconds, but then will not. I have looked at past comments, and changed the syntax within the ( ), but that is not the problem. The problem is the Alamofire. When I start to type, the only option I get is AlamofireVersionNumber. I did import Alamofire, so that is not the issue. I am at a loss. I am running Xcode 8 Beta 6.

在此处输入图像描述