iOS 模拟器的 IBM-Bluemix 推送服务构建失败

IBM-Bluemix Push Service build for iOS Simulator fails

我正在尝试为 iOS 模拟器构建使用 IBM-Push 服务的 Cordova 应用程序。 它因以下错误而失败:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_IMFPushClient", referenced from:
      _globalinit_33_39105BEEF401CB604E77C276DFBC7CAA_func0 in CDVMFPPush.o
      myApp.CDVMFPPush.__allocating_init () -> myApp.CDVMFPPush in CDVMFPPush.o
      myApp.CDVMFPPush.__allocating_init (webView : __ObjC.UIWebView!) -> myApp.CDVMFPPush! in CDVMFPPush.o
      myApp.CDVMFPPush.init () -> myApp.CDVMFPPush in CDVMFPPush.o
      @objc myApp.CDVMFPPush.init () -> myApp.CDVMFPPush in CDVMFPPush.o
      function signature specialization <Arg[0] = Owned To Guaranteed> of myApp.CDVMFPPush.init (webView : __ObjC.UIWebView!) -> myApp.CDVMFPPush! in CDVMFPPush.o
      l_get_field_types_CDVMFPPush in CDVMFPPush.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当我为真实设备构建应用程序时,它运行没有问题。

我知道推送通知在模拟器上不起作用,但我需要截屏以上传到 App Store。

推送通知仅适用于 iOS 的实际设备。

我建议将您的 iOS 应用程序连接到您的 Mac 并使用 Quicktime 捕获您的屏幕。

Here is a CNET article about this feature.

如果这对您有用,请告诉我。