m***@gmail.com
m***@gmail.com
  • 发布:2018-09-27 18:45
  • 更新:2019-02-26 18:39
  • 阅读:2392

IOS离线打包64位一直报错

分类:HBuilder

按照IOS离线打包的教程进行打包,但一直报错:ld: symbol(s) not found for architecture x86_64
后按照网上一篇教程更改Architectures为32位的,更改之后可以在模拟器上跑起来了,但真机运行提示系统已经不支持32位的应用了,无奈之下改了回来,但一直报错:
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
"_OBJCCLASS$_CNContactStore", referenced from:
objc-class-ref in iflyMSC(IFlyContact.o)
"_OBJCCLASS$_CNContactFetchRequest", referenced from:
objc-class-ref in iflyMSC(IFlyContact.o)
"_CNContactGivenNameKey", referenced from:
-[IFlyContact fetchContactWithContactStore:] in iflyMSC(IFlyContact.o)
"_CNContactFamilyNameKey", referenced from:
-[IFlyContact fetchContactWithContactStore:] in iflyMSC(IFlyContact.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

请问这是什么原因?

2018-09-27 18:45 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

我也碰到了这个问题,新的xcode10,刚下载的sdk

冷月i

冷月i

我也是遇到的这个问题,xcode10,一直报这个错误

  • 冷月i

    已解决

    2019-03-06 14:12

  • unicorn_up

    怎么解决的呢, 请分享下经验

    2019-11-21 15:57

  • test23py1

    回复 冷月i: 求经验,谢谢

    2020-04-12 17:51

该问题目前已经被锁定, 无法添加新回复