Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to update the Appodeal SDK and am now getting this error. Removing Other Linker Flags -all_load will allow it to build, but then I experience other issues so I need to keep that flag. I've searched a ton and tried the post_install and -force_install options but haven't found a solution yet.

Is there a way to affect the BidMachine podspec or other way to force it to not bother bringing in it's references? I don't know much about pods (or xcode) but through trial and error found that removing Bidmachine pod allows it build and work as expected. Unfortunately, I need Bidmachine to be included as well. :-)

duplicate symbol '_StackAPIVersionNumber' in:
/Pods/Appodeal/Appodeal.framework/Appodeal(StackAPI_vers.o)
/Pods/BidMachine/BidMachine.framework/BidMachine(StackAPI_vers.o)

duplicate symbol '_StackAPIVersionString' in:

/Pods/Appodeal/Appodeal.framework/Appodeal(StackAPI_vers.o)
/Pods/BidMachine/BidMachine.framework/BidMachine(StackAPI_vers.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.8k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...