在创建iOS构建文件以进行Facebook应用审核时出现问题

时间:2019-04-23 06:31:09

标签: ios swift xcode facebook

我正在执行以下程序:https://developers.facebook.com/docs/ios/getting-started/advanced#sim_build

我首先在iPhone 5s上运行构建版本

然后我从命令行使用(填写所有星号和目标位置)

ditto -ck --sequesterRsrc --keepParent `ls -1 -d -t ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app | head -n 1` path/to/YourApp.zip

然后

ios-sim launch /path/to/your-app.app

也可以从命令行启动构建并替换文件路径

我收到此错误

/Users/planetsanzio/Desktop/MyApp.zip/Info.plist file not found.

此外,从Finder进行查看时,文件本身上带有灰色的“ x”。双击构建文件时,弹出以下错误

You can’t use this version of the application “Chain” with this version of macOS.
You have macOS 10.14.4. The application requires macOS 12.0 or later.

其中12.0是应用程序的iOS目标版本。每当我尝试将zip文件上传到Facebook时,都说尝试上传该文件时出错

我正确地遵循了该程序吗?以前有没有人经历过?

注意-我不使用科尔多瓦

1 个答案:

答案 0 :(得分:1)

在 .app 文件而不是 .zip 文件上运行 ios-sim 启动命令。

Facebook 的审核团队会先解压缩文件。

相关问题