Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsProduction这个属性怎么自动配置? #432

Open
Lyfei opened this issue Aug 31, 2020 · 1 comment
Open

IsProduction这个属性怎么自动配置? #432

Lyfei opened this issue Aug 31, 2020 · 1 comment

Comments

@Lyfei
Copy link

Lyfei commented Aug 31, 2020

WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。

你的运行环境

  • 插件版本:
  • 平台(Android / iOS):iOS
  • Cordova version (cordova -v):8.1.2
  • Cordova platform version (cordova platform ls):5.1.1
  • Ionic Version (if using Ionic):5.4.8

期望效果

打包iOS的时候,IsProduction参数自动配置。

实际效果

目前还不知道能不能自动配置,所以每次都是手动修改plist文件的IsProduction属性

重现步骤

  1. 打包编译iOS

背景

手动修改

Debug logs

不是错误,只是提问

  • iOS: XCode logs
    • Android: $ adb logcat / Android Studio logcat
@DarrenHou1993
Copy link

config.xml文件中添加:
<platform name="ios"> <config-file parent="IsProduction" target="*JPushConfig.plist"> <true /> </config-file> </platform>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants