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

QQ登录

只需一步,快速开始

查看: 1694|回复: 1

[处理中3] WeX53.8,极光推送插件生成ios报错

[复制链接]

30

主题

67

帖子

229

积分

中级会员

Rank: 3Rank: 3

积分
229
QQ
发表于 2018-3-21 11:17:26 | 显示全部楼层 |阅读模式
本帖最后由 YocusLong 于 2018-3-21 11:20 编辑

1、同一打包项目,安卓打包正常;
2、ios打包环境 XCode8.1,环境正常,不带这个插件打包正常;
3、平台的外卖ios就不可以打包,平台其他不带这个插件的项目可以。
4、Wex5 3.8 已经是你2018-02-02 发布的那版。5、jpush-phonegap-plugin 项目中代码已经调整。
错误信息:
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:

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

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



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 05:37 , Processed in 0.101686 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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