带有崩溃符号的Xcode错误上传:symbolFileUploadLocation:调用者没有权限 [英] Xcode Error with Crash Symbol Upload: symbolFileUploadLocation: The caller does not have permission
问题描述
我遵循了位于此处的指南: https://firebase.google.com/docs/crash/ios
但是当我完成并尝试构建时,出现以下错误:
/ Users / - / Desktop / Test2 / Pods / FirebaseCrash /upload-sym-util.bash:349:error:symbolFileUploadLocation:调用者没有权限
任何人有什么想法?我搜索了谷歌,堆栈溢出和谷歌组,并没有看到任何其他人说明这个问题,我可以找到。
运行10.11.5,Xcode 7.3。 1
当我打开错误的源代码时,需要您上传到第349行的upload-sym-util.bash,这里是该区域的一个片段: p>
if [[$ ERRMSG]];那么
if((VERBOSE));
plutil -p$ FILE_UPLOAD_LOCATION_PLIST>& 2
fi
xcerrorsymbolFileUploadLocation:$ ERRMSG
xcnotesymbolFileUploadLocation :无法获取上传位置。
return 1
fi
您需要先通过 https://console.cloud.google.com/ 接受ToS
然后将编辑器角色添加到为上传符号而创建的服务帐户中,如下所述: https://firebase.google.com/docs/crash/ios#set_up_crash_reporting
I followed the guide located here:https://firebase.google.com/docs/crash/ios
But when I'm done and attempt to build, I get the following error: /Users/--/Desktop/Test2/Pods/FirebaseCrash/upload-sym-util.bash:349: error: symbolFileUploadLocation: The caller does not have permission
Anyone have any ideas? I've searched on google, stack overflow and google groups and don't see anyone else stating this issue that I can find.
Running 10.11.5, Xcode 7.3.1
When I open the source for the error, it takes you to upload-sym-util.bash, line 349, here is a snippet of that area:
if [[ "$ERRMSG" ]]; then
if ((VERBOSE)); then
xcnote "Server response:"
plutil -p "$FILE_UPLOAD_LOCATION_PLIST" >&2
fi
xcerror "symbolFileUploadLocation: $ERRMSG"
xcnote "symbolFileUploadLocation: Failed to get upload location."
return 1
fi
You need to first accept ToS at https://console.cloud.google.com/
Then give editor role to your Service Account created for uploading symbols as described here: https://firebase.google.com/docs/crash/ios#set_up_crash_reporting
这篇关于带有崩溃符号的Xcode错误上传:symbolFileUploadLocation:调用者没有权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!