AppLovin / AppLovin-MAX-Ad-Review-SDK-iOS

0 stars 0 forks source link

AppLovinQualityService breaks Xcode 16 beta compilation #1

Open hberenger opened 2 months ago

hberenger commented 2 months ago

Hi AppLovin team,

Everything is in the issue title: Ad Review seems to break compilation of iOS apps with Xcode 16 beta. We noticed this issue while preparing for the imminent release of Xcode 16.

Environment

Issue details

To be more precise:

Here is the output of the build phase when the app is built with Xcode 15.4:

AppLovin Quality Service Plugin for Xcode
Copyright © 2024 AppLovin. All rights reserved.
Plugin Version: 7.4.2 (7040200)
INFO: Plugin Version: 7.4.2 (7040200)
INFO: Configuration read from AppLovinQualityServiceSetup-ios.rb

Uploading data to AppLovin Server (api2.safedk.com)...

On the contrary, this is the error output of the build phase when building with Xcode 16 beta:

AppLovin Quality Service Plugin for Xcode
Copyright © 2024 AppLovin. All rights reserved.
Plugin Version: 7.4.2 (7040200)
INFO: Plugin Version: 7.4.2 (7040200)
INFO: Configuration read from AppLovinQualityServiceSetup-ios.rb

INFO: No classes found in path: [APP DERIVED DATA PATH]/Build/Products/Debug-iphonesimulator/MyApp.app/MyApp
ERROR: The AppLovinQualityService Pod was not identified in your app. Please clean and rebuild your project.
If the problem persists - please reinstall the AppLovinQualityService Pod.

(I replaced the actual Derived Data path by [APP DERIVED DATA PATH] in the above, along with the true app name)

Cleaning everything / deleting derived datas does not fix the problem, neither does reinstalling AppLovinQualityService.

Steps to reproduce

You can find in attachment a sample Xcode project with which you can easily reproduce the problem:

AppLovinQualityServiceBuildIssue.zip

Do you have an idea about what's happening? Will this be fixed on your side by a new version of AppLovinQualityService ?

Thanks a lot!

alvarshahanji commented 2 months ago

I could integrate Ad Review and build the app successfully on Xcode 16 beta 6. Could you try reproducing the issue using our demo app following the instructions in our doc?

alvarshahanji commented 2 months ago

@hberenger Just tested with the sample project you attached and noticed it is using Swift. I could reproduce the issue with our swift demo app as well. We will look into it and let you know. Thank you.

cc: @orilentz

hberenger commented 2 months ago

Thanks a lot @alvarshahanji!

alvarshahanji commented 2 months ago

Fix is released with Ad Review 7.4.3. Please update. Thank you.

hberenger commented 2 months ago

Hello @alvarshahanji, I can confirm that compilation is fixed by the latest AdReview version. This issue can be closed. Thanks for the prompt action!