Felix Wielander <felix.w...@gmail.com>: Apr 29 09:55AM -0700
I have been trying to integrate Facebook ads for mediation with Admob into
my flutter app.
Previously I have been using the flutter library firebase_admob to serve
plain Admob banners, which worked fine on Android and iOS.
Now I am trying to integrate Facebook mediation with Admob and therefore
followed the steps under point 3 here:
https://developers.google.com/admob/ios/mediation/facebook#step_3_import_the_facebook_audience_network_sdk_and_adapter
However, when trying to run my iOS application on the simulator I get the
following errors for Facebook mediation:
...
14 warnings generated.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GADMediatedNativeAdNotificationSource", referenced from:
objc-class-ref in FacebookAdapter(GADFBNativeAd.o)
"_OBJC_CLASS_$_GADNativeAppInstallAdView", referenced from:
objc-class-ref in FacebookAdapter(GADFBNativeAd.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET'
is set to 4.3, but the range of supported deployment target versions is 8.0
to 13.4.99. (in target 'nanopb' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 8 Plus.
When I try the same for InMobi, I get the following errors:
...
14 warnings generated.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GADMediatedNativeAdNotificationSource", referenced from:
objc-class-ref in InMobiAdapter(GADMAdapterInMobi.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET'
is set to 4.3, but the range of supported deployment target versions is 8.0
to 13.4.99. (in target 'nanopb' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 8 Plus.
I already tried several things like including
pod 'FacebookSDK'
or
pod 'Google-Mobile-Ads-SDK'
to my Podfile, but the error persists.
I also tried to several times clean the project and various variations of
installing the pods for GoogleMobileAdsMediationFacebook or
GoogleMobileAdsMediationInMobi respectively + the just mentioned Facebook
or Google-Mobile-Ads SDK pods. Still the same error.
Am I missing some basic step here?
Any hint is welcome.
Best,
Felix
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 06:30PM
Hi Felix,
Thank you for bringing this issue to our attention.
I was wondering what podspec versions are you using? If 5.8.0 or lower. I would ask that you uopgarde your podspecs to 5.8.0.1 as stated in this previous post.
If the issue should still continue or you are using the updated podspec. Please then share with use via "Reply privately to author" button with the following information.
Pub Id and Ad Unit Ids in question
Any error logs or stack trace
Sample app with implementation or code snippet.
And always make sure when sharing any private information make sure it is not posted on the forum and only sent to us.
Regards,
William Pescherine
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaSrNr:ref
|
Felix Wielander <felix.w...@gmail.com>: Apr 29 12:04PM -0700
Thanks for your answer William.
You are talking about the FBAudienceNetwork version, right?
There's already the thing: When adding pod 'GoogleMobileAdsMediationFacebook'
to my Podfile and running "pod install", it strangely installs
FBAudienceNetwork version 4.99.3. However, the current version would be
5.8.0 or as you said 5.8.0.1.
I just tried to reproduce the issue with a freshly set up flutter project
(standard empty flutter app) and added the GoogleMobileAdsMediationFacebook
pod. Without doing anything else than adding this dependency I can
reproduce the same error shown in my previous post. I don't know if I am
making any dumb mistake, as I am no experienced iOS developer...
Do I have any influence in the versions of pods that are installed as
dependants of GoogleMobileAdsMediationFacebook?
Best,
Felix
Am Mittwoch, 29. April 2020 20:30:35 UTC+2 schrieb mobileadssdkforumadvisor:
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 09:15PM
Hi Felix,
Thank you for adding this additional information.
First off to let you know, we normally do not offer technical support to Flutter. But having read over your information and what you have said I would suggest a few things.
First here is the normal steps to implement cocoapods and getting start with iOS using cocoapods, as a reference. And the dependency should be changeable.
Also here is a link to our Github that shows a mediation sample that again you can look at and shows how we implement this.
Also here are some code snippets from Cocoapods themselves. And As you can see you should be able to change the dependency with the podfile itself.
Also here are the documents and walk thrus that we have for Flutter. These should also help you with some of what you are looking at.
Regards,
William Pescherine
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaSrNr:ref
|
Ryukie <ryuki...@gmail.com>: Apr 29 05:00AM -0700
Hello:
In add payment info page aways show "Can not find website on this server".
Just as the image.
[image: 83E2E2EC-05D7-4D58-9202-E2A5744246E8.png]
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 02:29PM
Hi Ryukie,
Thank you for bringing this issue to our attention.
First off I would want to let you know I am unable to read the screenshot. So if possible are you able to send one that is in English.
At the same time I would suggest that you check out this link within regards to setting up payment to you account.
Also I see your message says you are looking for a website? Are you looking to monetize a website or a mobile app?
Regards,
William Pescherine
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaSmUH:ref
|
Ryukie <ryuki...@gmail.com>: Apr 29 07:46AM -0700
Hi, thank for your reply。
I can open other link of AdMob and Google but in this page, it`s always
show "URL was not found". Is that server available now?
[image: 1D3569C2-1FF3-476B-8DA2-D2EE80AB808E.png]
在 2020年4月29日星期三 UTC+8下午10:30:37,mobileadssdkforumadvisor写道:
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 02:55PM
HI Ryukie,
Thank you for the updated screenshot.
From what I can tell, it looks like you have not added a payment method to your account. I would suggest to check out this link for adding the payment. Also I would recommend that you do your PIN as this could also cause an issue.
Regards,
William Pescherine
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaSmUH:ref
|
Kim Benjamin <bkwo...@gmail.com>: Apr 28 08:59PM -0700
Hi Baker.
Thank you for answer.
The article is already referenced.
It works perfectly when i created a new project. But not work in our
project.
Actually i tried pod yesterday. But, using pod occured other problem.
Our project has 4 different build targets.
I don't know exactly it cause or not, but it didn't work.
When pod install, it shows below messages for each target. (so many
messages)
-----
CocoaPods did not set the base configuration of your project because your
project already has a custom config set. In order for CocoaPods integration
to work at all, please either set the base configurations of the target
`OURPROJECT_Beta` to `Target Support
Files/Pods-OURPROJECT_Beta/Pods-OURPROJECT_Beta.beta_debug.xcconfig` or
include the `Target Support
Files/Pods-OURPROJECT_Beta/Pods-OURPROJECT_Beta.beta_debug.xcconfig` in
your build configuration (`Configuation/BETA.xcconfig`).
[!] The `OURPROJECT_Beta [BETA_DEBUG]` target overrides the
`HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support
Files/Pods-OURPROJECT_Beta/Pods-OURPROJECT_Beta.beta_debug.xcconfig'. This
can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `OURPROJECT_Beta [BETA_DEBUG]` target overrides the `OTHER_LDFLAGS`
build setting defined in `Pods/Target Support
Files/Pods-OURPROJECT_Beta/Pods-OURPROJECT_Beta.beta_debug.xcconfig'. This
can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
-----
Our project is working with 10 or more people. And we have several build
environment. So, for using(or applying) pod, there are many things to
consider.
I think it relateted GoogleAppMeasurement.framework.
Build is success when i remove that framework. But at this case, other
runtime error occured.
All i want at this time is that i want to know what "_sqlite3_prepare_v3"
is?
Because xcode shows below message as i sent it first time. It is not our
symbol.
-----
Undefined symbols for architecture x86_64: "_sqlite3_prepare_v3",
referenced from: -[APMSqliteStore prepareSQL:error:] in
GoogleAppMeasurement(APMSqliteStore_1e4736e834208ded6c04f0471e407ef5.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Showing first 200 warnings only
-----
I'm still trying pod until now, it's not work yet.
2020년 4월 28일 화요일 오후 11시 41분 45초 UTC+9, mobileadssdkforumadvisor 님의 말:
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 08:25AM
Hi Kim,
Thank you for providing rundown of the issue. Could you please provide a project (or at least a sample project) where the issue is reproducible so we could see the issue on our end as well? You may upload the project on your Google Drive, then provide to us the shareable link via Reply privately to author option.
Regards,
Teejay Pimentel
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaScG4:ref
|
Kim Benjamin <bkwo...@gmail.com>: Apr 29 02:31AM -0700
Hi Pimentel,
Unfortunately, I don't have any authority to provide it.
My company owns.
Our project uses "libsqlite3.a".
The error message contains "_sqlite3_prepare_v3"
Is it have any possibility(relation?) of this error?
By the way, Do you have any reason that you don't tell me about what
"_sqlite3_prepare_v3" is?
2020년 4월 29일 수요일 오후 5시 25분 46초 UTC+9, mobileadssdkforumadvisor 님의 말:
|
Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com>: Apr 29 11:24AM
Hi Kim,
The "_sqlite3_prepare_v3" error seems to be related to SQLite, which I'm afraid isn't quite related to the AdMob SDK directly. I'm afraid that I'll be needing additional data in order to investigate on why this error occurs. With that said, could you please provide/confirm the following details?
SDK version where the issue occurs
XCode version
Have you tried other version of the SDK? If so, is the issue still exists?
Regards,
Teejay Pimentel
Mobile Ads SDK Team
ref:_00D1U1174p._5001UaScG4:ref
|