Apple review objection Invalid directory name for Plugins folder (Child Browser Cordova)

匆匆过客 提交于 2020-01-04 05:26:52

问题


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.

  • Native code that comes along with childbrowser plugin
  • JS code

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


回答1:


There are few steps required to fix in XCode.

  • Right Click on the plugins folder and select Show in Finder.
  • Change the directory name plugins with CBPlugin.
  • Now back to XCode and click to change name Plugins directory with 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.

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

Integrate ChildBrowser into Worklight App (IOS Version)

hope it helps.



来源:https://stackoverflow.com/questions/16932785/apple-review-objection-invalid-directory-name-for-plugins-folder-child-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!