facebook-ios-sdk
facebook-ios-sdk copied to clipboard
Asset validation failed - Error while archiving and distributing the app with FBAudienceNetwork
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.0
Facebook iOS SDK version
16.3.1
Dependency Manager
SPM
SDK Framework
Core
Goals
I want to monetise my app with FBAudienceNetwork ads. To do that I followed this guide: https://developers.facebook.com/docs/audience-network/setting-up/platform-setup/ios/add-sdk/ to add FBAudienceNetworkSDK to my iOS app
Expected results
My app can be properly built and distributed with FBAudienceNetworkSDK.
Actual results
My app cannot be properly built and distributed with FBAudienceNetworkSDK, because there seems to be minimum OS version mismatch between the FBAudienceNetworkSDK and my app. There is no problem between my app and the general FB SDK, however. Building and running locally works, but whenever I tried to archive and distribute the app, I get the following error:
Steps to reproduce
- Follow this guide: https://developers.facebook.com/docs/audience-network/setting-up/platform-setup/ios/add-sdk/
- Download iOS Audience Network SDK 6.14.0
- Unzip the SDK
- Copy the contents of the
Dynamic
directory to your app - Archive the project
Code samples & details
import FBAudienceNetwork
Hey did you ever work out why this was happening?
@sam-bensley nope, but restarting the mac and re-adding the facebook SDK solved the problem for me.