Skip to content

iOS cloud build xcode error "ld: symbol(s) not found for architecture armv7" #5141

@Sauvetonbio

Description

@Sauvetonbio

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.2.0
  • iOS Runtime: 6.2.0
  • Plugin(s): nativescript-firebase

Describe the bug
The plugin "nativescript-firebase" use FBSDKCoreKit installed via pods. Installation result error when trying with cloud builds, this pod is related to Facebook Login, it could affect others NS devs.

The following build commands failed:
Ld /tmp/builds/_/d480723adf9bab509a22b71c25e628361710f2ee/6.2.0/6.2.0/SauveTonBio/platforms/ios/DerivedData/SauveTonBio/Build/Intermediates.noindex/ArchiveIntermediates/SauveTonBio/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/FBSDKCoreKit.build/Objects-normal/armv7/FBSDKCoreKit normal armv7
(1 failure)

[00:03:31.152] [ERROR] [xcode-build] ld: symbol(s) not found for architecture armv7
[xcode-build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[00:03:32.762] [ERROR] ** ARCHIVE FAILED **

To Reproduce
tns cloud clean workspace && tns cloud run ios
You need certificate and mobile provision from Apple dev account as NS-CLI 6.2.0 can't generate it for free user.

Expected behavior
FBSDKCoreKit well installed.

Sample project
https://github.com/EddyVerbruggen/nativescript-plugin-firebase/tree/master/demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcloudDescribes issues related to cloud operations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions