Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将应用程序上传到应用程序加载器,但出现错误“包含 amr64 架构的应用程序应包括 armv7 和 armv7s”我已经在构建设置中添加了这三种架构,但我仍然遇到相同的错误。现在我想用 lipo 命令行工具检查架构。但我不知道该怎么做。我应该使用lipo -info "name of the .app file"吗?
lipo -info "name of the .app file"
要包括所有架构(armv7、armv7s 和 arm64),请检查“仅构建活动架构”构建设置是否设置为发布配置,并在您正在构建的方案中检查构建配置是否设置为“发布”存档”菜单。
关于如何使用 lipo 命令查看您的项目架构,例如,如果您的应用名称是 MyApp.app: lipo -info path/to/MyApp.app/MyApp path/to/MyApp.app/MyApp 是可执行文件的路径你的应用