poingstudios / godot-admob-ios

Godot's AdMob Plugin for iOS with support for Mediations.
https://poingstudios.github.io/godot-admob-plugin/
MIT License
89 stars 14 forks source link

I am getting an error when i export #67

Closed javrocks closed 10 months ago

javrocks commented 10 months ago

Godot version

3.5

Plugin version

v2.1.1

Phone information

iPhone 12 IOS ver 16.6

Issue description

I'm Using Godot ver 3.5, IOS- template ver 3.5, and googlemobileadssdkios ver 9.11.0 I've also tried googlemobileadssdkios ver 10.1 and ver 10.9 but i always get this error below:

Steps to reproduce

no steps

Additional context

Error

gumaciel commented 10 months ago

Hi @javrocks try to export in a new folder, outside the folder of the project

javrocks commented 10 months ago

Hi @javrocks try to export in a new folder, outside the folder of the project

I do that already. I export to a brand new folder called IOS_Export, but the error's still there

gumaciel commented 10 months ago

Are you on Windows or MacOS?

I will verify this bug

javrocks commented 10 months ago

I using Windows 11

di-kang commented 10 months ago

Would this be related? I'm having trouble exporting to ios as well. On Mac, Godot v3.5.2, plugin v2.1.0, googlemobileadssdkios v10.9

Screenshot 2023-08-26 at 00 21 31
gumaciel commented 10 months ago

Test with this version: https://github.com/Poing-Studios/godot-admob-ios/releases/tag/v2.1.2

Can you try to export on MacOS? Because even if you export it on Windows you won't be able to deploy your application because it needs Xcode

But you can export it without the GoogleMobileAdsSDK and then add it on Xcode:

Do these steps:

javrocks commented 10 months ago

I use Xcode via an emulator, i don't have a mac. I usually export the whole project and then build it onto my Phone. The error is currently preventing me from exporting a project that Xcode can read. I can however export the project to Xcode without the plugin altogether, but removing the sdk isn't enough to get it to Xcode for me.

javrocks commented 10 months ago

Actually i made a mistake when following the instructions, i can in fact export it to Xcode without sdk Do i add the .xcframework to the Framework folder ?

javrocks commented 10 months ago

I tried adding the .xcframework files but it doesn't load any adds

gumaciel commented 10 months ago

@javrocks @di-kang

I've successfully been able to export the project with AdMob Plugin enabled:

image

Please create an empty project on Godot 3.5.2, get the latest version of the plugin for 3.x and test again: https://github.com/Poing-Studios/godot-admob-plugin/releases/tag/v1.3.4

gumaciel commented 10 months ago

Would this be related? I'm having trouble exporting to iOS as well. On Mac, Godot v3.5.2, plugin v2.1.0,

@di-kang please test exporting without the AdMob plugin.

Also, try to create an empty project on Godot 3.5.2, get the latest version of the plugin for 3.x, and test again: https://github.com/Poing-Studios/godot-admob-plugin/releases/tag/v1.3.4

javrocks commented 10 months ago

I don't have the Manifest ID for Godot ver 3.5.2 I don't see it listed here.... https://steamdb.info/app/404790/history/

javrocks commented 10 months ago

@gumaciel

Which IOS- template and sdk version are you using ?

di-kang commented 10 months ago

@gumaciel thanks🙂 i tried both without the plug-in and with a new empty project right after i got the error. and it works fine.

however it seems like googlemobileadssdkios was the culprit. maybe i should have done a more thorough research about this issue. after i replaced googlemobileadssdkios with v10.1, export to ios works fine.

thanks again anyways.

gumaciel commented 10 months ago

@javrocks Download here: https://downloads.tuxfamily.org/godotengine/3.5.2/ or https://github.com/godotengine/godot/releases/tag/3.5.2-stable

iOS template version: https://github.com/Poing-Studios/godot-admob-ios/releases/tag/v2.1.2 SDK: https://github.com/Poing-Studios/godot-admob-ios/releases/download/v2.1.2/googlemobileadssdkios.zip (10.1)


@di-kang

If the googlemobileadssdkios is corrupted there's nothing we can do, but as you say the latest version is working, so there's not a problem, using the latest version should work. Thank you for using our plugin!

gumaciel commented 10 months ago

@javrocks @di-kang do you guys still have this problem?

javrocks commented 10 months ago

Nah not anymore