- Download and Install Git LFS from https://git-lfs.github.com/
- Clone the project
- Go to directory 'cd FlutterxUnityxNative/ios'
- Open the xcworkspace 'Runner.xcworkspace' and select the target Runner. Go tab 'Signing and Capabilities' and select an appropriate Team for the Apple Developer Account.
- Go back to the main directory (FlutterxUnityxNative) 'cd ..' and run the command 'flutter build ios'. Make sure the build runs successfully.
- Attach an iOS device and run the project using XCode after selecting the attached device or run using flutter command 'flutter run'.
- Go to the main directory 'FlutterxUnityxNative' and run the command 'flutter build apk --debug'
- Use Android Studio to run the project.
- If you encounter this error 'could not setcwd() (errno 2: No such file or directory)', go to the android folder inside project repo and delete '.idea' and '.gradle' folders. Go to your gradle home directory and delete 'caches' folder. In the Android Studio, Go to File > Invalidate Caches / Restart and press the 'Invalidate and Restart' button.
- Press the Gradle sync button and run the app.