【发布时间】:2020-11-23 20:30:59
【问题描述】:
从现有的 Meteor 包构建 ios 应用程序。为了让应用程序成为Xcode 项目,我一直在运行以下命令:
meteor build ../example-output --mobile-settings settings-staging.json --server https://example-staging.meteorapp.com:443
我已经有一个mobile-config.js,其中包括所有typical configurations for meteor,例如App.info、App.icons、App.launchScreens、App.appendToConfig。此外,我在文件中包含REVERSED_CLIENT_ID。一切正常,直到我添加任何cordova插件(meteor add plugin cordova:etc。)
App.configurePlugin("cordova-plugin-googleplus", {
REVERSED_CLIENT_ID: "com.googleusercontent.apps.010101010-bexamples123"
});
该应用程序构建为.xcworkspace,但随后出现了我认为这些cordova插件将解决的问题。如何配置/修复 REVERSED_CLIENT_ID 和/或配置问题并添加 cordova 插件,以便该项目可以编译为 Xcode .xcworkspace?
【问题讨论】:
标签: javascript xcode cordova meteor mobile-config