0
votes

This is my podfile

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'App FM' do # Uncomment the next line if you're using Swift or would like to use dynamic frameworks

# use_frameworks!
  pod 'Google-Mobile-Ads-SDK'
  # Pods for App FM


end

but I'm getting this error when I build the project.

ld: library not found for -lPods-App FM clang: error: linker command failed with exit code 1 (use -v to see invocation)

And I have opened the workspace file not the proj file

1
Are you using Swift or Objective-C ? Also I have never seen dynamic frameworks what is that ?u.gen
Im using onjective_cRandi
Im not sure what is that. It came when I added google admob sdkRandi
try to remove your podfile.lock and pods directory , then remove dynamic frameworks line in your podfile then do a pod install lets see what happensu.gen
Sorry that line was commented one. And I re installed it. but still Im getting the error :( no luckRandi

1 Answers

0
votes

First go to your App FM target in your workplace Project -> App FM -> Build Phases -> Link Binary With Libraries check if your have Pods-App FM.framework is added.

Also long shot but you should make your target name AppFM not App FM, this is a bit work but that space in your Target name might be throwing the cocoapods off.

Your appname still can be App FM but choosing a target name with a space is not a good practice. Change it to AppFM