iOS Build Fail (Undefined symbol armv7)

Welcome! Forums Unity Plugins Apple Dark Mode Detection iOS Build Fail (Undefined symbol armv7)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1767
    antonellif
    Participant

    Hello, how are you doing? I purchase the UnityPlugin for Dark Mode.

    Is working OK on my iPhoneX with iOS13. When I archive the project with Xcode 11, I get the following error:

    Undefined symbols for architecture armv7:
    “__IsInDarkMode”, referenced from:
    _iOSEngine__IsInDarkMode_m4150B92116CAFFD5714AE28319A85B31D709F28F in Bulk_Assembly-CSharp_2.o
    _iOSEngine_IsInDarkMode_m647EC5C0438F71EE32E43EBE5A68123EFA6CBF44 in Bulk_Assembly-CSharp_2.o
    (maybe you meant: _iOSEngine__IsInDarkMode_m4150B92116CAFFD5714AE28319A85B31D709F28F)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    #1768
    PiotrPiotr
    Keymaster

    Will check that and update you on it shortly.

    #1769
    PiotrPiotr
    Keymaster

    Could you check patched version here: armv7 patch

    Just replace DarkModeDetection.a inside your Plugins/iOS directory.

    #1803
    PiotrPiotr
    Keymaster

    Patch was released.

    #1810
    lucus
    Participant

    Hi. With version 1.0 (Oct 25) from the asset store I am getting errors in xcode when trying to Archive the project (works fine for local builds though)

    This is the error message:
    “Bitcode bundle could not be generated because ‘/<my-unity-project>/Builds/<my-build>/Libraries/DarkModeDetection/Plugins/iOS/DarkModeDetection.a(DarkModeDetectionBridge.o)’ was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7”

    Did I perhaps forget to set some option in Unity or xcode?

    Thanks for your help!

    #1832
    PiotrPiotr
    Keymaster

    Released a patch. Should be up soon.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.