- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 Xcode 版本 12.3 (12C33) 在 Ios 上使用 Firebase 编译 Ionic 3 应用程序。
即使使用 Podfile 中的模块,出于某种原因它仍然给出'使用未声明的标识符 'FIRAnalyticsConfiguration'
我做错了什么?一切看起来都更新了。
使用的命令:
ionic cordova platform rm ios && ionic cordova platform add ios && cd platforms/ios/ && pod deintegrate && pod cache clean --all && pod install
release.xxconfig
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/GoogleAppMeasurement/Frameworks" "${PODS_XCFRAMEWORKS_BUILD_DIR}/FirebaseAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseCoreDiagnostics" "${PODS_ROOT}/Headers/Public/FirebaseInstallations" "${PODS_ROOT}/Headers/Public/GoogleDataTransport" "${PODS_ROOT}/Headers/Public/GoogleUtilities" "${PODS_ROOT}/Headers/Public/PromisesObjC" "${PODS_ROOT}/Headers/Public/nanopb" $(inherited) ${PODS_ROOT}/Firebase/CoreOnly/Sources "${PODS_TARGET_SRCROOT}/Sources/FBLPromises/include"
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb"
cPODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
播客文件:
source 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
target 'Motok' do
project 'Motok.xcodeproj'
pod 'Firebase/Analytics', '~> 7.5.0'
end
广告连播版本:
user189648$ pod --version
1.10.1
ionic 信息
$ ionic info
Ionic:
Ionic CLI : 6.12.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.3
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : ios 6.1.1
Cordova Plugins : no whitelisted plugins (27 plugins total)
Utility:
cordova-res (update available: 0.15.2) : 0.8.1
native-run : not installed
System:
NodeJS : v14.15.0 (/usr/local/bin/node)
npm : 6.14.9
OS : macOS Catalina
package.json
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/http": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@firebase/app": "^0.6.13",
"@ionic-native/admob-free": "^4.20.0",
"@ionic-native/android-permissions": "^4.17.0",
"@ionic-native/background-mode": "^3.1.0-rc.1",
"@ionic-native/camera": "^5.31.1",
"@ionic-native/core": "^5.31.1",
"@ionic-native/fcm": "^5.31.1",
"@ionic-native/firebase": "^5.31.1",
"@ionic-native/firebase-crash": "^5.0.0",
"@ionic-native/geolocation": "^4.20.0",
"@ionic-native/google-maps": "^4.14.0",
"@ionic-native/in-app-browser": "^5.31.1",
"@ionic-native/launch-navigator": "^4.20.0",
"@ionic-native/location-accuracy": "^4.20.0",
"@ionic-native/native-audio": "^5.31.1",
"@ionic-native/push": "^5.31.1",
"@ionic-native/screen-orientation": "^4.20.0",
"@ionic-native/social-sharing": "^5.31.1",
"@ionic-native/splash-screen": "4.7.0",
"@ionic-native/status-bar": "4.7.0",
"@ionic-native/vibration": "^5.31.1",
"@ionic/pro": "^2.0.3",
"@ionic/storage": "2.1.3",
"@ngx-translate/core": "10.0.1",
"@ngx-translate/http-loader": "^3.0.1",
"@types/googlemaps": "3.26.15",
"add": "2.0.6",
"angular-calendar": "^0.25.2",
"angular-calendar-week-hours-view": "^1.0.2",
"angular-elastic": "^2.5.1",
"angularfire2": "^5.1.1",
"animate.css": "^3.7.0",
"browser": "0.2.6",
"clean": "4.0.2",
"compare-func": "^2.0.0",
"cordova-admob-sdk": "0.24.1",
"cordova-browser": "5.0.4",
"cordova-plugin-actionsheet": "^2.3.3",
"cordova-plugin-android-permissions": "^1.0.2",
"cordova-plugin-androidx": "^1.0.2",
"cordova-plugin-androidx-adapter": "^1.1.0",
"cordova-plugin-bring-to-front": "0.0.3",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-filechooser": "^1.2.0",
"cordova-plugin-firebase-lib": "^5.0.0",
"cordova-plugin-geolocation": "^4.0.2",
"cordova-plugin-googlemaps": "^2.6.2",
"cordova-plugin-ionic": "^4.2.0",
"cordova-plugin-nativeaudio": "^3.0.9",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-vibration": "^3.1.1",
"cordova-plugin-x-socialsharing": "^5.6.2",
"cordova-plugin-youtube-video-player": "^1.0.6",
"cordova-promise-polyfill": "0.0.2",
"cordova-res": "^0.8.1",
"cordova-support-android-plugin": "^1.0.1",
"cordova-support-google-services": "^1.4.1",
"core-js": "^3.8.3",
"css-animator": "^2.3.1",
"date-fns": "^1.29.0",
"default-passive-events": "^1.0.10",
"es6-promise": "^4.2.8",
"es6-promise-plugin": "^4.2.2",
"firebase": "^8.0.0",
"firebase-config": "0.0.2",
"firebase-functions": "^3.13.1",
"firebase-tools": "^9.0.1",
"geolocation-marker": "^2.0.5",
"grpc": "^1.24.2",
"install": "^0.11.2",
"intl": "^1.2.5",
"ionic-angular": "3.9.2",
"ionic2-calendar": "^0.4.6",
"ionic2-rating": "^1.2.2",
"ionicons": "4.1.1",
"marker-animate-unobtrusive": "^0.2.8",
"minimist": "^1.2.0",
"moment": "^2.29.1",
"moment-timezone": "^0.5.32",
"mydatepicker": "^2.6.11",
"node-properties-parser": "0.0.2",
"node-sass": "^4.14.1",
"promise-polyfill": "8.2.0",
"rxjs": "6.3.3",
"rxjs-compat": "6.3.3",
"shelljs": "^0.8.4",
"signature_pad": "^3.0.0-beta.4",
"sw-toolbox": "3.6.0",
"uk.co.workingedge.phonegap.plugin.launchnavigator": "^5.0.4",
"xml-js": "^1.6.11",
"zone.js": "0.8.29"
},
"devDependencies": {
"@ionic/app-scripts": "3.2.3",
"cordova-android": "^9.0.0",
"cordova-bring-to-front": "git+https://github.com/markeeftb/cordova-bring-to-front.git",
"cordova-ios": "^6.1.1",
"cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-admob-free": "^0.27.0",
"cordova-plugin-background-mode": "git+https://github.com/katzer/cordova-plugin-background-mode.git",
"cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git",
"cordova-plugin-inappbrowser": "git+https://github.com/apache/cordova-plugin-inappbrowser.git",
"cordova-plugin-nativeaudio": "^3.0.9",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"typescript": "^2.9.2"
},
"description": "Aplicativo de entregas e moto táxi",
"cordova": {
"plugins": {
"cordova-plugin-youtube-video-player": {},
"cordova-plugin-x-socialsharing": {
"ANDROID_SUPPORT_V4_VERSION": "24.1.1+",
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "Precisamos de acesso para tirar fotos e abrir album. Usaremos essa imagem no perfil de acesso do user.",
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "Precisamos de acesso para tirar fotos e abrir album. Usaremos essa imagem no perfil de acesso do user."
},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-geolocation": {
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you",
"GPS_REQUIRED": "true"
},
"cordova-plugin-filechooser": {},
"cordova-plugin-googlemaps": {
"API_KEY_FOR_ANDROID": "xxxxxxxxxx",
"API_KEY_FOR_IOS": "xxxxxxxxx",
"PLAY_SERVICES_VERSION": "15.0.1",
"ANDROID_SUPPORT_V4_VERSION": "27.+",
"LOCATION_WHEN_IN_USE_DESCRIPTION": "This app wants to get your location while this app runs only.",
"LOCATION_ALWAYS_USAGE_DESCRIPTION": "This app wants to get your location always, even this app runs in background."
},
"cordova-plugin-file": {},
"cordova-support-google-services": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-firebase-lib": {},
"cordova-plugin-androidx": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-nativeaudio": {},
"cordova-plugin-vibration": {},
"cordova-plugin-background-mode": {},
"in.lucasdup.bringtofront": {},
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
"GOOGLE_API_KEY_FOR_ANDROID": "xxxxxxxxxxx",
"OKHTTP_VERSION": "3.12.0",
"LOCATION_USAGE_DESCRIPTION": "Precisamos de acesso a sua localizacao para enviar e receber chamados"
},
"cordova-plugin-request-location-accuracy": {},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-admob-free": {
"ADMOB_APP_ID": "xxxxxxxxxxxxx"
},
"cordova-admob-sdk": {
"PLAY_SERVICES_VERSION": "17.+"
},
"cordova-plugin-add-swift-support": {},
"cordova-plugin-inappbrowser": {}
},
"platforms": [
"browser",
"ios"
]
}
}
config.xml
<?xml version='1.0' encoding='utf-8'?>
...
<plugin name="cordova-plugin-youtube-video-player" spec="^1.0.6" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.6.2">
<variable name="ANDROID_SUPPORT_V4_VERSION" value="24.1.1+" />
<variable name="PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION" value="Precisamos de acesso para tirar fotos e abrir album. Usaremos essa imagem no perfil de acesso do user." />
<variable name="PHOTO_LIBRARY_USAGE_DESCRIPTION" value="Precisamos de acesso para tirar fotos e abrir album. Usaremos essa imagem no perfil de acesso do user." />
</plugin>
<plugin name="cordova-plugin-device" spec="^2.0.3" />
<plugin name="cordova-plugin-splashscreen" spec="^5.0.3" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.4" />
<plugin name="cordova-plugin-camera" spec="^4.1.0">
<variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
</plugin>
<plugin name="cordova-plugin-geolocation" spec="^4.0.2">
<variable name="GEOLOCATION_USAGE_DESCRIPTION" value="Precisamos de acesso para tirar fotos e abrir album. Usaremos essa imagem no perfil de acesso do user" />
</plugin>
<plugin name="cordova-plugin-filechooser" spec="^1.2.0" />
<plugin name="cordova-plugin-googlemaps" spec="^2.6.2">
<variable name="API_KEY_FOR_ANDROID" value="xxxxx" />
<variable name="API_KEY_FOR_IOS" value="xxxxxxx" />
<variable name="PLAY_SERVICES_VERSION" value="17.0.0" />
<variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
</plugin>
<plugin name="cordova-plugin-file" spec="^6.0.2" />
<plugin name="cordova-plugin-statusbar" spec="^2.4.3" />
<plugin name="cordova-plugin-android-permissions" spec="^1.0.2" />
<plugin name="cordova-plugin-firebase-lib" spec="5.1.1" />
<plugin name="cordova-plugin-androidx" spec="^1.0.2" />
<plugin name="cordova-plugin-androidx-adapter" spec="^1.1.0" />
<plugin name="cordova-plugin-nativeaudio" spec="^3.0.9" />
<plugin name="cordova-plugin-vibration" spec="^3.1.1" />
<plugin name="uk.co.workingedge.phonegap.plugin.launchnavigator" spec="^5.0.4">
<variable name="GOOGLE_API_KEY_FOR_ANDROID" value="xxxxxx" />
<variable name="OKHTTP_VERSION" value="3.12.0" />
<variable name="LOCATION_USAGE_DESCRIPTION" value="Precisamos de acesso a sua localizacao para enviar e receber chamados" />
</plugin>
<plugin name="cordova-plugin-request-location-accuracy" spec="^2.3.0" />
<plugin name="cordova-plugin-screen-orientation" spec="^3.0.2" />
<plugin name="in.lucasdup.bringtofront" spec="https://github.com/markeeftb/cordova-bring-to-front" />
<plugin name="cordova-plugin-background-mode" spec="https://github.com/katzer/cordova-plugin-background-mode.git" />
<plugin name="cordova-admob-sdk" spec="~0.13.1">
<variable name="PLAY_SERVICES_VERSION" value="17.+" />
</plugin>
</widget>
build设置:
错误:
我很感激任何帮助。谢谢。
最佳答案
根据 Firebase Analytics 的发行说明FIRAnalyticsConfiguration
API 在版本 6.0.0 中被删除。您可以直接在 FirebaseAnalytics
类上使用相同的 API。
关于ios - Firebase - 使用未声明的标识符 'FIRAnalyticsConfiguration',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65962292/
我在覆盖 ReSwift Pod 中的函数时遇到问题。我有以下模拟类(class): import Foundation import Quick import Nimble import RxSwi
我有一个类似于下面的继承结构。我正在采用 Printable 协议(protocol)并努力覆盖 description 属性。我遇到了一个谷歌此时似乎不知道的奇怪错误,提示为第三类,并引用了第二类和
我有一个类“Cat”和 Cat 类的一个子类“DerivedCat”。 Cat 有一个函数 meow(),而 DerivedCat 覆盖了这个函数。 在应用程序中,我声明了一个 Cat 对象: Cat
Kotlin 变量 变量是用于存储数据值的容器。 要创建一个变量,使用 var 或 val,然后使用等号(=)给它赋值: 语法 var 变量名 = 值 val 变量名 = 值 示例 va
C 中的所有标识符在使用前都需要声明,但我找不到它在 C99 标准中表示的位置。 我觉得也是指宏定义,不过定义的只是宏展开顺序。 最佳答案 C99:TC3 6.5.1 §2,脚注 79 明确指出: T
今天我的博客提要显示错误: This page contains the following errors: error on line 2 at column 6: XML declaration
在编写 IIF 语句、表和下面给出的语句时出现错误。 陈述: SELECT IIF(EMP_ID=1,'True','False') from Employee; table : CREATE TAB
我正在创建一个登录 Activity ,我希望它在按下登录按钮时显示进度对话框,我声明、初始化并调用了它,但它没有显示。但是当我在创建时调用进度对话框时,它出现了 这是我的代码: public cla
当我输入声明语句时: Vector distance_vector = new Vector(); 我收到错误(在两种情况下都在“双”下划线): Syntax error on token "doub
我正在本地部署在docker-for-desktop中。这样我将来可以迁移到kubernetes集群。 但是我面临一个问题。使用永久卷时,docker容器/ pod中的目录将被覆盖。 我正在拉最新的S
我有一个 MyObject 类型的对象 obj,我声明了它的实例。 MyObject obj; 但是,我没有初始化它。 MyObject 的类看起来像: public class MyObject {
关闭。这个问题是opinion-based 。目前不接受答案。 想要改进这个问题吗?更新问题,以便 editing this post 可以用事实和引文来回答它。 . 已关闭 9 年前。 Improv
这个问题已经有答案了: Android: Issue during Arraylist declaration (1 个回答) 已关闭 9 年前。 有时我会看到 ArrayList 声明如下 Arra
我对java比较陌生,经过大量搜索,我无法将相关问题的任何解决方案与我的解决方案配对。我正在尝试实现一种非常简单的方法来写入/读取数组,但编译器无法识别它。 “键盘”也是一个“无法识别的变量”。这是数
简短:何时分配内存 - 在声明或初始化时? 长整型:int x;将占用与int z = 10;相同的内存。 此外,这对于包含更多数据的自定义对象将如何工作。假设我有这个对象: public class
我需要使用此程序更好地理解函数定义、声明和正确调用。我真的需要了解如何使用它们。您能否向我展示编写此程序的正确方法(所有三个都正确并进行解释)? #include #include quad_eq
这是我的主要功能以及我要传递的内容。 int main(void){ struct can elC[7]; // Create an array of stucts Initiali
我想知道是否有更好的方法来完成此任务; 我有一个对象 - 其中一个属性是字典。我有一组逗号分隔值。我需要过滤 Dictionary 并仅获取 Dictionary 值至少与其中一个值匹配的那些元素 这
下面的using-declarations有什么意义 using eoPop::size; using eoPop::operator[]; using eoPop::back; using eoPo
我的问题更像是一个关于 for 循环样式的好奇问题。在阅读别人的一些旧代码时,我遇到了一种我以前从未见过的风格。 var declaredEarlier = Array for(var i=0, le
我是一名优秀的程序员,十分优秀!