Skip to content

Building locally with eas fails because of pcre2 #145

@smontlouis

Description

@smontlouis

Hi, I have this issue with an expo app, not sure how to fix it.
I'm able to build on XCode, but I need it to work on eas locally using fastlane.

[RUN_FASTLANE] › Compiling @dr.pogodin/react-native-static-server PCRE2/pcre2-8-static » pcre2_auto_possess.c
[RUN_FASTLANE] › Packaging PCRE2/pcre2-8-static » libpcre2-8.a
[RUN_FASTLANE] › Packaging PCRE2/pcre2-posix-static » libpcre2-posix.a
[RUN_FASTLANE] › Linking   PCRE2/pcre2test » pcre2test
[RUN_FASTLANE] 
❌  ld: building for 'iOS', but linking in dylib (/opt/local/lib/libreadline.8.2.dylib) built for 'macOS'


[RUN_FASTLANE] 
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


[RUN_FASTLANE] › Linking   PCRE2/pcre2grep » pcre2grep
[RUN_FASTLANE] 
❌  ld: building for 'iOS', but linking in dylib (/opt/local/lib/libz.1.3.dylib) built for 'macOS'


[RUN_FASTLANE] 
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


[RUN_FASTLANE] › Linking   PCRE2/pcre2posix_test » pcre2posix_test
Image
XCode 16.4
"@dr.pogodin/react-native-fs": "^2.33.1",
"@dr.pogodin/react-native-static-server": "^0.21.0",
"react-native": "0.79.4",
"expo": "^53.0.13",

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExpoExpo - Isn't officially supported yet.On HoldCannot be resolved at the moment.P2Important issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions