更新 的XCode版本的包:8.2 iOS的目標:9在「my_app.app/ResearchKit/ResearchKit/Info.plist」不包含捆綁可執行
希望一些可以指出,我認爲這不是一個錯誤。很簡單,我拉了最新穩定版的researckKit,並將.xcodeproj文件放入我的新iOS項目中,添加了嵌入式二進制文件。我在模擬器中創建了幾個看起來很好的步驟。我的應用程序構建良好,甚至存檔驗證確定。上傳到應用商店是好的,但是從應用程序商店,然後我收到電子郵件,其中包含6項都長得差不多,爲6個不同Info.plist
文件ReserachKit框架內:
Unexpected CFBundleExecutable Key - The bundle at 'my_app.app/ResearchKit/ResearchKit/Info.plist' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.
我發現相當few answers on Stack Overflow,許多人同意執行錯誤消息中建議的內容:只需從.plist文件中刪除CFBundleExecutable Key即可。我試過了,但後來我的檔案甚至不會與下面的錯誤驗證:
iTunes Store operation failed. Invalid Bundle Structure - The binary file 'my_app.app/Frameworks/ResearchKit.framework/ResearchKit' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.
**更新**
就算我把ResearchKit框架的新版本從GitHub這個項目。所以相反,我剛剛從另一個Xcode項目中試了一個版本的ResearchKit的副本,我最近在應用商店中成功部署了該版本,我認爲它是否適用於該應用的應用。但是,唉,我從App Store收到有關意外的CFBundleExecutable Key的同樣的電子郵件錯誤。
這又是一個蘋果支持的免費框架。有關如何在github頁面上使用它的簡單說明,我遵循。我已經使用過它,並最近提交了一個應用程序,它沒有問題,並且目前在測試飛行Beta測試中處於活動狀態。我也filed an issue on the GitHub project page。