编译到设备时,我得到以下编译错误(Iphone 5s):
最终部分布局:
__TEXT/__text addr=0x1000044B4, size=0x0AC5D808, fileOffset=0x000044B4, type=1
...
ld: b(l) ARM64 branch out of range (180743200 max is +/-128MB): from __ZN10ClassNameEv (0x100004560) to __Unwind_Resume@0x00000000 (0x10AC6351C)
in '__ZN10ClassNameC2Ev' from /Users/Name/Desktop/Projectpath/Debug-iphoneos/Project.build/Objects-normal/arm64/ClassName.o for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"Valid Architectures"
是"armv7 armv7s arm64"
。
"Build Active Architecture Only"
是NO
。
问题:你知道我能做些什么吗?