Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unaligned pointer(s) for architecture arm64 #791

Closed
xjy0925 opened this issue Apr 18, 2023 · 7 comments
Closed

unaligned pointer(s) for architecture arm64 #791

xjy0925 opened this issue Apr 18, 2023 · 7 comments

Comments

@xjy0925
Copy link

xjy0925 commented Apr 18, 2023

ld: warning: pointer not aligned at address 0x10109A0BA ('_dbl_lnds_data_TileDataRespMsg_fields' + 50 from /Users/xxxxx/Documents/xxxxx/ios/Pods/AMap3DMap/MAMapKit.framework/MAMapKit(MAMapKit-arm64-master.o))
ld: warning: pointer not aligned at address 0x10109A15E ('_dbl_lnds_mapping_TileSdHdLinkMappingRespMsg_fields' + 79 from /Users/xxxxx/Documents/xxxxx/ios/Pods/AMap3DMap/MAMapKit.framework/MAMapKit(MAMapKit-arm64-master.o))

ld: unaligned pointer(s) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

查询了一下,从Xcode13.3开始 ‘unaligned’ 就会失败
with Xcode13.3 it started failing with error ld: unaligned pointer(s) for architecture arm64 on some projects (while compiled ok but probably with changes to it might fail).

截屏2023-04-18 14 52 33

@xjy0925 xjy0925 closed this as completed Apr 19, 2023
@droplet-js
Copy link

最终怎么解决?

@Cyx1994
Copy link

Cyx1994 commented Mar 15, 2024

how to fix it?

@Cyx1994

This comment was marked as abuse.

@Cyx1994
Copy link

Cyx1994 commented Mar 20, 2024

替换高德官方的 2.4.0 MAMapKit 到Pod/AMap3DMap里,原因是原sdk不支持arm64

@qilovehua
Copy link

qilovehua commented May 16, 2024

替换高德官方的 2.4.0 MAMapKit 到Pod/AMap3DMap里,原因是原sdk不支持arm64

有下载链接吗? 我找到的是V10.0.700,替换进去地图显示不了了。
https://lbs.amap.com/api/ios-sdk/download
@Cyx1994

@qilovehua
Copy link

image 之前是13.4会提示这样的错误,改成12.4就ok了

@Cyx1994
Copy link

Cyx1994 commented May 17, 2024

@qilovehua 基础包里面,找MAMapKit, 替换项目pods中的MAMapKit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants