Apple 审查反对 Plugins 文件夹的目录名称无效(子浏览器 Cordova) [英] Apple review objection Invalid directory name for Plugins folder (Child Browser Cordova)

查看:27
本文介绍了Apple 审查反对 Plugins 文件夹的目录名称无效(子浏览器 Cordova)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在 Apple Store 上发布了基于 Worklight 的应用程序.现在我收到了一封来自 Apple 的电子邮件,内容是:

I recently published my Worklight based App on Apple Store. Now i have received an email from Apple that says:

无效的目录名称 - 您的应用包含已保留的目录名称:插件".您必须重命名此目录.

Invalid Directory Name - Your app contains a directory name that is already reserved: 'Plugins'. You must rename this directory.

在这个应用程序中,我使用的是使用插件目录的子浏览器插件.

In this App I am using Child browser plugin which is using plugin directory.

现在如果我重命名这个插件"文件夹,那么我必须做很多改变,我希望它应该是可能的.

Now if i rename this "Plugins" folder then i have to do many changes, i hope it should be possible.

请建议我或指导我,编辑此插件时我必须查看哪些方面.

Kindly suggest me or guide me, what areas i must look into when editing this plugin.

  • 子浏览器插件附带的本机代码
  • JS代码

我在我的项目中使用了这个子浏览器插件.https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser

I am using this child browser plugin in my project. https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser

推荐答案

在 XCode 中修复需要几个步骤.

There are few steps required to fix in XCode.

  • 右键单击插件文件夹并选择在 Finder 中显示.
  • 使用 CBPlugin 更改目录名称插件.
  • 现在返回 XCode 并单击以使用 CBPlugin 更改名称插件目录.

如果这些插件文件在项目中的其他地方被引用或复制,则从 XCode(不是从 CBPlugin 文件夹)中删除该文件并再次引用它.

if these plugins files are referenced or copied elsewhere in project then delete the file from XCode (Not from CBPlugin folder) and reference it again.

最后将这些 .h 和 .m 文件再次添加到 Compile Sources 中,使该插件可用于 XCode 中的应用程序.

and finally add these .h and .m files again into Compile Sources to make this plugin available for app in XCode.

将 ChildBrowser 集成到 Worklight 应用程序(IOS 版本)

希望能帮到你.

这篇关于Apple 审查反对 Plugins 文件夹的目录名称无效(子浏览器 Cordova)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆