相关疑难解决方法(0)

支持的平台,基本SDK,构建仅在pod更新后还原的活动架构设置

我的团队最近开始使用CocoaPods来管理iOS应用程序项目中的依赖项.

这是podfile:

platform :ios, '6.0'

pod "UI7Kit"
pod "AFNetworking", "~> 2.0"
pod "TMCache"
pod "SVProgressHUD"
pod "SVPullToRefresh"
Run Code Online (Sandbox Code Playgroud)

但是,在使用CocoaPods之后,iPhone 5的构建目标总是失败,但成功的模拟器.

这是错误日志:

ld: warning: ignoring file [DerivedData directory]/libPods.a, file was built for archive which is not the architecture being linked (armv7): [DerivedData directory]/libPods.a
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_SVProgressHUD", referenced from:
      objc-class-ref in ....o
  "_OBJC_CLASS_$_TMCache", referenced from:
      objc-class-ref in ....o
  "_OBJC_CLASS_$_UI7Kit", referenced from:
      objc-class-ref in ....o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 …
Run Code Online (Sandbox Code Playgroud)

iphone objective-c ios cocoapods

5
推荐指数
2
解决办法
2623
查看次数

标签 统计

cocoapods ×1

ios ×1

iphone ×1

objective-c ×1