Known Issues
- Unity
- iOS
- Android
Missing Xcode Workspace File
Issue:
Building to iOS creates an Xcode project file *.xcodeproj
, but not create a Workspace file *.xcworkspace
.
Workaround:
Run
sudo gem install cocoapods
in the project directory via Terminal.Go to
Assets > External Dependency Manager > iOS Resolver > Settings
.Uncheck
Use shell to execute Cocoapods Tool
.Uncheck
Auto Install Cocoapods Tools in Editor
.Go to
Assets > External Dependency Manager > iOS Resolver > Install Cocoapods
. A message should be recieved that informs you that Cocoapods is already installed.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
.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.
- 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
- Install gradle manually following these instructions
- Go To
Unity > Preferences > External Tools
, uncheckGradle Installed with Unity
and setGradle
to the location of the Gradle version you just installed.
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.
There are no known issues for the native iOS SDK at this time.
There are no known issues for the native Android SDK at this time.