小编Nik*_*til的帖子

“无法确定以下 Pod 的 Swift 版本” - 错误

我正在尝试安装pod 'SVProgressHUD'可可豆荚,但在安装豆荚文件时出现以下错误。

[!] Unable to determine Swift version for the following pods:

- `HexColors` does not specify a Swift version and none of the targets (`FaveoHelpdeskPro_ObjC`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
Run Code Online (Sandbox Code Playgroud)

错误截图

我该如何解决这个问题?

objective-c ios cocoapods

16
推荐指数
2
解决办法
8185
查看次数

我收到错误,在xcode中找不到#import <TwitterKit/TwitterKit.h>

我安装了这些pod文件.

pod 'TwitterKit'

pod 'TwitterCore'

当我尝试导入文件i时.e #import <TwitterKit/TwitterKit.h>显示未找到错误.

为什么会有任何想法?什么出错或什么都有待补充?

twitter xcode ios cocoapods twitterkit

8
推荐指数
2
解决办法
3115
查看次数

原因:'-[FaveoHelpdeskPro_Swift.AppDelegate 窗口]:无法识别的选择器发送到实例 0x282efc980'

当我尝试运行项目时出现以下错误,我的项目崩溃了。

它给出了以下错误,

FaveoHelpdeskPro_Swift[1400:370341] -[FaveoHelpdeskPro_Swift.AppDelegate 窗口]:无法识别的选择器发送到实例 0x282efc980

*** 由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“-[FaveoHelpdeskPro_Swift.AppDelegate 窗口]:无法识别的选择器发送到实例 0x282efc980”

它来到以下屏幕,

在此处输入图片说明

并且我SceneDelegate.swift已经包含 window 对象,

class SceneDelegate: UIResponder, UIWindowSceneDelegate {

var window: UIWindow?

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
    // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
    // This delegate does not imply the connecting scene or …
Run Code Online (Sandbox Code Playgroud)

ios swift ios13

1
推荐指数
2
解决办法
2403
查看次数

标签 统计

ios ×3

cocoapods ×2

ios13 ×1

objective-c ×1

swift ×1

twitter ×1

twitterkit ×1

xcode ×1