gpt4 book ai didi

ios11 - 新的Crashlytics方法

转载 作者:行者123 更新时间:2023-12-03 15:26:09 24 4
gpt4 key购买 nike

我昨天刚通过Cocoapods下载了Crashlytics,
我开始通过互联网上的一些视频将其集成到我的项目中。
我喜欢没有Fabric Pod的集成方式(新方式),所以我成功地做到了。

Screen shot of successful Crashlytics settings.

除了上传DSYM文件外,其他一切正常。我尝试了以下代码:

"${PODS_ROOT}/FirebaseCrashlytics/run"
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp
"${PROJECT_DIR}/GoogleService-Info.plist" -p ios
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"

但这在编译时给我一个错误:
Running upload-symbols in Build Phase mode
Validating build environment for Crashlytics...
Validation succeeded. Exiting because upload-symbols was run in validation mode
[31merror: Could not get path for GoogleService-Info.plist[0m
/Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Intermediates.noindex/MAGICWORLD.build/Debug-iphoneos/MAGICWORLD.build/Script-78DFB3242419196A006596CC.sh: line 4: /Users/ahmedal-mashhoor/Desktop/MagicWordiOS/GoogleService-Info.plist: Permission denied
/Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Intermediates.noindex/MAGICWORLD.build/Debug-iphoneos/MAGICWORLD.build/Script-78DFB3242419196A006596CC.sh: line 5: /Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Products/Debug-iphoneos/MAGICWORLD.app.dSYM: is a directory
Command PhaseScriptExecution failed with a nonzero exit code

我在这里做错什么了?,请帮忙。

最佳答案

我找到了正确的代码:

"${PODS_ROOT}/FirebaseCrashlytics/run"
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p iOS "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"

关于ios11 - 新的Crashlytics方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60648897/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com