我遵循了有关在firebase
上集成新的ios
发行版的所有说明:
GoogleService-Info.plist
并将其包含在项目中。 问题在于此行:
@import Firebase;
Xcode显示此错误:
解决办法是什么?
我的代码:
#import "AppDelegate.h"
@import Firebase
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[FIRApp configure];
// Override point for customization after application launch.
return YES;
}
最佳答案
我最终通过使用修复它#import <Firebase/Firebase.h>
代替@import Firebase
关于ios - 在iOS上安装Firebase模块,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37322473/