如何解决Cordova Plugin inappbrowser-popup-bridge: CFBundleURLTypes 问题
安装插件 cordova-plugin-inappbrowser-popup-bridge 后,我在编译 pod 时遇到错误:
警告部分:
update ios[warn] Plugin cordova-plugin-inappbrowser-popup-bridge might require you to add in the existing CFBundleURLTypes entry of your Info.plist to work
<dict>
<key>CFBundleTypeRole</key>
<key>CFBundleURLName</key>
<key>CFBundleURLSchemes</key>
<string>Editor</string>
<string/>
<array>
<string>$PACKAGE_NAME.popupbridge</string>
</array>
</dict>
我尝试了各种方法来更新这部分代码,但每次都会出错。
请告诉我如何添加缺失的行?我附上了我拥有的代码的初始版本(我的 Info.plist 文件):
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.getcapacitor.capacitor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>capacitor</string>
</array>
</dict>
</array>
非常感谢。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。