Hbuilder 学习使用中的一些记录

hbuilder介绍及简单使用


百度百科:https://baike.baidu.com/item/HBuilder/9145003?fr=aladdin

官网:http://www.dcloud.io

HBuilder/HTML5+/5+SDK/MUI/App  http://ask.dcloud.net.cn/docs/#//ask.dcloud.net.cn/article/80


dclould xcode运行测试及离线打包 http://ask.dcloud.net.cn/article/41

dclould androidStudio运行调试及离线打包http://ask.dcloud.net.cn/article/38


项目完成后,需要本地打包时,本来我之前是直接用iOS离线SDK的Demo替换app文件的,但是我们的项目中实际不会用到那么多组件,这样会导致打出的包比较大,顾可参考以下方法MUI iOS创建最精简离线打包工程(http://www.bcty365.com/content-146-5221-1.html),按操作执行完所有操作后,运行的时候会报错:

Undefined symbols for architecture x86_64:

"_kCGImagePropertyGIFUnclampedDelayTime", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_CGImageSourceGetCount", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_kCGImagePropertyGIFDelayTime", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_CGImageSourceCopyPropertiesAtIndex", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_CGImageSourceCreateImageAtIndex", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_CGImageSourceCreateWithData", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

"_kCGImagePropertyGIFDictionary", referenced from:

-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


在Build Phases 中的Link Binary With Libraries中添加imageIO这个库就可以了。

(要是还有什么问题可以留言哦,互相讨论学习~)



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值