Search Unity

Undefined symbols for architecture armv7

Discussion in 'Unity Build Automation' started by clevergamesdev, Jul 26, 2019.

  1. clevergamesdev

    clevergamesdev

    Joined:
    Jun 20, 2019
    Posts:
    17
    Hi,
    We're trying to build a mobile game on iOS using Unity Cloud Build and we're getting the following errors:

    Code (CSharp):
    1.  
    2. 2549: ▸ ⚠;️  /BUILD_PATH/com.cgames.dist-ios/temp.XXXXXX20190725-4049-cpedm3/Libraries/Plugins/iOS/AppsFlyerAppController.mm:31:142: conflicting parameter types in implementation of 'application:continueUserActivity:restorationHandler:': 'void (^ _Nonnull __strong)(NSArray<id<UIUserActivityRestoring>> * _Nullable __strong)' vs 'void (^__strong _Nonnull)(NSArray *__strong)' [-Wmismatched-parameter-types]
    3. 2550: ▸ ❌;  Undefined symbols for architecture armv7
    4. 2551: ▸ ❌;  ld: symbol(s) not found for architecture armv7
    5. 2552: ▸ ❌;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    6. 2858:;️  /BUILD_PATH/com.cgames.dist-ios/temp.XXXXXX20190725-4049-cpedm3/Libraries/Plugins/iOS/AppsFlyerAppController.mm:31:142: conflicting parameter types in implementation of 'application:continueUserActivity:restorationHandler:': 'void (^ _Nonnull __strong)(NSArray<id<UIUserActivityRestoring>> * _Nullable __strong)' vs 'void (^__strong _Nonnull)(NSArray *__strong)' [-Wmismatched-parameter-types]
    7. 2859:;  Undefined symbols for architecture armv7
    8. 2860:;  ld: symbol(s) not found for architecture armv7
    9. 2861:;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    10.  
    We hope someone would be able to assist.
     
    Last edited: Jul 26, 2019
  2. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    I'm running into this as well, did you manage to solve it? Thanks!
     
  3. skeyll

    skeyll

    Joined:
    Dec 14, 2018
    Posts:
    3
    My project had same error and I remove an aseet for solving it.
    This is just my guess.
    It need to set "Other Linker Flags" on XCode.
    I used this asset and it need such setup.
    https://github.com/yasirkula/UnityNativeGallery (b. Manual Setup for iOS)

    Maybe you can set the value by like meta file but I couldn't find that way.
    I hope for solving it!