- Home /
iOS plugin not all files copied - module.map missing
I'm using the following plugin for Android/iOS: https://assetstore.unity.com/packages/tools/integration/nice-vibrations-haptic-feedback-for-mobile-gamepads-108559
There are some swift files for iOS and bridges. There's also a module.modulemap file which I had never seen before.
When I build locally in my Mac with Unity 2019.4.9f1, this file is being copied to the XCode project as expected, and the build settings variable SWIFT_INCLUDE_PATHS is set to the directory of this lib.
When using doing an iOS build in Ubuntu by using Github Actions, the .modulemap file is not copied and the SWIFT_INCLUDE_PATHS is not set. Any ideas why this might be happening? Can this be a bug in the Ubuntu Unity version for iOS builds? Which files is Unity supposed to copy when generating XCode projects?
Github action: https://unity-ci.com/docs/github/getting-started
Docker image with Unity installed in Ubuntu: https://hub.docker.com/layers/gableroux/unity3d/2019.4.9f1-ios/images/sha256-a0f624327483665ef942cf4f71a3bd23943fafadf297d943efe7c252931fd720?context=explore