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

JPUSH与JMESSAGE IOS插件打包冲突 #116

Open
basinmax opened this issue Mar 18, 2021 · 2 comments
Open

JPUSH与JMESSAGE IOS插件打包冲突 #116

basinmax opened this issue Mar 18, 2021 · 2 comments

Comments

@basinmax
Copy link

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

你的运行环境

  • 插件版本:
  • 平台(Android / iOS): IOS
  • Cordova version :10.0.0
  • Cordova platform version : IOS
  • Ionic Version (if using Ionic) 5.4.16

期望效果

能正常打包 推送和IM插件能正常用

实际效果

image

重现步骤

  1. 添加插件 并打包

背景

移除platform 并重新ADD
重新安装插件

Debug logs

包括 Android 或 iOS 的日志:

duplicate symbol '__launchOptions' in:
/Users/wang/Library/Developer/Xcode/DerivedData/爱航信息-chwpiavddubxisfisqazvpnrkvwx/Build/Intermediates.noindex/ArchiveIntermediates/爱航信息/IntermediateBuildFilesPath/爱航信息.build/Debug-iphoneos/爱航信息.build/Objects-normal/arm64/AppDelegate+JPush.o
/Users/wang/Library/Developer/Xcode/DerivedData/爱航信息-chwpiavddubxisfisqazvpnrkvwx/Build/Intermediates.noindex/ArchiveIntermediates/爱航信息/IntermediateBuildFilesPath/爱航信息.build/Debug-iphoneos/爱航信息.build/Objects-normal/arm64/AppDelegate+JMessage.o
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@basinmax
Copy link
Author

安卓打包也冲突 通过修改jpush jmessage下的plugin已可以正常使用 但IOS 替换了 也不行

@jimcjy
Copy link

jimcjy commented Aug 10, 2021

打开Xcode,在项目中找到Plugins/AppDelegate+JMessage.m文件,注释掉含有_launchOptions的行数,我的插件版本在31、70、79行

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