question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Confusion when building for iOS/How AdMob works on iOS

See original GitHub issue

Describe the bug I’ve ran into some issues when trying to build for iOS. This section is confusing me

Copy the library libgodot.iphone.release.fat.a you have downloaded from releases tab inside the exported Xcode project. You must override the '.a' file with "your_project_name", should be like: 'your_project_name.a'.

I’m not sure what it means. I took it to mean I had to copy libgodot.iphone.release.fat.a into the project, and then rename it the name of my project, but that didn’t work, and then I realized there was already a my_project_name.a in the project.

If I don’t copy libgodot.iphone.release.fat.a into my project, it builds and runs (although it doesn’t currently work), but if I add libgodot.iphone.release.fat.a I get compiler errors about duplicate symbols.

However, if I remove my_project_name.a from the directory, it complains about it missing. I tried removing my_project_name.a, and renaming libgodot.iphone.release.fat.a into my_project_name.a, but that leads build errors with some of the Google frameworks.

At this point I’m just unsure about what exactly I’m supposed to be doing with libgodot.iphone.release.fat.a and my_project_name.a

To Reproduce Steps to reproduce the behavior: Just try and build iOS as described.

Smartphone (please complete the following information):

  • Device: iPhone 7
  • Xcode: 11.2.1
  • iOS Version: 13.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
sjhennioncommented, Jan 7, 2021

I must still need to upgrade something, it’s possible I’m a few versions back, because I don’t even have AppTrackingTransparency available as a linkable binary. Will have to get back to this later tonight. Thanks again for all the help!

0reactions
gumacielcommented, Jan 9, 2021

@sjhennion i put right now the Wiki to be editable to public it would be amazing if you contributed to the Wiki

Or even if you have something that you think needs to be improved in Readme.md, you can create a PR and I will commit

I will close the issue since the problem was solved, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] Confusion when building for iOS/How AdMob works on ...
a into my project, it builds and runs (although it doesn't currently work), but if I add libgodot.iphone.release.fat.a I get compiler errors ......
Read more >
Common reasons for ads not showing - Google AdMob Help
Use the following guide to understand common reasons why apps show few or no ads. If you're still having issues, use the Can't...
Read more >
How can I link my admob ad units to my app before uploading ...
I have been working on an app to submit to the apple app store. It is almost finished, however, I am experiencing a...
Read more >
AdMob Ad not showing up after publish - Apple Developer
Android works fine, but iOS ads do not work. I seems the requests all go ... I had the same error, the error...
Read more >
[Solved]-AdWhirl or AdMob problem - appsloveworld
I haven't got any response and I just fixed this problem. Currently I used adMob 4.1.0, so I update to lastest version 4.1.1,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found