架构armv7的未定义符号:cocoaPods iPhone 5 [英] Undefined symbols for architecture armv7: cocoaPods iPhone 5

查看:242
本文介绍了架构armv7的未定义符号:cocoaPods iPhone 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误,只有当我尝试在iPhone 5上构建和运行时才能正常运行。它可以在iPhone 6或更高版本上正常运行。这些都是产生错误的cocoaPods。我已经运行了pod安装,pod更新,删除了pod并重新开始,没有:

I'm getting this error, only when I try to build and run on an iPhone 5. It works fine on an iPhone 6 or greater. These are all cocoaPods generating the error. I've ran pod install, pod update, wiped out the pods and started over, nothing:

我已经尝试了所有的答案: Cocoapods库的架构armv7的未定义符号没有运气。以下是pod安装的详细输出

I've tried all the answers from here: Undefined symbols for architecture armv7 for Cocoapods libraries with no luck. Here is the verbose output from pod install

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Celeo`: (``)

Finding Podfile changes
  - Braintree
  - ConciseKit
  - EDStarRating
  - Google
  - IDMPhotoBrowser
  - KAProgressLabel
  - MBProgressHUD
  - MagicalRecord
  - SFHFKeychainUtils
  - TwilioConversationsClient
  - TwilioSDK

Resolving dependencies of `Podfile`

Comparing resolved specification to the sandbox manifest
  - Braintree
  - ConciseKit
  - DACircularProgress
  - EDStarRating
  - FirebaseAnalytics
  - FirebaseInstanceID
  - Google
  - GoogleAnalytics
  - GoogleInterchangeUtilities
  - GoogleSymbolUtilities
  - GoogleUtilities
  - IDMPhotoBrowser
  - KAProgressLabel
  - MBProgressHUD
  - MagicalRecord
  - SDWebImage
  - SFHFKeychainUtils
  - TwilioCommon
  - TwilioConversationsClient
  - TwilioSDK
  - pop

Downloading dependencies

-> Using Braintree (4.3.1)

-> Using ConciseKit (0.1.2)

-> Using DACircularProgress (2.3.1)

-> Using EDStarRating (1.1)

-> Using FirebaseAnalytics (3.2.0)

-> Using FirebaseInstanceID (1.0.6)

-> Using Google (3.0.3)

-> Using GoogleAnalytics (3.14.0)

-> Using GoogleInterchangeUtilities (1.2.1)

-> Using GoogleSymbolUtilities (1.1.1)

-> Using GoogleUtilities (1.3.1)

-> Using IDMPhotoBrowser (1.8.4)

-> Using KAProgressLabel (3.2)

-> Using MBProgressHUD (0.9.2)

-> Using MagicalRecord (2.3.2)

-> Using SDWebImage (3.7.6)

-> Using SFHFKeychainUtils (0.0.1)

-> Using TwilioCommon (0.2.2)

-> Using TwilioConversationsClient (0.24.1)

-> Using TwilioSDK (1.2.10)

-> Using pop (1.0.9)
  - Running pre install hooks

Generating Pods project
  - Creating Pods project
  - Adding source files to Pods project
  - Adding frameworks to Pods project
  - Adding libraries to Pods project
  - Adding resources to Pods project
  - Linking headers
  - Installing targets
    - Installing target `Braintree` iOS 7.0
    - Installing target `ConciseKit` iOS 4.3
    - Installing target `DACircularProgress` iOS 5.0
    - Installing target `EDStarRating` iOS 4.3
    - Installing target `IDMPhotoBrowser` iOS 7.0
    - Installing target `KAProgressLabel` iOS 4.3
    - Installing target `MBProgressHUD` iOS 4.3
    - Installing target `MagicalRecord` iOS 6.1
    - Installing target `SDWebImage` iOS 5.0
    - Installing target `SFHFKeychainUtils` iOS 4.3
    - Installing target `pop` iOS 6.0
    - Installing target `Pods-Celeo` iOS 9.0
  - Running post install hooks
  - Writing Xcode project file to `Pods/Pods.xcodeproj`
    - Generating deterministic UUIDs
  - Writing Lockfile in `Podfile.lock`
  - Writing Manifest in `Pods/Manifest.lock`

Integrating client project

Integrating target `Pods-Celeo` (`Celeo.xcodeproj` project)
  - Running post install hooks
    - cocoapods-stats from
    `/Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-1.0.0/lib/cocoapods_plugin.rb`

Sending stats
      - Braintree, 4.3.1
      - ConciseKit, 0.1.2
      - DACircularProgress, 2.3.1
      - EDStarRating, 1.1
      - FirebaseAnalytics, 3.2.0
      - FirebaseInstanceID, 1.0.6
      - Google, 3.0.3
      - GoogleAnalytics, 3.14.0
      - GoogleInterchangeUtilities, 1.2.1
      - GoogleSymbolUtilities, 1.1.1
      - GoogleUtilities, 1.3.1
      - IDMPhotoBrowser, 1.8.4
      - KAProgressLabel, 3.2
      - MBProgressHUD, 0.9.2
      - MagicalRecord, 2.3.2
      - SDWebImage, 3.7.6
      - SFHFKeychainUtils, 0.0.1
      - TwilioSDK, 1.2.10
      - pop, 1.0.9
  Pod installation complete! There are 11 dependencies from the Podfile and 21
  total pods installed.


推荐答案

在Xcode中,按住选项键并选择Product /清理构建文件夹。然后重建。我有这个确切的问题,这个深度清理为我解决了这个问题。

In Xcode, hold the option key and select Product / Clean Build Folder. Then rebuild. I've had this exact problem and this "deep clean" resolves it for me.

另外,确保你的Pods项目只构建Build Active Architecture的构建设置设置为NO。

Also, ensure that for your Pods project that the build setting for Build Active Architecture Only is set to NO.

这篇关于架构armv7的未定义符号:cocoaPods iPhone 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆