在iOS中集成cordova应用程序的scandit条形码扫描仪插件

在iOS中集成cordova应用程序的scandit条形码扫描仪插件,ios,cordova,Ios,Cordova,我正在尝试将Scandit条码扫描插件集成到我的基于cordova的iOS平台应用程序中,但无法实现这一点。我尝试了以下步骤: 1) 下载Phonegap/Cordova的SDK并将其解压缩到文件夹中。 2) 使用Cordova CLI,我执行了以下命令: cordova plugin add <path to the folder> 原因可能是什么?有没有其他方法可以完成它(没有CLI)?将miniOrange身份验证程序更改为miniOrangeAuthenticator。我不

我正在尝试将Scandit条码扫描插件集成到我的基于cordova的iOS平台应用程序中,但无法实现这一点。我尝试了以下步骤:

1) 下载Phonegap/Cordova的SDK并将其解压缩到文件夹中。 2) 使用Cordova CLI,我执行了以下命令:

cordova plugin add <path to the folder>

原因可能是什么?有没有其他方法可以完成它(没有CLI)?

miniOrange身份验证程序更改为
miniOrangeAuthenticator
。我不认为CLI是spaces的忠实粉丝(我过去在使用它们时遇到过问题)。

此外,您可以在不使用CLI的情况下添加它,但这相当棘手/繁琐,您必须知道自己在做什么,因此我不推荐它。不起作用。我添加了两个插件,所以这似乎不是问题所在。我试图复制文件,在config.xml中提供引用,然后运行,但它给了我很多错误。嗯,它抱怨config.xml在以下位置不可用:
/Users/macuser/Desktop/AppBackup/minioraneauthenticator/platforms/ios/miniOrange Authenticator/
。您能确认它是否存在吗?config.xml存在于该位置。我在该文件中也添加了两个插件……不过我注意到了一件事:目录名实际上是miniOrangeAuthenticator,它试图访问miniOrangeAuthenticator
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error: Parsing /Users/macuser/Desktop/AppBackup/miniOrangeAuthenticator/platforms/ios/miniOrange Authenticator/config.xml failed:
ENOENT, no such file or directory '/Users/macuser/Desktop/AppBackup/ProjectName/platforms/ios/miniOrange Authenticator/config.xml'
    at Object.config_parser (/usr/local/lib/node_modules/cordova/src/config_parser.js:28:15)
    at Object.ios_parser (/usr/local/lib/node_modules/cordova/src/metadata/ios_parser.js:62:19)
    at /usr/local/lib/node_modules/cordova/src/plugin.js:98:46
    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
    at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:821:14
    at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)
macmans-MacBook-Air:ProjectName macuser$