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

QQ登录

只需一步,快速开始

查看: 1371|回复: 2

[结贴] 打IOS包报错,缺少环境

[复制链接]

2

主题

4

帖子

6

积分

新手上路

Rank: 1

积分
6
QQ
发表于 2016-8-8 13:41:51 | 显示全部楼层 |阅读模式
打IOS包报错:
The following build commands failed:
        Ld build/device/测试For\ IOS.app/测试For\ IOS normal armv7
(1 failure)
Undefined symbols for architecture armv7:
  "std::nothrow", referenced from:
      CAliSecXBuffer::CAliSecXBuffer(unsigned long) in AlipaySDK
      CAliSecXBuffer::_copy(unsigned char const*, unsigned long) in AlipaySDK
      CAliSecXBuffer::resize(unsigned long) in AlipaySDK
  "operator new[](unsigned long, std::nothrow_t const&)", referenced from:
      CAliSecXBuffer::CAliSecXBuffer(unsigned long) in AlipaySDK
      CAliSecXBuffer::_copy(unsigned char const*, unsigned long) in AlipaySDK
      CAliSecXBuffer::resize(unsigned long) in AlipaySDK
  "___gxx_personality_sj0", referenced from:
      +[ASSStorageAccesser saveStorageModel:] in AlipaySDK
      +[ASSStorageAccesser loadStorageModelFromKeychain] in AlipaySDK
      +[ASSStorageAccesser loadPreviousApdid] in AlipaySDK
      +[ASSStorageAccesser getRandomizedID] in AlipaySDK
      +[ASSStorageAccesser getNewRadomizedID] in AlipaySDK
      +[ASSStorageAccesser loadLastLoginTime] in AlipaySDK
      +[ASSStorageAccesser saveCurrentLoginTime:] in AlipaySDK
      ...
  "operator delete[](void*)", referenced from:
      CAliSecXBuffer::~CAliSecXBuffer() in AlipaySDK
      CAliSecXBuffer::resize(unsigned long) in AlipaySDK
      alisec_crypto_Bin2Hex(CAliSecXBuffer const&) in AlipaySDK
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/cordova/build-debug.xcconfig,-project,测试For IOS.xcodeproj,ARCHS=armv7 arm64,-target,测试For IOS,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1081BC0000016F284832FE601FFC/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
百度是因为缺少依赖库引起的,请大神们说下如何解决?

2

主题

4

帖子

6

积分

新手上路

Rank: 1

积分
6
QQ
 楼主| 发表于 2016-8-8 16:19:35 | 显示全部楼层
已经解决,用论坛里某大神提供的Plugin.xml替换alipay下的文件就可以成功打包了

plugin.xml.zip

2.06 KB, 下载次数: 49

回复 支持 反对

使用道具 举报

186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
发表于 2016-8-10 13:58:59 | 显示全部楼层
fs060171816 发表于 2016-8-8 16:19
已经解决,用论坛里某大神提供的Plugin.xml替换alipay下的文件就可以成功打包了 ...

路径呢?我怎么找不到这个alipay?
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 00:24 , Processed in 0.053750 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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