小编eMd*_*dOS的帖子

Xcode 7 - 尝试使用CocoaPods(Swift)集成Parse时出错

我正在使用Xcode 7 beta,我一直在尝试使用Cocoapods集成Parse iOS SDK.

我已经创建了bridging-header.h,我进口了Parse #import <Parse/Parse.h>.我已经打电话给Parse了AppDelegate.swift.

当我尝试使用与Parse相关的任何类/对象时,会发生错误.实际上,我只是用Parse调用Parse:Parse.setApplicationId(ParseAPI.AppID, clientKey: ParseAPI.ClientKey)

我收到以下错误:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Parse", referenced from:
      type metadata accessor for ObjectiveC.Parse in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

我已经多次清理了项目,甚至是一个完整的清洁版本.

parsing ios cocoapods swift xcode7-beta2

6
推荐指数
2
解决办法
3452
查看次数

Crashlytics pod 仍在使用 UIWebView 生成 ITMS-90809:已弃用的 API 使用

我最近向TestFlight上传了一个应用程序,我收到了来自Apple的以下警告:

ITMS-90809:不推荐使用 API - Apple 将停止接受使用 UIWebView API 的应用程序的提交。有关更多信息,请参阅https://developer.apple.com/documentation/uikit/uiwebview

由于我根本没有直接使用任何东西UIWebView,我做了:

grep -r "UIWebView" .
Run Code Online (Sandbox Code Playgroud)

结果是:

Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches
Run Code Online (Sandbox Code Playgroud)

我正在使用Crashlytics (3.13.4)哪个是最新的。

ios cocoapods crashlytics google-fabric

4
推荐指数
1
解决办法
2899
查看次数