Comments (5)
I had a similar error in Unity - perhaps it is the same root cause.
I managed to get the two symbols that were missing
Undefined symbol: _FBRewardedVideoAdBridgeOnServerRewardFailure
Undefined symbol: _FBRewardedVideoAdBridgeOnServerRewardSuccess
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
ld: warning: Could not find or use auto-linked framework 'UnitySwiftProtobuf': framework 'UnitySwiftProtobuf' not found
Undefined symbols for architecture arm64:
"_FBRewardedVideoAdBridgeOnServerRewardFailure", referenced from:
_RewardedVideoAdBridgeIOS_FBRewardedVideoAdBridgeOnServerRewardFailure_m31803DFCCAA3EB40D0E35D9A58626508AC8736FD in libGameAssembly.a[27](vtaseqwcbsnk.o)
_RewardedVideoAdBridgeIOS_Create_mB983DC16F649F7C1F4DA25945CB5F4FB3DB1888E in libGameAssembly.a[27](vtaseqwcbsnk.o)
"_FBRewardedVideoAdBridgeOnServerRewardSuccess", referenced from:
_RewardedVideoAdBridgeIOS_FBRewardedVideoAdBridgeOnServerRewardSuccess_m1D22BCF0E541A62E8415B1A71D2A077E999E28F8 in libGameAssembly.a[27](vtaseqwcbsnk.o)
_RewardedVideoAdBridgeIOS_Create_mB983DC16F649F7C1F4DA25945CB5F4FB3DB1888E in libGameAssembly.a[27](vtaseqwcbsnk.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode version
15.3
Facebook iOS SDK version
17.0.0 (The Unity version)
Dependency Manager
1.15.2 CocoaPods
A workaround to get rid of the compilation errors was to disable the AudienceNetwork code that relied on the missing symbols in RewardVideoAd.cs
. Still, this isn't a good solution as this could cripple the functionality of the package.
// [DllImport("__Internal")]
// private static extern void FBRewardedVideoAdBridgeOnServerRewardSuccess(int uniqueId,
// FBRewardedVideoAdBridgeExternalCallback callback);
// [DllImport("__Internal")]
// private static extern void FBRewardedVideoAdBridgeOnServerRewardFailure(int uniqueId,
// FBRewardedVideoAdBridgeExternalCallback callback);
from facebook-ios-sdk.
I've searched the source doe in FBAudienceNetwork 6.15.0
and indeed it doesn't contain those two symbols - which we had on version 6.14.0
.
You can download both versions on this page
/FBAudienceNetwork-6.15.0/Static/FBAudienceNetwork.xcframework/ios-arm64/FBAudienceNetwork.framework/Headers/FBRewardedVideoAdBridge.h
6.15.0
...
FB_EXPORT void FBRewardedVideoAdBridgeOnLoad(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnImpression(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnClick(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnError(int32_t uniqueId, FBAdBridgeErrorCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnDidClose(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnWillClose(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnVideoComplete(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXTERN_C_END
6.14.0
FB_EXPORT void FBRewardedVideoAdBridgeOnServerRewardSuccess(int32_t uniqueId, FBAdBridgeCallback callback);
FB_EXPORT void FBRewardedVideoAdBridgeOnServerRewardFailure(int32_t uniqueId, FBAdBridgeCallback callback);
from facebook-ios-sdk.
For context, in my case, the code requesting those missing symbols was the Unity version of the FAN - which is "stuck" in version 6.4.0 since 2021.
Most likely we will try to remove it and only use the iOS SDK (in my case through AppLovin).
from facebook-ios-sdk.
@daltonbr Thanks for your help on this.
Im not sure, if this really helps me a lot, because we're using Flutter and i don't really have much control over the Pods (that flutter manages on its own) and even less control on the source code of the Pods.
I have removed the facebook_app_events
pub for now and i'll wait until a new version comes out that eventually fixes this.
from facebook-ios-sdk.
I've manually edited ios/Podfile.lock
like this
- facebook_app_events (0.0.1):
- FBAudienceNetwork (~> 6.12)
- FBSDKCoreKit (~> 16.0)
- Flutter
- FBAudienceNetwork (6.12.0)
And removed FBAudienceNetwork
from SPEC CHECKSUMS
To force bind FBAudienceNetwork
to lower version
cd ios && pod install
and it works ;)
from facebook-ios-sdk.
Related Issues (20)
- Privacy manifests only included in release 17.0.0 with breaking changes HOT 13
- Xcode15.3: After updating SDKv17.0.0 through SPM, an error occurred while running the project: dyld [5199]: Library not loaded: @ rpath/FBSDKCoreKit. framework/FBSDKCoreKit, unable to start the application HOT 12
- unity sdk 17.0.0 how date update ?
- App is live but only approved testers can login (using limited login on 17.0.0) HOT 11
- Limited Login Failed on iOS 17 HOT 2
- Facebook Login using SDK 17.0.0 always displays a limited login warning HOT 2
- Warning Issue with FBAudienceNetwork 6.15.0 Upgrade via Cocoapods HOT 3
- m.facebook.com
- apps.microsoft.com
- Get wrong first name from `Profile.current?.firstName`
- FBSDKShareVideo failed, Error Message:"FBSDKErrorDeveloperMessageKey=Must refer to an asset file." HOT 1
- Multiple FBAudienceNetwork pod spec for the same version HOT 1
- Swift Package version 17.0.0 fails on Xcode 15.3
- SDK v17.0.0 may not get valid AccessToken immediately after call ApplicationDelegate didFinishLaunchingWithOptions
- v17.0.0 Invalid access tokenString HOT 10
- sdk17.0.0 iOS系统17以上 登录不了 token验证失败 HOT 3
- limited login auth token not refreshed when trackingPreference not explicitly passed in login config HOT 3
- AuthenticationToken.current == nil HOT 1
- Facebook Share Not Working HOT 6
- Malfunction in friends repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ios-sdk.