0

Trying to build my project and Xcode 9.2 shows compile error:

ld: warning: directory not found for option '-F/Users/user/playgrounds/ios/app/build/Release-iphoneos/Alamofire'
ld: framework not found FBAudienceNetwork
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Podfile is:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.2'
project 'app.xcodeproj'
target "app" do
    use_frameworks!
    pod 'GoogleMaps'
    pod 'Charts'
    pod "OAStackView"
    pod 'Alamofire', '~> 4.4'
    pod 'SwiftyJSON', '~> 3.1'
    pod 'Appodeal', '1.3.9'
    pod 'Firebase/Core'
    pod 'Firebase/Messaging'
end

Tried to remove remove Podfile.lock and pod update but it did not helped. Adding FBAudienceNetwork to Podfile provides this issue:

[!] The 'Pods-app' target has frameworks with conflicting names: fbaudiencenetwork.framework.

How this problem can be solved?

3
  • maybe you have the same framework linked in build settings of your project? Commented Feb 6, 2018 at 13:22
  • can you hit cmd pod deintegrate & again pod install check if that works for you. Commented Feb 6, 2018 at 14:47
  • Sorry, I updated Appodeal pod to 2.x.x and it solved problem, so I can't check your solution Commented Feb 6, 2018 at 15:22

2 Answers 2

1

Updating Appodeal to 2.x.x solved problem.

Sign up to request clarification or add additional context in comments.

Comments

0

Try this:

Product/Edit schemes/Manage schemes, select PODS.

1 Comment

Thanks for advice, but I updated Appodeal pod to 2.x.x and it solved problem, so I can't check your solution

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.