AppLovin / AppLovin-MAX-SDK-iOS

84 stars 69 forks source link

AppLovinQualityService Setup Script Fails with Unsupported productType Error in Xcode Project #277

Open ezefranca opened 5 months ago

ezefranca commented 5 months ago

MAX SDK Version

12.0.0

Device/Platform Info

iOS

Current Behavior

When running the AppLovinQualityServiceSetup-ios.rb script to enable the MAX Ad Review service in a project containing MyFramework.xcodeproj, the script fails with an error: "Target 'MyFramework' - productType not supported. Expected types: com.apple.product-type.application".

This issue prevents the successful application of the AppLovinQualityService Pod.

Expected Behavior

The script should successfully download and apply the AppLovinQualityService Pod to the specified Xcode project without errors related to unsupported product types.

How to Reproduce

  1. Download AppLovinQualityServiceSetup-ios.rb from the AppLovin account.
  2. Create a Xcode new project, choose Framework one.
  3. Add the AppLovin pod, do pod install.
  4. Move the script AppLovinQualityServiceSetup-ios.rb into the project folder containing Framework.xcodeproj.
  5. Open a terminal, cd into the project folder.
  6. Run the command ruby AppLovinQualityServiceSetup-ios.rb.

Additional Info

No response