起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3361|回复: 13

[结贴] Wex5 3.8 jpush-phonegap-plugin IOS无法打包

[复制链接]

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
发表于 2018-3-16 14:07:26 | 显示全部楼层 |阅读模式
本帖最后由 YocusLong 于 2018-3-16 14:22 编辑

1、同一打包工程,安卓打包可以;
2、ios打包环境 XCode8.1,环境正常,不带这个插件打包正常;
3、平台的外卖ios就不可以打包,其他不带这个插件可以。
4、Wex5 3.8 已经是你2018-02-02 发布的那版。
错误信息:
export IPHONEOS_DEPLOYMENT_TARGET=9.3
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Volumes/X5/WeX5_3.8_prepub-mac/node:/var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/f1f80265-7d1c-463b-9f5a-1e805119f62e/java/jdk1.8-x64/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/cordova-plugin-jcore -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/jpush-phonegap-plugin -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/com.justep.cordova.plugin.barcodescanner -F/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device -filelist /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/arm64/KF.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/arm64/KF_lto.o -fobjc-arc -fobjc-link-runtime -ObjC /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device/libCordova.a /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/cordova-plugin-jcore/jcore-ios-1.1.7.a /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/jpush-phonegap-plugin/jpush-ios-3.0.8.a -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework CoreTelephony -weak_framework SystemConfiguration -weak_framework Foundation -weak_framework UIKit -weak_framework Security -weak-lz -weak_framework AdSupport -weak_framework UserNotifications -weak-lresolv -lz -framework QuartzCore -framework QuickLook -luchardet -framework AVFoundation -framework CoreVideo -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/arm64/KF_dependency_info.dat -o /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/arm64/KF
      ld: framework not found IOSurface for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      Ld /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/armv7/KF normal armv7
          cd /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios
          export IPHONEOS_DEPLOYMENT_TARGET=9.3
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Volumes/X5/WeX5_3.8_prepub-mac/node:/var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/f1f80265-7d1c-463b-9f5a-1e805119f62e/java/jdk1.8-x64/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/cordova-plugin-jcore -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/jpush-phonegap-plugin -L/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/com.justep.cordova.plugin.barcodescanner -F/Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device -filelist /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/armv7/KF.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/armv7/KF_lto.o -fobjc-arc -fobjc-link-runtime -ObjC /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/build/device/libCordova.a /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/cordova-plugin-jcore/jcore-ios-1.1.7.a /Volumes/X5/WeX5_3.8_prepub-mac/model/Native/KF/build/src/platforms/ios/KF/Plugins/jpush-phonegap-plugin/jpush-ios-3.0.8.a -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework CoreTelephony -weak_framework SystemConfiguration -weak_framework Foundation -weak_framework UIKit -weak_framework Security -weak-lz -weak_framework AdSupport -weak_framework UserNotifications -weak-lresolv -lz -framework QuartzCore -framework QuickLook -luchardet -framework AVFoundation -framework CoreVideo -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/armv7/KF_dependency_info.dat -o /Users/x5/Library/Developer/Xcode/DerivedData/KF-ariyqafqomlaxxfcakvfojgppdud/Build/Intermediates/ArchiveIntermediates/KF/IntermediateBuildFilesPath/KF.build/Release-iphoneos/KF.build/Objects-normal/armv7/KF
      ld: framework not found IOSurface for architecture armv7
      clang: error: linker command failed with exit code 1 (use -v to see invocation)      
      ** ARCHIVE FAILED **      
      
      The following build commands failed:
      

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
 楼主| 发表于 2018-3-21 11:14:20 | 显示全部楼层
请高手帮忙看看吧!
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2018-3-21 11:18:05 | 显示全部楼层
把Native下自己应用名目录的log/build.log文件发一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
 楼主| 发表于 2018-3-21 16:07:39 | 显示全部楼层
build.log,谢谢!

build.rar

18.67 KB, 下载次数: 175

build

回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2018-3-21 16:54:54 | 显示全部楼层
xcode的用的什么版本?是xcode8吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
 楼主| 发表于 2018-3-21 17:44:08 | 显示全部楼层
ios打包环境 XCode8.1,环境正常,证书正常,不带这个插件打包正常;
回复 支持 反对

使用道具 举报

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
 楼主| 发表于 2018-3-23 09:26:58 | 显示全部楼层
还在帮我处理吗?几天没有回复呢。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2018-3-23 11:31:45 | 显示全部楼层
确认/Native/plugins/jpush-phonegap-plugin/src/ios/lib下有
JPUSHService.h和jpush-ios-3.0.8.a文件吗?

把xcode升级到最新版本看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
 楼主| 发表于 2018-3-23 15:29:31 | 显示全部楼层
jishuang 发表于 2018-3-23 11:31
确认/Native/plugins/jpush-phonegap-plugin/src/ios/lib下有
JPUSHService.h和jpush-ios-3.0.8.a文件吗?
...

确定这2个文件是有的。
XCode 无法升级到 最新,打包时不涉及该插件的,是正常的。
会不会是你们这个插件有bug呢?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2018-3-23 17:26:27 | 显示全部楼层
这个是极光推送的标准插件,需要用xcode9打包

https://blog.csdn.net/Ts1030746080/article/details/78920157
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-27 11:44 , Processed in 0.108996 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表