Search Unity

Question The linked library 'libenet-release-armv7.a' is missing

Discussion in 'Unity Build Automation' started by Meltdown, Nov 29, 2022.

  1. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    I get this issue in Unity Cloud build, but not when I build the project locally.

    Code (JavaScript):
    1. 164: [2022-11-29T10:00:35Z - Unity] Finished exporting player successfully.
    2. 165: [2022-11-29T10:01:07Z - Unity] [Performance] InitializeOnLoad EntitlementsErrorChecker.OpenFirstEntitlementError                                        :        2 samples, Peak.   525 us (1.5x), Avg.   347 us, Total. 694.9 us (0.0%)
    3. 166: [2022-11-29T10:01:07Z - Unity] [Performance] InitializeOnLoad SysrootPackage.IssueWarningIfLinuxIL2CPPNotPresent                                        :        1 samples, Peak.   261 us (1.0x), Avg.   261 us, Total. 261.5 us (0.0%)
    4. 167: [2022-11-29T10:01:07.275Z] - 7.2.2.2.7.4 - WARN:        ! Podfile.lock and Pods/ directory exists, skipping cocoapods install
    5. 168: [2022-11-29T10:01:21.316Z] - 7.2.2.2.7.4 - INFO:/BUILD_PATH/meltdown.supertrucks-offroad-2-5.default-ios/temp20221129-6484-inkirw/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'Protobuf' from project 'Pods')
    6. 169: [2022-11-29T10:01:21.316Z] - 7.2.2.2.7.4 - INFO:/BUILD_PATH/meltdown.supertrucks-offroad-2-5.default-ios/temp20221129-6484-inkirw/Unity-iPhone.xcodeproj: error: The linked library 'libenet-release-armv7.a' is missing one or more architectures required by this target: arm64. (in target 'UnityFramework' from project 'Unity-iPhone')
    7. 170: [2022-11-29T10:01:21.335Z] - 7.2.2.2.7.4 - ERROR: xcode build failed
    8. 171:   RuntimeError (Build Failure):
    9. 172: /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.2.2.2.7.4/lib/bvr/build/handlers/platform/xcode_compiler.rb:314:in `block in exec_fastlane': Build Failure (RuntimeError)
    10. 173: Finished: FAILURE
    Any ideas how I can resolve this in my project so Cloud Build doesn't fail?
     
  2. UnityPeterD

    UnityPeterD

    Unity Technologies

    Joined:
    Nov 5, 2019
    Posts:
    64
    Hi @Meltdown,

    Are you able to open a support ticket for this? I'd like to take a closer look at your build logs so we can get you up and running with this. You can do that from the Dashboard > Cloud Build > Help & Support > File a Ticket.

    Regards,

    Peter D.
    Unity Service Support
     
  3. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    @UnityPeterD I have submitted a ticket for this as instructed.
    #1429228

    Thanks!
     
  4. UnityPeterD

    UnityPeterD

    Unity Technologies

    Joined:
    Nov 5, 2019
    Posts:
    64
    Meltdown likes this.
  5. ketuka

    ketuka

    Joined:
    Nov 1, 2021
    Posts:
    15