Closed bonjourjoel closed 8 months ago
Hi again,
So i was reading the issues forum here, and I found this message: https://github.com/admob-plus/admob-plus/issues/615#issue-1878622677
The user @danieldanielecki was explaining that the current version was unstable, and he reverted to version 1.28.0
So i tried the same and i found out that my reproducing script above ends up with BUILD SUCCEEDED if i install version 1.28.0 of the plugin.
So i "suppose" that compiling on ios with the current version does not work. But it's only a supposition.
Could someone try to run this script and tell me if it succeeds or fails to compile?
$> cordova create test
$> cd test
edit file config.xml and add :
<platform name="ios"> <preference name="deployment-target" value="12.0" /> <preference name="SwiftVersion" value="5.3" /> </platform>
$> cordova platform add ios
$> cordova plugin add admob-plus-cordova
$> pod repo update
$> cordova build ios
Because for me this script compiles correctly adding admob-plus-cordova@1.28.0 but fails by adding admob-plus-cordova.
Ok i realized i answered my own question: It's not building on ios with the current dev version. I will develop with 1.28.0 and wait for a fix. Case closed!
Hi,
Problem description
When i build on cordova/ios, i get the following compiler error. Does anyone know why? Am I missing a dependency?
I installed the plugin using
cordova plugin add
as explained in the help. It works on android and it compiles and shows test ads, but on ios i can't even compile. I have searched in the help and tried all the install details and fixes available, but i still get this error.This is the full build log:
Command:
cordova build ios --debug --device --buildConfig=app-build-config/cordova-build-config/build-config.json --verbose
Result: log.txt
Reproduce the error
$> cordova create test
$> cd test
$> cordova platform add ios
$> cordova plugin add admob-plus-cordova
$> pod repo update
$> cordova build ios
Then i get the error about missing symbols, but maybe it's just me? And why then?
Environment
AdMob Plus Environment Info: System: OS: macOS Monterey 12.6 CPU: (4) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Memory: 155.22 MB / 4.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.14.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.8.1 - /usr/local/bin/npm Managers: CocoaPods: 1.12.1 - /usr/local/bin/pod Utilities: Clang: 14.0.0 - /usr/bin/clang SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 IDEs: Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild npmPackages: admob-plus-cordova: ^2.0.0-alpha.13 => 2.0.0-alpha.13 admob-plus-cordova-native: ^1.0.0-alpha.14 => 1.0.0-alpha.14 cordova-android: ^12.0.1 => 12.0.1 cordova-ios: ^7.0.0 => 7.0.0 npmGlobalPackages: cordova: 12.0.0 Cordova: Version: 12.0.0 (cordova-lib@12.0.1) Plugins: admob-plus-cordova-native: ^1.0.0-alpha.14 admob-plus-cordova: ^2.0.0-alpha.13 Ionic: Version: - AndroidManifest.xml: Version: -
Cocoapods issue
Also there is something particular that could be the source of the problem and that i can't explain:
When i go inside the cordova project dir, and run
npx admob-plus doctor
, i get this error:But I ran
pod repo update
, and I have checked inside platform/ios, and triple checked, and the version installed is defintely 10.6.0I read the source code of admob-plus doctor and i found that the doctor runs the command
pod spec cat Google-Mobile-Ads-SDK
and finds the "version" field in the JSON, in my case it's 10.10.0. And it compares it to the expected version 10.6.0. But I don't know where/if I have version 10.10.0 installed. I can't find it!Cocoapods install log
This is what is installed by cocoapods. Does it seem ok?
LD_RUNPATH_SEARCH_PATHS
When I add the plugin, i _sometimes_get this message: