I have a project built with Unity 2018.2.0f2, and I am getting a linking error when trying to build for iOS via Xcode 10. The project was working fine, until I included an additional plugin (GameSparks SDK). Here is the error I am getting:
ld: b(l) ARM64 branch out of range (135932776 max is +/-128MB): from _main (0x100006930) to __Unwind_Resume@0x00000000 (0x1081A9570) in '_main' from /Users/pixeldash/Library/Developer/Xcode/DerivedData/Unity-iPhone-dssytujyokjpupagoykqujufmyen/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/main.o for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems to be something specific to my project as the GameSparks SDK sample project works fine. Any ideas on what might be the issue?
↧