Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/115.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 用于Cocoapods库的架构armv7的未定义符号_Ios_Xcode_Cocoapods_Armv7_Xcode Project - Fatal编程技术网

Ios 用于Cocoapods库的架构armv7的未定义符号

Ios 用于Cocoapods库的架构armv7的未定义符号,ios,xcode,cocoapods,armv7,xcode-project,Ios,Xcode,Cocoapods,Armv7,Xcode Project,我在一个项目上偶然发现了一个问题,我需要继续工作。该项目使用CoCoapod来管理其库。我像往常一样运行pod install开始安装,但是xcode给了我错误。我得到了架构armv7的未定义符号,如下图所示: 所有这些符号都是我在项目中使用的库。例如,af网络,RNBlurModalView。我试图从项目中删除所有与Cocoapods相关的文件,并再次运行pod安装,但仍然没有解决问题 到目前为止我所做的: 清理项目并重新构建 删除Cocoapods相关文件并再次运行pod安装 试图在项目

我在一个项目上偶然发现了一个问题,我需要继续工作。该项目使用CoCoapod来管理其库。我像往常一样运行
pod install
开始安装,但是xcode给了我错误。我得到了架构armv7的
未定义符号,如下图所示:

所有这些符号都是我在项目中使用的库。例如,af网络,RNBlurModalView。我试图从项目中删除所有与Cocoapods相关的文件,并再次运行
pod安装
,但仍然没有解决问题

到目前为止我所做的:

  • 清理项目并重新构建
  • 删除Cocoapods相关文件并再次运行
    pod安装
  • 试图在项目目标的编译源代码中添加该类,但无法。该类位于Pods工作区中
  • 将仅构建活动体系结构从
    YES
    设置为
    NO
我也尝试了来自网络的解决方案,但没有一个对我有效

如果有帮助的话,我正在使用xCode6和Cocoapods
0.34.4
。项目的有效架构是
armv7和armv7s

更新:运行
pod安装时--verbose

Integrating client project

Integrating target `Pods` (`AIYOCore.xcodeproj` project)

[!] The use of implicit sources has been deprecated. To continue using all of the sources currently on your machine, add the following to the top of your Podfile:

    source 'https://github.com/CocoaPods/Specs.git'


[!] The `Project [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `Project [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

提前感谢。

在其他链接器标志中似乎没有
$(继承)
。请发布
pod安装的输出

您可能只需要清理构建文件夹(⌥⇧⌘K)


您好,我刚刚用我认为相关的部分日志更新了我的问题。介意看看吗?正如我之前写的,在所有目标的其他标志中添加$(继承)作为第一行谢谢!解决了我忽视警告的习惯!该死我遇到了同样的问题,我添加了$(继承的),但它不起作用。。仍然显示上面的错误。但我只能用arm64构建。。你知道为什么这仍然出现吗?