【问题标题】:Unable to archive project with ResearchKit but successfully works on Simulator and Device无法使用 ResearchKit 归档项目,但可以在模拟器和设备上成功运行
【发布时间】:2021-03-08 05:59:00
【问题描述】:

我有一个使用 ResearchKit 收集调查信息的旧项目。该项目使用 pod (pod 'ResearchKit') 并且一切正常。现在,当我想将此应用程序部署到 Testflight 时,Apple 拒绝了我的应用程序,并说 ITMS-90809: Deprecated API Usage - 不再接受使用 UIWebView 的新应用程序。相反,使用 WKWebView 来提高安全性和可靠性。经过一番研究,我遇到了一些解决方案,建议删除 researchkit cocoapod,而是使用 ResearchKit 项目,如下https://github.com/ResearchKit/ResearchKit/issues/1346http://blog.shazino.com/articles/dev/researchkit-setup-project/。我完全按照这些步骤操作,并成功地在模拟器和真实设备上运行了我的应用程序。该应用程序像以前一样运行良好,但是当我尝试存档该应用程序时,它给出了一个错误提示 'ResearchKit/ResearchKit.h' file not found

我检查了许多解决方案,但没有一个对我有用

Undefined symbols for architecture arm64

The bundle at 'my_app.app/ResearchKit/ResearchKit/Info.plist' does not contain a bundle executable

不确定这是库中的错误还是我做错了什么,请求您帮助我

【问题讨论】:

    标签: ios objective-c frameworks archive researchkit


    【解决方案1】:

    使用 pod 修复了这个问题

    pod 'ResearchKit', :git => 'https://github.com/ResearchKit/ResearchKit.git', :branch => 'master'
    

    【讨论】:

      猜你喜欢
      • 2013-07-06
      • 2011-03-31
      • 1970-01-01
      • 2022-06-20
      • 1970-01-01
      • 1970-01-01
      • 2015-09-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多