react-native-fast-rsa icon indicating copy to clipboard operation
react-native-fast-rsa copied to clipboard

Expo EAS Build - "CMake '3.18.1' found in SDK did not satisfy requested version"

Open blingusblongus opened this issue 2 years ago • 1 comments

Expo: Attempting to create a development build with eas build --platform android --profile development produces the following error:

[stderr] 
[CXX1300] CMake '3.10.2' was not found in SDK, PATH, or by cmake.dir property.
[stderr] 
[CXX1301] - CMake '3.18.1' found in SDK did not satisfy requested version.
[stderr] 
[CXX1300] CMake '3.10.2' was not found in SDK, PATH, or by cmake.dir property.
[stderr] 
[CXX1301] - CMake '3.18.1' found in SDK did not satisfy requested version.
[stderr] 
FAILURE: Build failed with an exception.
[stderr] 
* What went wrong:
[stderr] 
A problem occurred configuring project ':react-native-fast-rsa'.
[stderr] 
> [CXX1300] CMake '3.10.2' was not found in SDK, PATH, or by cmake.dir property.

eas.json is boilerplate, and has worked fine when creating dev builds to support other packages that use native modules:

{
    "cli": {
        "version": ">= 3.12.1"
    },
    "build": {
        "development": {
            "developmentClient": true,
            "distribution": "internal"
        },
        "preview": {
            "distribution": "internal"
        },
        "production": {}
    },
    "submit": {
        "production": {}
    }
}

Not sure what to do here, since EAS manages CMake and doesn't seem to allow pinning it to a specific version. Tried to force EAS to install CMake 3.10.2 with a pre-install hook, without success.

blingusblongus avatar May 31 '23 22:05 blingusblongus

Hi, this library doesn't support expo yet, but if you get a chance maybe the latest version may work for you

jerson avatar Nov 18 '23 16:11 jerson