我正在尝试安装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)
我该如何解决这个问题?
我安装了这些pod文件.
pod 'TwitterKit'
pod 'TwitterCore'
当我尝试导入文件i时.e #import <TwitterKit/TwitterKit.h>显示未找到错误.
为什么会有任何想法?什么出错或什么都有待补充?
当我尝试运行项目时出现以下错误,我的项目崩溃了。
它给出了以下错误,
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)