当归档iOS项目时,我得到一个错误“无法找到模块SwiftMessages”。我使用的是CocoaPods、XcodeV10.2和iOS V10.1。下面是我的pod文件: # Uncomment the next line to define a global platform for your project
platform :ios, '10.1'
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
我试图创建一个颤振应用程序,使用Firebase和Geolocator插件。
我将使用用于的Firebase插件,使用和。
显然,是一个非常可靠的位置识别插件。
在Android系统中,一切都很好--一切都很好!
然而,在iOS中,我无法构建应用程序,错误:
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build sett
我有一个团结项目,它使用我使用Firebase MLKit创建的本机Swift + ObjC库。当试图为iOS构建时,团结项目总是使用Xcode 11.3.1构建,但是当更新到任何Xcode 12.X版本时,我会得到以下错误:
ld: warning: Could not find or use auto-linked library 'swiftCoreMIDI'
ld: warning: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers'
Undefined symb
当我使用谷歌的firebase时,我遇到了一个奇怪的错误。
当我尝试初始化Fire base时,使用下面的代码为它设置ref地址
let BASE_URL = "YOUR_FIREBASE_URL"
var FIREBASE_REF = Firebase(url: BASE_URL)
,则会显示一个错误:
Cannot call value of non-function type 'module<Firebase>'
我的pod文件如下所示:
# Uncomment this line to define a global platform for
我总是通过在我的AppDelegate.swift中导入Framework来得到以下警告
import Firebase -> File 'AppDelegate.swift' is part of module 'Firebase'; ignoring import
以及didFinishLaunchingWithOptions:中的以下错误
FIRApp.configure() -> Use of unresolved identifier 'FIRApp'
我用CocoaPods导入了Firebase框架。那是我的档案:
# U
我正在开发一个带有Firebase和Facebook SDK的应用程序,但由于某些原因,我在安装Facebook SDK时遇到了问题。Firebase运行得很好,我已经关注了Swift的官方facebook 。这是我的Podfile:
platform :ios, '10.0'
target 'MyApp_iOS' do
use_frameworks!
# Pods for MyApp_iOS
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database
iOS的是一个Objective-C框架,它推荐使用Cocoapod进行集成。下面是我尝试设置它的方法:
我在OS 10.11.6上运行Xcode 8b6。该应用程序是使用针对iOS 9的iOS 10SDK构建的。
MyApp是我想使用的常规(Swift) iOS应用程序。
MyFramework是一个嵌入式动态框架,带有应用程序q。我希望所有的Firebase代码都被抽象到框架中,从而将Firebase添加到我的Podfile中的MyFramework目标中
# Uncomment this line to define a global platform for your project
在我将项目转换为getting 3之后,我在Test.swift文件中得到了这个错误:
No such module 'Firebase'
Command/usr/bin/ditto failed with code 1
这是不是意味着我必须更新防火墙框架?为什么会这样?
*应用程序仍然在运行!
*这是豆荚文件:
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
use_frameworks!
target 'TheTe
我正试图从我的iOS应用程序中访问Firestore中的数据。我安装了Firebase/Firestore吊舱,并再次构建了该项目。然后,我在AppDelegate.swift中插入了以下代码
import Firebase
FirebaseApp.configure()
let db = Firestore.firestore()
回到我的ViewController,,我尝试访问db以获得一些数据:
let services = db.collection("services").getDocuments { (snapshot, error) in
开始在Swift 3和Xcode8中开发一个过时的项目。
试图使它在Xcode 10和9下工作(分别拥有它们)。用目标平台将每个已知的位置更新为11,将快速版本更新为4/5。有许多过时的豆荚会导致构建错误,所以我用pod update和pod install更新了它们。但是,Xcode没有选择新版本,特别是SKPhotoBrowser和SwiftDate分别停留在4.1.0和4.3.0版本上,尽管pod install声明安装了6.1.0和6.0.3版本。
Podfile:
# Uncomment this line to define a global platform for your p
我正在尝试使用 ( CocoaPods,)将我的Swift项目更新为,但是即使我遵循,更新后的SDK似乎也没有安装。
可以帮助我理解为什么这不起作用,以及我可以做些什么来更新到新的Firebase SDK?
我的个人档案
# Uncomment this line to define a global platform for your project
platform :ios, '9.2'
# Uncomment this line if you're using Swift
use_frameworks!
target 'myProject'
当我运行pod install或pod update时,post_install可以正常工作。但是现在它抛出了一个错误:
[!] An error occurred while processing the post-install hook of the Podfile.
undefined method `push' for #<String:0x007f8726e2ee60>
Did you mean? puts
/Users/waseefakhtar/Documents/iOS /Swift 3/Canary/Podfile:39:in `block (4 l
我正在尝试将Firebase合并到我的Xcode SwiftUI项目中。我使用Swift添加了Firebase包,并且能够调用FirebaseApp.configure()在我的UIApplicationDelegate类中初始化我的应用程序。现在我正在尝试记录分析事件,并遇到了一个问题。
我的UIApplicationDelegate类位于一个iOS特定的文件夹中.我有一个服务类,它位于共享文件夹中(用于iOS和macOS构建)。在我的服务班里,我增加了一句话:
import Firebase
然而,当我去构建我的iOS目标时,我会看到一个错误:
No such module 'Fi