Closed dvijeniii05 closed 1 week ago
Hello š, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
What happened?
Something strange started occurring recently.
When I try to build a release version of iOS App, i keep getting an error on the script RNGoogleMobileAds that runs by 'react-native-google-mobile-ads' with the following message:
Had i look into the script itself, checking the path for Info.plist that it is using and it looks good i.e. pointing to myAppName.app file inside the derived data.
Also, this issue was only introduced recently, used to work with no problem about 3-4 weeks ago. So, i am not sure whether it is something new that was introduced with Xcode version 15.2 or what?
Interesting find BUT not an acceptable solution: I wanted to try what is going to happen if i delete this script from "Build Phases" in Xcode and move it into my scheme to run as a 'post action' in Build phase. And this have worked!![Screenshot 2024-05-07 at 11 12 41](https://github.com/invertase/react-native-google-mobile-ads/assets/67027576/ff3e812b-33b1-48fa-9c46-3186a28f8a46)
So it is almost like the Info.plist is now not available when scripts from "Build Phase" are running and only gets added later on. But could not see anything in docs in this regards.
Platforms
Only on iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response