关于Xcode升级到5.1以后,以前的项目报错 的问题-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

关于Xcode升级到5.1以后,以前的项目报错 的问题

2016-03-17 10:06:20 3359 1

Xcode升级后,之前的项目编译就报错,好像是链接错误,解决了很久都没搞定,

 ld: warning: ignoring file /Users/zt1370/Desktop/2014-3-20 2/edooongps/EdooonGPS/libWeiboSDK.a, missing required architecture x86_64 in file /Users/zt1370/Desktop/2014-3-20 2/edooongps/EdooonGPS/libWeiboSDK.a (3 slices)
 ld: warning: ignoring file ../EdooonFramework/TencentOpenAPI.framework/TencentOpenAPI, missing required architecture x86_64 in file ../EdooonFramework/TencentOpenAPI.framework/TencentOpenAPI (3 slices)
 ld: warning: ignoring file /Users/zt1370/Documents/edooongps/EdooonGPS/SDWebImage.framework/SDWebImage, missing required architecture x86_64 in file /Users/zt1370/Documents/edooongps/EdooonGPS/SDWebImage.framework/SDWebImage (3 slices)
 Undefined symbols for architecture x86_64:
 "_OBJC_CLASS_$_GetMessageFromWXReq", referenced from:
 objc-class-ref in AppDelegate.o
 objc-class-ref in libEdooonFramework.a(WeChatClient.o)
 "_OBJC_CLASS_$_GetMessageFromWXResp", referenced from:
 objc-class-ref in libEdooonFramework.a(WeChatClient.o)
 "_OBJC_CLASS_$_QQApiImageObject", referenced from:
 objc-class-ref in libEdooonFramework.a(TencentQQClient.o)
 "_OBJC_CLASS_$_QQApiInterface", referenced from:
 objc-class-ref in libEdooonFramework.a(TencentQQClient.o)
 "_OBJC_CLASS_$_QQApiNewsObject", referenced from:
 objc-class-ref in libEdooonFramework.a(TencentQQClient.o)
 "_OBJC_CLASS_$_SDImageCache", referenced from:
 objc-class-ref in Common+Additional.o
 objc-class-ref in FormImageItemCell.o
 "_OBJC_CLASS_$_SDWebImageManager", referenced from:
 objc-class-ref in SearchResultViewController.o
 objc-class-ref in TreasureShow.o
 objc-class-ref in TreasureDetailViewController.o
 objc-class-ref in ChatSessionViewController.o
 objc-class-ref in FriendListViewController.o
 objc-class-ref in KTPhotoView+SDWebImage.o
 objc-class-ref in FriendSearchViewController.o
 ...
 "_OBJC_CLASS_$_SendMessageToQQReq", referenced from:
 objc-class-ref in libEdooonFramework.a(TencentQQClient.o)
 "_OBJC_CLASS_$_SendMessageToWXReq", referenced from:
 objc-class-ref in libEdooonFramework.a(WeChatClient.o)
 "_OBJC_CLASS_$_ShowMessageFromWXReq", referenced from:
 objc-class-ref in AppDelegate.o
 objc-class-ref in libEdooonFramework.a(WeChatClient.o)
 "_OBJC_CLASS_$_TencentOAuth", referenced from:
 objc-class-ref in libEdooonFramework.a(TencentQQClient.o)
取消 提交回答
全部回答(1)
  • 爵霸
    2019-07-17 19:04:35

    stackOverflow说是链接错误。

    missing required architecture x86_64 in file /Users/zt1370/Desktop/2014-3-20 2/edooongps/EdooonGPS/libWeiboSDK.a

    libWeiboSDK.a 打包链接是32bit architecture

    刚去微信公众平台下载demo源码,编译正常。于是build setting->architecture->other->复制$(ARCHS_STANDARD_32_BIT)
    复制内容加在自己项目target build setting->architecture

    再构建应该成功了

    刚把valid architectures去掉arm64 也行。

    0 0
相关问答

1

回答

iOS app打包时遇到的问题 ,Generic Xcode Archive

2016-03-06 10:18:35 2280浏览量 回答数 1

1

回答

xcode ios应用发布时出现的问题

2016-03-11 13:49:26 1799浏览量 回答数 1

1

回答

请问怎么卸载 Xcode 上的 IOS 模拟器

2016-03-17 09:48:02 2566浏览量 回答数 1

2

回答

iOS导入'AliyunOSSiOS'框架以后无法真机测试,Xcode弹框Could not inspect the application package.

2017-08-28 10:15:20 3766浏览量 回答数 2

3

回答

ios xcode 8.1将SDK1.9.0替换为SDK1.9.6 报错framework not found IOSurface for architecture armv7

2018-01-05 14:07:27 3154浏览量 回答数 3

1

回答

xcode怎么模拟ios

2018-05-10 20:02:47 1148浏览量 回答数 1

1

回答

如何在IOS(Xcode)上显示量规/速度视图

2019-12-04 16:40:55 202浏览量 回答数 1

0

回答

通过Xcode 11.2.1将iOS App登录与Facebook集成

2019-12-04 21:01:50 494浏览量 回答数 0

1

回答

在iOS上的测试应用程序到期之前多久,必须通过Xcode重新安装它?

2019-12-23 18:21:49 1331浏览量 回答数 1

1

回答

VS2017(Xamarin) + 虚拟机+ xcode开发 ios的开发者账号问题?报错

2020-06-07 18:09:32 399浏览量 回答数 1
+关注
文章
问答
问答排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载