xcode React Native 构建版本:链接器命令失败,退出代码为 1

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/48564028/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:32:15  来源:igfitidea点击:

React Native build release: linker command failed with exit code 1

iosxcodereact-native

提问by theDC

I'm trying to build an archive of my app developed in react native.

我正在尝试构建我在 React Native 中开发的应用程序的存档。

I keep getting the following error though:

我不断收到以下错误:

enter image description here

在此处输入图片说明

I've browsed similar issues on github, like this one: https://github.com/react-community/react-native-maps/issues/1691but it's not relevant to my issue since I don't use maps.

我在 github 上浏览过类似的问题,比如这个:https: //github.com/react-community/react-native-maps/issues/1691但它与我的问题无关,因为我不使用地图。

I bet some of you have already came through this hell with releasing RN app, any help appreciated.

我敢打赌,你们中的一些人已经通过发布 RN 应用程序度过了这个地狱,任何帮助表示赞赏。

回答by amirhosein

yes i am in this hell to! i think you have to do this: xcode > your target > remove -IGTMSessionFetcher library from Libraries folder and "Linked Framwork and Libraries" section,hope this help

是的,我在这个地狱!我认为你必须这样做:xcode > 你的目标 > 从库文件夹和“链接框架和库”部分中删除 -IGTMSessionFetcher 库,希望这有助于