简体   繁体   English

clang:错误:链接器命令在删除AdMob后,在iOS应用程序中使用退出代码1(使用-v查看调用)失败

[英]clang: error: linker command failed with exit code 1 (use -v to see invocation) in iOS app after deleting AdMob

I tried to use AdMob in my iOS app and incorporated it to my iOS project, but after then I decided to delete it. 我尝试在我的iOS应用程序中使用AdMob并将其合并到我的iOS项目中,但之后我决定将其删除。 What I did was add those files that AdMob provide as well as lots of required frameworks, and then delete those files. 我所做的是添加AdMob提供的那些文件以及许多必需的框架,然后删除这些文件。 However, now my iOS app is not working at all, with the error of the clang: error: linker command failed with exit code 1 (use -v to see invocation) . 但是,现在我的iOS应用程序根本没有工作,因为clang: error: linker command failed with exit code 1 (use -v to see invocation)的错误clang: error: linker command failed with exit code 1 (use -v to see invocation)

I also got the following warnings: 我还收到以下警告:


ld: warning: directory not found for option '-L/Users/myusername/My App Name/My'
ld: warning: directory not found for option '-LApp'
ld: warning: directory not found for option '-LName'

I think I was quite idiotic to include whitespaces in my iOS app, but this is my first iOS app development and I didn't know that the app name is used as a directory name. 我认为在我的iOS应用程序中包含空格是非常愚蠢的,但这是我的第一个iOS应用程序开发,我不知道应用程序名称是用作目录名称。

So my question is, why is my app suddenly not working after deleting AdMob? 所以我的问题是,为什么我的应用在删除AdMob后突然无法使用? And ultimately should I create my app again from scratch using an app name not including whitespaces? 最终我应该使用不包括空格的应用名称从头开始重新创建我的应用程序吗?

I use iOS 7 and Xcode 5.1. 我使用iOS 7和Xcode 5.1。

Make sure your delete these 3 things in your library search path 确保在库搜索路径中删除这3件事

'-L/Users/myusername/My App Name/My'
'-LApp'
'-LName'

在此输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Geofire(iOS)clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - Geofire (iOS) clang: error: linker command failed with exit code 1 (use -v to see invocation) React Native IOS build clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用) - React Native IOS build clang: error: linker command failed with exit code 1 (use -v to see invocation) Swift 2 IOS 9 = clang: 错误:链接器命令失败,退出代码为 1(使用 -v 查看调用) - Swift 2 IOS 9 = clang: error: linker command failed with exit code 1 (use -v to see invocation) react-native ios 构建错误 - clang:错误:Z3175B426046787EECE7377387340B982 命令调用失败,退出代码1 - react-native ios build error - clang: error: linker command failed with exit code 1 (use -v to see invocation) xcode中的错误:clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - error in xcode : clang: error: linker command failed with exit code 1 (use -v to see invocation) AdMob错误链接器命令失败,退出代码为1(使用-v查看调用) - AdMob error Linker command failed with exit code 1 (use -v to see invocation) Xcode 5- clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - Xcode 5- clang: error: linker command failed with exit code 1 (use -v to see invocation) 修复-Xcode 9.1-铛:错误:链接器命令失败,退出代码为1(使用-v查看调用) - Fix - Xcode 9.1 - clang: error: linker command failed with exit code 1 (use -v to see invocation) clang:错误:设置cocoapods环境时,链接器命令失败,退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) when setting up cocoapods environment clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)Xcode 9 - clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 9
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM