-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple doesn't support UIWebView anymore #135
Comments
Can you give me the framework that are you using and the .a compiled to test? |
While we're working on an update, we recommend that you use the 7.41.0 version. You can download here: https://github.com/kloder-games/godot-admob#ios |
I used version 7.58.0 of Google Mobile SDK and the .a from here |
Oh i found this: ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs, so is high necessary update the SDK now |
Yes exactly this is the problem I had. |
Are you facing this too? #124 |
No, but I still didn't try to show a rewarded or interstitial ad. |
Are you building the app on simulator? On my Xcode it says "GoogleMobileAds is not available when building for iOS Simulator." |
Yes, I still need to get a real device. |
I still get same error message when uploading to Apple Connect. TMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. |
Will make the update today, check this issue today at night or tomorrow, thanks! |
Are there any known issues when using the recent admob version or is this just not tested yet? |
I dont test yet, but probably not yet compatible |
It seems to work fine on my iPhone 6s. I tested Banners, Intestitials and Rewarded videos. |
Please send the file .a to @dulvui test |
But did you try to upload it to Apple Store? I get the error
when uploading. |
Hi @dulvui I still couldn't build it, because the Mac is not mine, as soon as I was able to use it, I'll build it and send it to you |
I sent it to him, sorry for the delay. |
I got the e-mail thanks! But what does this .a file contain? |
So I have uploaded an .a file with the sources from godot 3.2.1 and the mobile ads sdk 7.58.0. |
Perfect!
I just tried and I get the build error message:
Building for iOS Simulator, but the linked library 'AirBroomball.a' was
built for iOS.
I'm still a noob in iOS development since, so I don't know how to fix this
and I have no real device to test at the moment.
Do you know how I can fix this?
Thank you!
…On Mon, 4 May 2020 at 11:54, Tobi-La ***@***.***> wrote:
So I have uploaded an .a file with the sources from godot 3.2.1 and the
mobile ads sdk 7.58.0.
I'm not sure if I'm allowed to post this here, so just answer with your
email if anyone else wants to have the link.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBDXFWC4KVZYZMZUOGWET3RP2GDZANCNFSM4MWSZUOQ>
.
|
That's probably cause you're trying to run in on a simulator. The .a doesn't contain the needed architecture for that, it's running only on real devices. You can test the build process if you don't choose a specific device in xcode in the top list and instead select "Generic iOS Device" |
I did that and I tried also to upload it to Apple connect and no build or
post upload error is shown.
So it seems working!
I'll try to organize an iPhone to try it on a real device.
Thank you!
…On Mon, 4 May 2020 at 12:55, Tobi-La ***@***.***> wrote:
That's probably cause you're trying to run in on a simulator. The .a
doesn't contain the needed architecture for that, it's running only on real
devices. You can test the build process if you don't choose a specific
device in xcode in the top list and instead select "Generic iOS Device"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBDXFXAOLKOTT3MVJAOTHTRP2NI5ANCNFSM4MWSZUOQ>
.
|
Hey @dulvui , i only can build and upload the game if i test first on iPhone or iPad device, please try do to that, after that please come back to say if its works or not, thanks! |
@Tobi-La thanks for helping him |
It will take me some days to get an iPhone to test it, because of the quarantine. |
Hi @dulvui , just compiled and tested here on Godot 3.1.2, i will update the readme and send the files on the branch 3.1.X. I updated an app that i have on App Store and successfully published |
Here is the branch updated, i just compiled with the version 7.58.0 and works fine |
Awesome! |
I was able to test on an iPhone 7 now and it works some times, but most of the times it crashes with error in output: I'm using 3.2.1 stable and that's probably the problem. |
I used now the module from your branch and it seems to work there :) I can help if needed, just might need some time to learn about writing modules |
When do you receive this error? When do you close the app or when you are playing and simply the game crashes or freezes? |
I'm studying this now (how write modules for AdMob), i'm currently writing a new repository, will work for Android and iOS, i'm finishing the Android version right now, after that i will do for iOS |
In Godot 3.2.1 I get the error during the game, it seems when I initialize the Admob Node. After a few seconds of gameplay it crashes But in Godot 3.1.2 it seems to happen on closing the app
That's awesome! |
I found here because I'm just rejected on uploading...
This branch of PR is almost completed? If so I want to try. |
Thanks @dala00 , i merged, please try it out |
I tried banner, reward video and uploading to App Store Connect and succeeded. Thanks! |
OS target (Android/iOS):
iOS
Godot version:
3.2.1.stable
Issue description:
When uploading to Apple Connect it gives error since Apple doesn't support UIWebView anymore, but WKWebView.
Google Mobile Ads SDK version 7.41.0 uses UIWebView.
The SDK uses WKWebView from version 7.55.0 https://developers.google.com/admob/ios/rel-notes.
I tried to update to latest SDK Version and the Upload works, but I don't have an iPhone to test.
Can someone test and see if it works? Or is there another workaround?
The text was updated successfully, but these errors were encountered: