Skip to content

Build failed - ld: framework not found Pods #640

@calebeaires

Description

@calebeaires

Actions to get fail:

On build

  1. tns platform add ios
  2. tns build ios

Warning:

Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
[WARNING]: [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `iosfrases` to `Pods/Target Support Files/Pods-iosfrases/Pods-iosfrases.debug.xcconfig` or include the `Pods/Target Support Files/Pods-iosfrases/Pods-iosfrases.debug.xcconfig` in your build configuration (`iosfrases/build-debug.xcconfig`)

On XCode

  1. Go to project on XCode
  2. Build on a real device
  3. Build does not complete, fail and give this message:
ld: framework not found Pods_iosfrases
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Workaround
I delete this file on Frameworks > TNSWidgets.framework > Pods_iosfrases.framework, it works.

Project Info

Nativescript: tns-ios@2.2.1
CocoaPods: /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.0/lib/cocoapods.rb
XCode: Version 7.3.1

Plugins I am using:

  1. "nativescript-admob": "^1.1.5",
  2. "nativescript-clipboard": "^1.1.4",
  3. "nativescript-openurl": "^1.0.2",
  4. "nativescript-social-share": "^1.3.0",
  5. "tns-core-modules": "^2.2.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions