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这个库就可以了。

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

转载于:https://blog.csdn.net/mulingyingzi/article/details/78144436

猜你喜欢

转载自blog.csdn.net/weixin_42602900/article/details/126154906
今日推荐