简体   繁体   中英

Xcode project build failed

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?

将Appodeal更新到2.xx可解决问题。

Try this:

Product/Edit schemes/Manage schemes, select PODS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM