Skip to main content
Version: 29.1.28

Known Issues

Missing Xcode Workspace File

Issue:

Building to iOS creates an Xcode project file *.xcodeproj, but not create a Workspace file *.xcworkspace.

Workaround:

  1. Run sudo gem install cocoapods in the project directory via Terminal.

  2. Go to Assets > External Dependency Manager > iOS Resolver > Settings.

  3. Uncheck Use shell to execute Cocoapods Tool.

  4. Uncheck Auto Install Cocoapods Tools in Editor.

  5. Go to Assets > External Dependency Manager > iOS Resolver > Install Cocoapods. A message should be recieved that informs you that Cocoapods is already installed.

  6. Then after you build your project go to the generated Xcode project directory (folder chosen when building from the build settings) and run pod update.

  7. This should generate an Workspace file *.xcworkspace.

Gradle Build Failed

Issue:

This version of the SDK requires Gradle 6.5+ while Unity versions come bundled with a maximum of Gradle 6.1.1.

Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'.
> Failed to transform dd-sdk-android-1.14.0.aar (com.datadoghq:dd-sdk-android:1.14.0) to match attributes {artifactType=android-manifest, org.gradle.category=library, org.gradle.dependency.bundling=external

Solution:

  • Export the project to Android Studio.
    1. Android Studio will warn you about the Gradle dependency and provide you an option to update.
  • If you would like to build the APK from Unity itself
    1. Install gradle manually following these instructions
    2. Go To Unity > Preferences > External Tools, uncheck Gradle Installed with Unity and set Gradle to the location of the Gradle version you just installed. Unity Gradle Setting

Incremental build fails

Issue:

Incremental build fails for Android in Unity 2021.3 LTS.

Resolution:

Select Clean Build in the Build Settings when building for Android.