adjust / unity_sdk

This is the Unity SDK of
http://www.adjust.com
MIT License
150 stars 72 forks source link

iOS Bitcode issue #264

Open tmshakirov opened 1 year ago

tmshakirov commented 1 year ago

Hey guys,

I keep getting this bitcode issue when trying to archive Xcode project built with Unity 2021.3.2f1 and Adjust 4.33.0:

libAdjust.a (ADJEventFailure.o) does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

I did some googling and I know that there was a similar issue a while ago. Looks like it's back. What am I supposed to do? Is it Unity version-related issue? I tried messing with bitcode settings in Xcode, but nothing helps.

tmshakirov commented 1 year ago

UPD: I took the 4.30.0 version and no issues appeared this time. Looks like bitcode is broken only in 4.33.0

uerceg commented 1 year ago

Hi @tmshakirov,

Thank you for reporting. Which Xcode version are you using?

tmshakirov commented 1 year ago

13.0

CodeMasterYi commented 1 year ago

@tmshakirov Bitcode is deprecated in Xcode14 by Apple, so just disable it! See here https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes Search 'bitcode' in that document page.