app提交App Store 报错

本文解决了两个常见的iOS应用审核问题:一是应用未针对iPhone 5进行优化,二是应用内购买未使用苹果官方的IAP接口。提供了详细的步骤来帮助开发者调整应用设置,确保符合苹果的审核标准。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、
ERROR ITMS-90096: “Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen.”
ERROR ITMS-90096: “Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen.

解决办法:

第一步、把Launch Screen File清空 然后使用Launch Screen Source 在Launch里面加
640*960 (4/4s) 2X位置

640*1136 (5/5s/5c) R4位置

750*1334 (6) R4.7位置

1242*2208 (6 plus) R5.5位置

第二步、info.plist加入图片中的字段

<key>UILaunchImages</key>
    <array>
        <dict>
            <key>UILaunchImageName</key>
            <string>Default-568</string>
            <key>UILaunchImageSize</key>
            <string>{320,568}</string>
        </dict>
    </array>

,把一张命名为Default-568.png Default-568@2x.png的图片放工程目录下就可以了。

图片:这里写图片描述

二、

  1. 1.1 BUSINESS: PAYMENTS - IN-APP PURCHASE

Business - 3.1.1

We noticed that your app enables the purchase of content, services, or functionality in the app by means other than the in-app purchase API, which is not allowed on the App Store.

Specifically, your app enables points or intermediate currencies to purchase video courses without using the in-app purchase API. Additionally, please note that the cost of the points or the intermediate currency to purchase video coureses cannot be included in the purchase price of the app.

Next Steps

While the payment system that you have included may conduct the transaction outside of the app, if the purchasable content, functionality, or services are intended to be used in the app, they must be purchased through IAP, within the app - unless it is of the type referenced in guideline 3.1.3 of the App Store Review Guidelines.

In-App Purchase

It may be appropriate to revise your app to use the in-app purchase API to provide content purchasing functionality.

In-app purchase provides several benefits, including:

  • The flexibility to support a variety of business models.

  • Impacting your app ranking by consolidating your sales to one app rather than distributing them across multiple apps.

  • An effective marketing vehicle to drive additional sales of new content.

For information on in-app purchase, please refer to the following documentation:

In-App Purchase for Developers

In-App Purchase Programming Guide

For step-by-step instructions on in-app purchase creation within iTunes Connect, refer to In-App Purchase for Developers.

以上大概意思是说不符合苹果的3.1.1审核标准;

下面是审核标准内容:

3.1.1 应用内付费:如果你希望通过付费才可以解锁你的应用当中的一些功能(例如,订阅内容,游戏货币,游戏关卡,获取优质内容,解锁完整版本),你必须使用应用内付费(IAP)。应用程序不允许包括按钮、链接或者其他调用方式和行为指导用户采用非IAP的方式付费。通过IAP购买的游戏内的虚拟货币或积分必须只能在这个应用内才可以消费,不能过期,你应该确保你的应用针对具有可恢复的应用内付费具有恢复应用内付费的购买状态的功能和机制。如果你的应用内付费的付费类型不正确,你的应用会被拒绝。应用不可以直接或间接使用应用内付费的内容和功能向其他用户赠送礼品。在Mac应用商店发布的APP需要使用其他机制或者包含一个插件而不是应用商店本身来完成这样的赠送功能。

解决:
向苹果发送邮件
感谢您审阅我们的应用程序。虽然在我们的应用程序中的付款功能审计过程中可能会有一个错误的理解。

原因为公司提供礼品发送服务,在线报名中的内容会涉及到支付相关费用,但这并不是应用内购买虚拟商品,是在我们应用内报名购买后到相关地点领取礼品,礼品购买只要付款成功就会有相关人员通过快递邮递到购买者手中,后期我们会有快递信息的明确提供请放心,是为了我的用户能够更好的获得想要的服务而设立的.借此一下是我们的相关页面流程证明:

wodetushu.png
goumia.png

在 Vue 项目中,组件无法获取 Vuex Store 的值并导致 Store 报错,通常与 Store 实例的注册、组件引用方式、依赖版本冲突等因素有关。以下是具体原因分析及解决方案: ### 3.1 Store 实例未正确注册到 Vue 应用中 组件无法访问 `$store` 的最常见原因是 Store 实例没有被正确传入 Vue 的构造函数。在 Vue 2 中,必须通过 `new Vue({ store })` 的方式注册 Store,否则组件实例不会包含 `$store` 属性 [^1]。 ```javascript import Vue from 'vue' import Vuex from 'vuex' import App from './App.vue' import store from './store/store' Vue.use(Vuex) new Vue({ store, // 必须注册 store 实例 render: h => h(App) }).$mount('#app') ``` 如果遗漏了 `store` 配置项,组件将无法通过 `this.$store` 访问状态,从而引发运行时错误。 ### 3.2 组件引用方式不当导致模块解析错误 在使用异步加载组件的方式时,例如通过 `resolve => require(['@/components/Home'], resolve)`,某些编辑器(如 VSCode)可能会自动引入 `resolve` 模块,从而导致模块解析错误或命名冲突 [^2]。 ```javascript // 错误写法,可能导致模块冲突 const Home = resolve => require(['@/components/Home'], resolve) ``` 建议改用 `import()` 动态导入方式,避免手动使用 `require` 和 `resolve`,以确保模块解析的正确性。 ```javascript const Home = () => import('@/components/Home') ``` ### 3.3 第三方库引入导致 Store 实例被污染 在引入某些 UI 框架(如 Element Plus)后,如果在全局引入方式不当,可能会导致 Vue 实例的 `store` 或 `router` 属性被污染或覆盖,从而引发报错 [^3]。 ```javascript // 错误的全局引入方式 import ElementPlus from 'element-plus' Vue.use(ElementPlus) ``` 推荐使用局部引入方式,或检查 `main.js` 中是否在 `new Vue` 之前修改了 Vue 构造函数的原型链,避免对 `store` 和 `router` 造成干扰。 ### 3.4 依赖版本不一致导致运行时错误 当项目中某些依赖(如 `quill`)的版本与 `package.json` 中定义的版本不一致时,可能在运行时引发错误,表现为组件无法访问 StoreStore 实例本身出错 [^4]。 解决方法包括: - 检查 `package.json` 与 `package-lock.json` 中的依赖版本是否一致; - 删除 `node_modules` 和 `package-lock.json` 后重新安装依赖; - 明确指定依赖版本号,避免自动升级导致兼容性问题。 ```bash rm -rf node_modules package-lock.json npm install ``` ### 3.5 Store 模块路径或命名空间配置错误 如果 Store 使用了模块化结构,但未启用 `namespaced: true`,或组件中访问模块状态时未使用完整路径,也可能导致无法获取值或报错。 ```javascript // store/modules/user.js export default { namespaced: true, state: () => ({ username: '' }) } ``` 访问模块状态时应使用命名空间路径: ```javascript computed: { username() { return this.$store.state.user.username } } ``` ###
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值