ios - Flurry v 4.2.3 链接问题

标签 ios flurry

我正在尝试更新到最新版本的 Flurry,从 4.2.2 到 4.2.3。我已经更新了文件,但现在我遇到了各种链接错误。

    Undefined symbols for architecture i386:
  "_SecItemAdd", referenced from:
      -[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_SecItemCopyMatching", referenced from:
      -[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_SecItemDelete", referenced from:
      -[FlurryKeychainWrapper removeObjectForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_SecItemUpdate", referenced from:
      -[FlurryKeychainWrapper updateValueData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecAttrAccessible", referenced from:
      -[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecAttrAccessibleWhenUnlocked", referenced from:
      -[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecAttrAccount", referenced from:
      -[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecAttrGeneric", referenced from:
      -[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecAttrService", referenced from:
      -[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecClass", referenced from:
      -[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecClassGenericPassword", referenced from:
      -[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecMatchLimit", referenced from:
      -[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecMatchLimitOne", referenced from:
      -[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecReturnData", referenced from:
      -[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
  "_kSecValueData", referenced from:
      -[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
      -[FlurryKeychainWrapper updateValueData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

至少可以说这是相当令人沮丧的。我已经包含了 SystemConfiguration 框架(如前所述 here )。我正在运行 xCode 4.6.3。关于问题可能出在哪里的任何想法?

最佳答案

您需要添加 Security.framework,因为链接器错误中提到的符号来自该框架。


来自 Flurry update page

如何更新?

Download the latest version of Flurry’s SDK (version 4.2.3) here. Include Apple’s Security Framework in your build process. (see the FAQ entry below for details on how to do this)

“安全”框架是强制性的吗?

To ensure the integrity of your data, Flurry requires that you include this framework in your updated app.

关于ios - Flurry v 4.2.3 链接问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18767011/

相关文章:

ios - 另一个 SIGABRT 错误

ios - Flurry 事件根本不显示

ios - Flurry - 识别出比下载更多的新用户

ios - 如何为 Xcode 自定义 ViewController 模板文件?

ios - iOS 中的视频编辑问题

ios - Swift 4 泛型数组作为泛型类中的参数

iphone - Flurry 是否按安装或用户 ID、iPhone 进行跟踪?

ios - Collection View 更改单元格大小

java - 无法反序列化来自 Flurry API 的 json 响应

iphone - Flurry (SDK 4.2.4) 集成在 Xcode 5、iOS7 中不起作用