birdofpreyru / react-native-static-server

Embedded HTTP server for React Native
https://dr.pogodin.studio/docs/react-native-static-server
Other
135 stars 21 forks source link

iOS EAS build #19

Open jole141 opened 1 year ago

jole141 commented 1 year ago

I use EAS Build which currently only works with version 0.5.5 for iOS. However, the real challenge is successfully installing the package and launching the server. I'm not sure how to set up the folder to serve files via EAS Build, so I'm wondering if there are any ideas on how to achieve this. I received a message that the server has been launched and it's up and running on URL "192.168....". However, when I tried to access the server via the provided link, I got a 404 Not Found error. I'm not sure how to access the files on iOS, so I'm seeking assistance in resolving this issue.

I have another question, is it even possible for me to fetch some data, like a JSON file, over the internet in my application and then serve that same JSON file on my server in the application? I need this npm package for that, but I'm not sure if I can achieve it

birdofpreyru commented 1 year ago

Hi @jole141 . It is the first time I hear about an "EAS Build". I googled, and if I got it right, it is a purely Expo build option? If so, as mentioned in [#8], the official support of Expo is currently beyond my reach and nearest plans, although it is probably on the table for more distant future, and some folks seem to have managed to use this library for Expo already.

This told, from you message it reads like you actually got the server build and successfully launched for you environment. Getting 404 Not Found only means that server is not able to locate the files, either because you misconfigured it, or because there is some minor bug preventing it to look for files in the correct place.

I have another question, is it even possible for me to fetch some data, like a JSON file, over the internet in my application and then serve that same JSON file on my server in the application? I need this npm package for that, but I'm not sure if I can achieve it

This should be possible, I don't see why not. If your app downloads, or otherwise generates a JSON file, and writes it into the folder being served by this static server, then the server will serve that JSON file.

jole141 commented 1 year ago

Hi @birdofpreyru, I managed to get the servers working on Expo, even though I use Expo eject and build through EAS, but everything works and I organized the folders. I didn't have any problems with folders for IOS, but for Android, I struggled a bit because I had to copy files from internal memory to external memory to be able to access them. However, I am still testing everything, and when I sort everything out, maybe I can help you with Expo support. I have currently noticed that the IOS server does not work when I am on mobile data, but I have raised a new issue for that.

birdofpreyru commented 1 year ago

for Android, I struggled a bit because I had to copy files from internal memory to external memory to be able to access them

Yeah... depending on when you checked the README the last time, this Android peculiarity is mentioned now there, and there is a dedicated extractBundledAssets() function in the library to help with it.

maybe I can help you with Expo support

That will be awesome! Even if there is no need for code changes, a PR to README to cover Expo installation would be great!

pavelstepanov-paf commented 1 year ago

@jole141, would appreciate if you describe how you got it working for Expo. After seeing your message, I tried using version 0.5.5 of @dr.pogodin/react-native-static-server version, but still no success. I use EAS Build. The other component versions in use are: "expo": "~48.0.6" "react-native": "0.71.3", "react-native-webview": "^11.26.1"

As mentioned in other issue thread ‘https://github.com/birdofpreyru/react-native-static-server/issues/8’, 
Expo prebuild to be used, so that the library's native dependencies would be linked and Pods installed. So, I am using expo prebuild.

Here, is the screenshot from iOS emulator. expo_simulator

Would appreciate any help! Thanks!

gopinath-subramanian commented 1 year ago

I tried with react native CLI not with expo then ended up with the same situation. Thinking this is something problem with the react-native-static-server lib. is there any other proper plugin to serve files locally for react native projects? I couldn't see anything so far

Screenshot 2023-03-21 at 12 01 08
birdofpreyru commented 1 year ago

@gopinath-subramanian I guess, there is just some problem with what you are doing. What is your RN version, build host, target OS, are you using old or new RN arch?

I am pretty sure there is no better alternatives for local file serving with RN, thus you better help to trouble shoot and improve this library ;)

gopinath-subramanian commented 1 year ago
"@dr.pogodin/react-native-static-server": "^0.7.2",
"react": "18.2.0",
"react-native": "0.71.4",
"react-native-webview": "^11.26.1"

And build host react-native CLI target ios version 15
birdofpreyru commented 1 year ago

@gopinath-subramanian and you do the build on Linux? MacOS?

gopinath-subramanian commented 1 year ago

Using macOS

birdofpreyru commented 1 year ago

That's odd. It supposed to work, apart when it fails for some ppl on building step due to issues with cmake configuration on some systems. Have you tried to run the example app, included into this repo?

gopinath-subramanian commented 1 year ago

Yes now we are trying the example app from this repo , will update you the outcome soon thanks

gopinath-subramanian commented 1 year ago

After I cloned your example then tried npm install and npm start then cd ios pod install..Then opened the project in Xcode when I build it failed

Screenshot 2023-03-22 at 3 47 10

Here is the info about all my settings

System: OS: macOS 11.5.2 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 75.23 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.19.1 - /usr/local/bin/node Yarn: Not Found npm: 8.19.3 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.12.0 - /Users/gopinath/.rubies/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9477386 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild Languages: Java: 15.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.0 => 0.71.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

jole141 commented 1 year ago

@pavelstepanov-paf I use eas build because I already use some native packages in the application I'm working on, so I use eas build (development) and I didn't do anything new for this package. I just installed the package via yarn add and created an eas development build and everything works fine. The build only passes on version 0.5.5 for iOS and I'm currently trying to make it work on version 0.7.2. Unfortunately, I cannot share my code because it's the application of the company I work for, but if I have some time, I might create a simple Expo project with this package so that you can try it out and see if it works.

@birdofpreyru Any ideas for this error?

PhaseScriptExecution [CP-User]\ Build\ native\ dependencies /Users/expo/Library/Developer/Xcode/DerivedData/<...>/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/dr-pogodin-react-native-static-server.build/Script-46EB2E00019160.sh (in target 'dr-pogodin-react-native-static-server' from project 'Pods')
(1 failure)
Exit status: 65
birdofpreyru commented 1 year ago

Hey @gopinath-subramanian and @jole141 , in both your cases the build fails at CMake build step, please look up into detailed logs from the step on what exactly went wrong there.

@gopinath-subramanian are there more details if you expand that error message, pressing on icon with three horizontal bars? If not, can you locate the folder with intermediate build artifacts, and look up there? E.g. what @jole141 qoutes, there is the path to the actual shell script /Users/expo/Library/Developer/Xcode/DerivedData/<...>/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/dr-pogodin-react-native-static-server.build/Script-46EB2E00019160.sh which fails, and you both can find such script and run it separately from XCode, and play around. That script is generated from this template in the library (in iOS case), you see it just runs cmake / copies stuff around. As you see, it assumes some paths where stuff ends-up during the build, which is true for my system / setup, but probably some folders end up different on your systems, so the question is just what variables / paths I should correct to ensure it works everywhere. Yeah, and then there is also CMakeLists.txt governing CMake build of PCRE2 and Lighttpd code — something may need corrections there as well. Really need your help to figure out what there is not really cross-system now.

gopinath-subramanian commented 1 year ago

PhaseScriptExecution [CP-User]\ Build\ native\ dependencies /Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Script-46EB2E00019580.sh (in target 'dr-pogodin-react-native-static-server' from project 'Pods') cd /Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export ACTION\=build export AD_HOC_CODE_SIGNING_ALLOWED\=YES export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO export ALTERNATE_GROUP\=staff export ALTERNATE_MODE\=u+w,go-w,a+rX export ALTERNATE_OWNER\=gopinath export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO export ALWAYS_SEARCH_USER_PATHS\=NO export ALWAYS_USE_SEPARATE_HEADERMAPS\=NO export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer export APPLE_INTERNAL_DIR\=/AppleInternal export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools export APPLICATION_EXTENSION_API_ONLY\=NO export APPLY_RULES_IN_COPY_FILES\=NO export APPLY_RULES_IN_COPY_HEADERS\=NO export ARCHS\=arm64\ x86_64 export ARCHS_STANDARD\=arm64\ x86_64 export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64 export ARCHS_STANDARD_32_BIT\=i386 export ARCHS_STANDARD_64_BIT\=arm64\ x86_64 export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64 export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64 export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone14,5 export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=15.2 export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator export BITCODE_GENERATION_MODE\=marker export BUILD_ACTIVE_RESOURCES_ONLY\=YES export BUILD_COMPONENTS\=headers\ build export BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO export BUILD_ROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products export BUILD_STYLE\= export BUILD_VARIANTS\=normal export BUILT_PRODUCTS_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/ export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS export BUNDLE_FORMAT\=shallow export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Frameworks export BUNDLE_PLUGINS_FOLDER_PATH\=PlugIns export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=PrivateHeaders export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Headers export CACHE_ROOT\=/var/folders/hn/809syyr16cv7t9db_kqdpdl00000gp/C/com.apple.DeveloperTools/13.2.1-13C100/Xcode export CCHROOT\=/var/folders/hn/809syyr16cv7t9db_kqdpdl00000gp/C/com.apple.DeveloperTools/13.2.1-13C100/Xcode export CHMOD\=/bin/chmod export CHOWN\=/usr/sbin/chown export CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED\=YES export CLANG_ANALYZER_NONNULL\=YES export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE export CLANG_CXX_LANGUAGE_STANDARD\=gnu++14 export CLANG_CXX_LIBRARY\=libc++ export CLANG_ENABLE_MODULES\=YES export CLANG_ENABLE_MODULE_DEBUGGING\=NO export CLANG_ENABLE_OBJC_ARC\=YES export CLANG_ENABLE_OBJC_WEAK\=NO export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING\=YES export CLANG_WARN_BOOL_CONVERSION\=YES export CLANG_WARN_COMMA\=YES export CLANG_WARN_CONSTANT_CONVERSION\=YES export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS\=YES export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR export CLANG_WARN_DOCUMENTATION_COMMENTS\=YES export CLANG_WARN_EMPTY_BODY\=YES export CLANG_WARN_ENUM_CONVERSION\=YES export CLANG_WARN_INFINITE_RECURSION\=YES export CLANG_WARN_INT_CONVERSION\=YES export CLANG_WARN_NON_LITERAL_NULL_CONVERSION\=YES export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF\=YES export CLANG_WARN_OBJC_LITERAL_CONVERSION\=YES export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER\=NO export CLANG_WARN_RANGE_LOOP_ANALYSIS\=YES export CLANG_WARN_STRICT_PROTOTYPES\=YES export CLANG_WARN_SUSPICIOUS_MOVE\=YES export CLANG_WARN_UNGUARDED_AVAILABILITY\=YES_AGGRESSIVE export CLANG_WARN_UNREACHABLE_CODE\=YES export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES export CLASS_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/JavaClasses export CLEAN_PRECOMPS\=YES export CLONE_HEADERS\=NO export CODESIGNING_FOLDER_PATH\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server/libdr-pogodin-react-native-static-server.a export CODE_SIGNING_ALLOWED\=NO export CODE_SIGNING_REQUIRED\=YES export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext export CODE_SIGN_IDENTITY\=- export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES export COLOR_DIAGNOSTICS\=NO export COMBINE_HIDPI_IMAGES\=NO export COMPILER_INDEX_STORE_ENABLE\=Default export COMPOSITE_SDK_DIRS\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/CompositeSDKs export COMPRESS_PNG_FILES\=YES export CONFIGURATION\=Release export CONFIGURATION_BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server export CONFIGURATION_TEMP_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator export COPYING_PRESERVES_HFS_DATA\=NO export COPY_HEADERS_RUN_UNIFDEF\=NO export COPY_PHASE_STRIP\=NO export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\=YES export CORRESPONDING_DEVICE_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform export CORRESPONDING_DEVICE_PLATFORM_NAME\=iphoneos export CORRESPONDING_DEVICE_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos15.2 export CP\=/bin/cp export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO export CURRENT_ARCH\=undefined_arch export CURRENT_VARIANT\=normal export DEAD_CODE_STRIPPING\=YES export DEBUGGING_SYMBOLS\=YES export DEBUG_INFORMATION_FORMAT\=dwarf-with-dsym export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0 export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions export DEFINES_MODULE\=NO export DEPLOYMENT_LOCATION\=NO export DEPLOYMENT_POSTPROCESSING\=NO export DEPLOYMENT_TARGET_CLANG_ENV_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DEPLOYMENT_TARGET_CLANG_FLAG_NAME\=mios-simulator-version-min export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX\=-mios-simulator-version-min\= export DEPLOYMENT_TARGET_LD_ENV_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DEPLOYMENT_TARGET_LD_FLAG_NAME\=ios_simulator_version_min export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=9.0\ 9.1\ 9.2\ 9.3\ 10.0\ 10.1\ 10.2\ 10.3\ 11.0\ 11.1\ 11.2\ 11.3\ 11.4\ 12.0\ 12.1\ 12.2\ 12.3\ 12.4\ 13.0\ 13.1\ 13.2\ 13.3\ 13.4\ 13.5\ 13.6\ 14.0\ 14.1\ 14.2\ 14.3\ 14.4\ 14.5\ 14.6\ 14.7\ 15.0\ 15.1\ 15.2 export DERIVED_FILES_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/DerivedSources export DERIVED_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/DerivedSources export DERIVED_SOURCES_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/DerivedSources export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export DEVELOPMENT_LANGUAGE\=en export DONT_GENERATE_INFOPLIST_FILE\=NO export DO_HEADER_SCANNING_IN_JAM\=NO export DSTROOT\=/tmp/Pods.dst export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export DWARF_DSYM_FILE_NAME\=libdr-pogodin-react-native-static-server.a.dSYM export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO export DWARF_DSYM_FOLDER_PATH\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO export ENABLE_APP_SANDBOX\=NO export ENABLE_BITCODE\=NO export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES export ENABLE_HARDENED_RUNTIME\=NO export ENABLE_HEADER_DEPENDENCIES\=YES export ENABLE_NS_ASSERTIONS\=NO export ENABLE_ON_DEMAND_RESOURCES\=NO export ENABLE_PREVIEWS\=NO export ENABLE_STRICT_OBJC_MSGSEND\=YES export ENABLE_TESTABILITY\=NO export ENABLE_TESTING_SEARCH_PATHS\=NO export ENTITLEMENTS_DESTINATION\=__entitlements export ENTITLEMENTS_REQUIRED\=YES export EXCLUDED_ARCHS\=i386 export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=*.nib\ *.lproj\ *.framework\ *.gch\ *.xcode*\ *.xcassets\ (*)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ *.pbproj\ *.pbxproj export EXECUTABLE_EXTENSION\=a export EXECUTABLE_NAME\=libdr-pogodin-react-native-static-server.a export EXECUTABLE_PATH\=libdr-pogodin-react-native-static-server.a export EXECUTABLE_PREFIX\=lib export EXECUTABLE_SUFFIX\=.a export FILE_LIST\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects/LinkFileList export FIXED_FILES_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/FixedFiles export FRAMEWORK_FLAG_PREFIX\=-framework export FRAMEWORK_SEARCH_PATHS\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server\ \ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal\"\ \"/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built\" export FRAMEWORK_VERSION\=A export FULL_PRODUCT_NAME\=libdr-pogodin-react-native-static-server.a export GCC3_VERSION\=3.3 export GCC_C_LANGUAGE_STANDARD\=gnu11 export GCC_NO_COMMON_BLOCKS\=YES export GCC_OBJC_LEGACY_DISPATCH\=YES export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++ export GCC_PREFIX_HEADER\=Target\ Support\ Files/dr-pogodin-react-native-static-server/dr-pogodin-react-native-static-server-prefix.pch export GCC_PREPROCESSOR_DEFINITIONS\=POD_CONFIGURATION_RELEASE\=1\ \ COCOAPODS\=1 export GCC_TREAT_WARNINGS_AS_ERRORS\=NO export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0 export GCC_VERSION_IDENTIFIER\=com_apple_compilers_llvm_clang_1_0 export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR export GCC_WARN_UNDECLARED_SELECTOR\=YES export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE export GCC_WARN_UNUSED_FUNCTION\=YES export GCC_WARN_UNUSED_VARIABLE\=YES export GENERATED_MODULEMAP_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator export GENERATE_INFOPLIST_FILE\=NO export GENERATE_MASTER_OBJECT_FILE\=NO export GENERATE_PKGINFO_FILE\=NO export GENERATE_PROFILING_CODE\=NO export GENERATE_TEXT_BASED_STUBS\=NO export GID\=20 export GROUP\=staff export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES export HEADERMAP_USES_VFS\=NO export HEADER_SEARCH_PATHS\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server/include\ \ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Private\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Private/dr-pogodin-react-native-static-server\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/DoubleConversion\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/RCT-Folly\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-Core\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-callinvoker\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-cxxreact\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-jsi\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-jsiexecutor\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-jsinspector\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-logger\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-perflogger\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React-runtimeexecutor\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/Yoga\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/dr-pogodin-react-native-static-server\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/fmt\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/glog\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/hermes-engine\"\ \"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/libevent\" export HIDE_BITCODE_SYMBOLS\=YES export HOME\=/Users/gopinath export ICONV\=/usr/bin/iconv export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES export INFOPLIST_OUTPUT_FORMAT\=binary export INFOPLIST_PREPROCESS\=NO export INLINE_PRIVATE_FRAMEWORKS\=NO export INSTALLHDRS_COPY_PHASE\=NO export INSTALLHDRS_SCRIPT_PHASE\=NO export INSTALL_DIR\=/tmp/Pods.dst/usr/local/lib export INSTALL_GROUP\=staff export INSTALL_MODE_FLAG\=u+w,go-w,a+rX export INSTALL_OWNER\=gopinath export INSTALL_PATH\=/usr/local/lib export INSTALL_ROOT\=/tmp/Pods.dst export IPHONEOS_DEPLOYMENT_TARGET\=11.0 export JAVAC_DEFAULT_FLAGS\=-J-Xms64m\ -J-XX:NewSize\=4M\ -J-Dfile.encoding\=UTF8 export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub export JAVA_ARCHIVE_CLASSES\=YES export JAVA_ARCHIVE_TYPE\=JAR export JAVA_COMPILER\=/usr/bin/javac export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources export JAVA_JAR_FLAGS\=cv export JAVA_SOURCE_SUBDIR\=. export JAVA_USE_DEPENDENCIES\=YES export JAVA_ZIP_FLAGS\=-urg export JIKES_DEFAULT_FLAGS\=+E\ +OLDCSO export KEEP_PRIVATE_EXTERNS\=NO export LD_DEPENDENCY_INFO_FILE\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/undefined_arch/dr-pogodin-react-native-static-server_dependency_info.dat export LD_GENERATE_MAP_FILE\=NO export LD_MAP_FILE_PATH\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/dr-pogodin-react-native-static-server-LinkMap-normal-undefined_arch.txt export LD_NO_PIE\=NO export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer export LEX\=lex export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions export LIBRARY_FLAG_NOSPACE\=YES export LIBRARY_FLAG_PREFIX\=-l export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions export LIBRARY_SEARCH_PATHS\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server\ export LINKER_DISPLAYS_MANGLED_NAMES\=NO export LINK_FILE_LIST_normal_arm64\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/arm64/dr-pogodin-react-native-static-server.LinkFileList export LINK_FILE_LIST_normal_x86_64\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/x86_64/dr-pogodin-react-native-static-server.LinkFileList export LINK_WITH_STANDARD_LIBRARIES\=YES export LLVM_TARGET_TRIPLE_OS_VERSION\=ios11.0 export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator export LLVM_TARGET_TRIPLE_VENDOR\=apple export LOCALIZATION_EXPORT_SUPPORTED\=YES export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities export LOCAL_APPS_DIR\=/Applications export LOCAL_DEVELOPER_DIR\=/Library/Developer export LOCAL_LIBRARY_DIR\=/Library export LOCROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export LOCSYMROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export MACH_O_TYPE\=staticlib export MAC_OS_X_PRODUCT_BUILD_VERSION\=20G95 export MAC_OS_X_VERSION_ACTUAL\=110502 export MAC_OS_X_VERSION_MAJOR\=110000 export MAC_OS_X_VERSION_MINOR\=110500 export METAL_LIBRARY_FILE_BASE\=default export METAL_LIBRARY_OUTPUT_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server/ export MODULE_CACHE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ModuleCache.noindex export MTL_ENABLE_DEBUG_INFO\=NO export MTL_FAST_MATH\=YES export NATIVE_ARCH\=x86_64 export NATIVE_ARCH_32_BIT\=i386 export NATIVE_ARCH_64_BIT\=x86_64 export NATIVE_ARCH_ACTUAL\=x86_64 export NO_COMMON\=YES export OBJC_ABI_VERSION\=2 export OBJECT_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects export OBJECT_FILE_DIR_normal\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal export OBJROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex export ONLY_ACTIVE_ARCH\=NO export OS\=MACOS export OSAC\=/usr/bin/osacompile export OTHER_CFLAGS\=\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap\"\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/yoga/Yoga.modulemap\" export OTHER_CPLUSPLUSFLAGS\=\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap\"\ -fmodule-map-file\=\"/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Headers/Public/yoga/Yoga.modulemap\" export OTHER_LIBTOOLFLAGS\=-llighttpd\ -lpcre2-8\ -lmod_staticfile\ -lmod_indexfile\ -lmod_dirlisting export PACKAGE_TYPE\=com.apple.package-type.static-library export PASCAL_STRINGS\=YES export PATH\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES\=/usr/include\ /usr/local/include\ /System/Library/Frameworks\ /System/Library/PrivateFrameworks\ /Applications/Xcode.app/Contents/Developer/Headers\ /Applications/Xcode.app/Contents/Developer/SDKs\ /Applications/Xcode.app/Contents/Developer/Platforms export PER_ARCH_OBJECT_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/undefined_arch export PER_VARIANT_OBJECT_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal export PKGINFO_FILE_PATH\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/PkgInfo export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform export PLATFORM_DISPLAY_NAME\=iOS\ Simulator export PLATFORM_FAMILY_NAME\=iOS export PLATFORM_NAME\=iphonesimulator export PLATFORM_PREFERRED_ARCH\=x86_64 export PLATFORM_PRODUCT_BUILD_VERSION\=19C51 export PLIST_FILE_OUTPUT_FORMAT\=binary export PODS_BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products export PODS_CONFIGURATION_BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator export PODS_DEVELOPMENT_LANGUAGE\=en export PODS_ROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export PODS_TARGET_SRCROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/../../.. export PODS_XCFRAMEWORKS_BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES export PRECOMP_DESTINATION_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/PrefixHeaders export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO export PRODUCT_BUNDLE_IDENTIFIER\=org.cocoapods.dr-pogodin-react-native-static-server export PRODUCT_MODULE_NAME\=dr_pogodin_react_native_static_server export PRODUCT_NAME\=dr-pogodin-react-native-static-server export PRODUCT_SETTINGS_PATH\= export PRODUCT_TYPE\=com.apple.product-type.library.static export PROFILING_CODE\=NO export PROJECT\=Pods export PROJECT_DERIVED_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/DerivedSources export PROJECT_DIR\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export PROJECT_FILE_PATH\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/Pods.xcodeproj export PROJECT_NAME\=Pods export PROJECT_TEMP_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build export PROJECT_TEMP_ROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex export REACT_NATIVE_PATH\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods/../../node_modules/react-native export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS\=YES export REMOVE_CVS_FROM_RESOURCES\=YES export REMOVE_GIT_FROM_RESOURCES\=YES export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES export REMOVE_HG_FROM_RESOURCES\=YES export REMOVE_SVN_FROM_RESOURCES\=YES export REZ_COLLECTOR_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/ResourceManagerResources export REZ_EXECUTABLE\=YES export REZ_OBJECTS_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/ResourceManagerResources/Objects export REZ_SEARCH_PATHS\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server\ export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO export SCRIPT_INPUT_FILE_COUNT\=0 export SCRIPT_INPUT_FILE_LIST_COUNT\=0 export SCRIPT_OUTPUT_FILE_COUNT\=0 export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0 export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk export SDK_DIR_iphonesimulator15_2\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk export SDK_NAME\=iphonesimulator15.2 export SDK_NAMES\=iphonesimulator15.2 export SDK_PRODUCT_BUILD_VERSION\=19C51 export SDK_VERSION\=15.2 export SDK_VERSION_ACTUAL\=150200 export SDK_VERSION_MAJOR\=150000 export SDK_VERSION_MINOR\=150200 export SED\=/usr/bin/sed export SEPARATE_STRIP\=NO export SEPARATE_SYMBOL_EDIT\=NO export SET_DIR_MODE_OWNER_GROUP\=YES export SET_FILE_MODE_OWNER_GROUP\=NO export SHALLOW_BUNDLE\=NO export SHARED_DERIVED_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server/DerivedSources export SHARED_PRECOMPS_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/PrecompiledHeaders export SKIP_INSTALL\=YES export SOURCE_ROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export SRCROOT\=/Users/gopinath/Documents/github/react-native-static-server/example/ios/Pods export STRINGSDATA_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/undefined_arch export STRINGSDATA_ROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build export STRINGS_FILE_INFOPLIST_RENAME\=YES export STRINGS_FILE_OUTPUT_ENCODING\=binary export STRIP_BITCODE_FROM_COPIED_FILES\=NO export STRIP_INSTALLED_PRODUCT\=NO export STRIP_STYLE\=debugging export STRIP_SWIFT_SYMBOLS\=YES export SUPPORTED_DEVICE_FAMILIES\=1,2 export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator export SUPPORTS_TEXT_BASED_API\=NO export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=\ export SWIFT_COMPILATION_MODE\=wholemodule export SWIFT_EMIT_LOC_STRINGS\=NO export SWIFT_OPTIMIZATION_LEVEL\=-O export SWIFT_PLATFORM_TARGET_PREFIX\=ios export SWIFT_RESPONSE_FILE_PATH_normal_arm64\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/arm64/dr-pogodin-react-native-static-server.SwiftFileList export SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Objects-normal/x86_64/dr-pogodin-react-native-static-server.SwiftFileList export SWIFT_VERSION\=5.0 export SYMROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities export SYSTEM_APPS_DIR\=/Applications export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices export SYSTEM_DEMOS_DIR\=/Applications/Extras export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions export SYSTEM_LIBRARY_DIR\=/System/Library export TAPI_VERIFY_MODE\=ErrorsOnly export TARGETED_DEVICE_FAMILY\=1,2 export TARGETNAME\=dr-pogodin-react-native-static-server export TARGET_BUILD_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Products/Release-iphonesimulator/dr-pogodin-react-native-static-server export TARGET_DEVICE_IDENTIFIER\=2AA7283A-0044-4F4A-AC3D-663C85B1BC73 export TARGET_DEVICE_MODEL\=iPhone14,5 export TARGET_DEVICE_OS_VERSION\=15.2 export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator export TARGET_NAME\=dr-pogodin-react-native-static-server export TARGET_TEMP_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build export TEMP_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build export TEMP_FILES_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build export TEMP_FILE_DIR\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build export TEMP_ROOT\=/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/Developer/Library/Frameworks export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO export UID\=502 export UNSTRIPPED_PRODUCT\=NO export USER\=gopinath export USER_APPS_DIR\=/Users/gopinath/Applications export USER_LIBRARY_DIR\=/Users/gopinath/Library export USE_DYNAMIC_NO_PIC\=YES export USE_HEADERMAP\=YES export USE_HEADER_SYMLINKS\=NO export USE_LLVM_TARGET_TRIPLES\=YES export USE_LLVM_TARGET_TRIPLES_FOR_CLANG\=YES export USE_LLVM_TARGET_TRIPLES_FOR_LD\=YES export USE_LLVM_TARGET_TRIPLES_FOR_TAPI\=YES export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES\=YES export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR export VALIDATE_PRODUCT\=YES export VALIDATE_WORKSPACE\=YES_ERROR export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64 export VERBOSE_PBXCP\=NO export VERSION_INFO_BUILDER\=gopinath export VERSION_INFO_FILE\=dr-pogodin-react-native-static-server_vers.c export VERSION_INFO_STRING\=\"@(#)PROGRAM:dr-pogodin-react-native-static-server\ \ PROJECT:Pods-\" export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode export XCODE_PRODUCT_BUILD_VERSION\=13C100 export XCODE_VERSION_ACTUAL\=1321 export XCODE_VERSION_MAJOR\=1300 export XCODE_VERSION_MINOR\=1320 export XPCSERVICES_FOLDER_PATH\=/XPCServices export YACC\=yacc export arch\=undefined_arch export variant\=normal /bin/sh -c /Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/Script-46EB2E00019580.sh

CMake Warning (dev) at CMakeLists.txt:83: Syntax Warning in cmake code at column 29

Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:84: Syntax Warning in cmake code at column 30

Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:85: Syntax Warning in cmake code at column 30

Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:1 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - broken CMake Error at /usr/local/Cellar/cmake/3.26.0/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler

"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/pcre2/CMakeFiles/CMakeScratch/TryCompile-dWRsSn

Run Build Command(s):/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_20ffc -parallelizeTargets -configuration Debug -hideShellScriptEnvironment && Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_20ffc -parallelizeTargets -configuration Debug -hideShellScriptEnvironment

User defaults from command line:
    HideShellScriptEnvironment = YES
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault

objc[36922]: Class RemoteXPCPair is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268d708) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1238). One of the two will be used. Which one is undefined.
objc[36922]: Class RemoteXPCShim is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268d780) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db12b0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury11XPCEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268de58) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1920). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury15XPCPeerEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268def8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db19c0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury19XPCListenerEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268df98) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1a60). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury16XPCObjectEncoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e0a8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1b70). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury17_XPCObjectEncoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e150) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1c18). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury16XPCObjectDecoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e200) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1cc8). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury17_XPCObjectDecoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e2a8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1d70). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury14XPCSideChannel is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e5e8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db20b8). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury19RemoteDeviceBrowser is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e730) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db2208). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury17XPCFileDescriptor is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268e8b0) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db2388). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury12RemoteDevice is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268eb00) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db25d0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury13XPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268ed20) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db2820). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury19RemoteXPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268eee8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db29e0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury27RemoteXPCListenerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268f040) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db2b30). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury23RemoteXPCPeerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268f1e8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db2cd0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury19SystemXPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268fa98) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db3578). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury27SystemXPCListenerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268fbe0) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db36c0). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury23SystemXPCPeerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268fd50) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db3830). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7Mercury15XPCFileTransfer is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268ffa8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db3a70). One of the two will be used. Which one is undefined.
objc[36922]: Class _TtC7MercuryP33_2B1830E49151A2D290BADAC81D16B73411_HandlerBox is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11268dae8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x128db1618). One of the two will be used. Which one is undefined.
note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: 6e5c24cd4cf47162bd20ef2c0253e388
Build description path: /Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/pcre2/CMakeFiles/CMakeScratch/TryCompile-dWRsSn/build/XCBuildData/6e5c24cd4cf47162bd20ef2c0253e388-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
error: unable to resolve product type 'com.apple.product-type.tool' for platform 'iphonesimulator' (in target 'cmTC_20ffc' from project 'CMAKE_TRY_COMPILE')
error: unable to resolve product type 'com.apple.product-type.tool' for platform 'iphonesimulator' (in target 'cmTC_20ffc' from project 'CMAKE_TRY_COMPILE')
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'cmTC_20ffc' from project 'CMAKE_TRY_COMPILE')
warning: duplicate output file '/Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/pcre2/CMakeFiles/CMakeScratch/TryCompile-dWRsSn/Debug' on task: CreateUniversalBinary /Users/gopinath/Library/Developer/Xcode/DerivedData/ReactNativeStaticServerExample-cpaujgnqfzfufsalvnkovoawcojp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/dr-pogodin-react-native-static-server.build/pcre2/CMakeFiles/CMakeScratch/TryCompile-dWRsSn/Debug normal arm64 x86_64 (in target 'cmTC_20ffc' from project 'CMAKE_TRY_COMPILE')
** BUILD FAILED **

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:107 (PROJECT)

-- Configuring incomplete, errors occurred! objc[36978]: Class RemoteXPCPair is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7708) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dd238). One of the two will be used. Which one is undefined. objc[36978]: Class RemoteXPCShim is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7780) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dd2b0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury11XPCEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7e58) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dd920). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury15XPCPeerEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7ef8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dd9c0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury19XPCListenerEndpoint is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7f98) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dda60). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury16XPCObjectEncoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb80a8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246ddb70). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury17_XPCObjectEncoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8150) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246ddc18). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury16XPCObjectDecoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8200) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246ddcc8). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury17_XPCObjectDecoder is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb82a8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246ddd70). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury14XPCSideChannel is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb85e8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de0b8). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury19RemoteDeviceBrowser is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8730) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de208). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury17XPCFileDescriptor is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb88b0) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de388). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury12RemoteDevice is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8b00) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de5d0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury13XPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8d20) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de820). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury19RemoteXPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb8ee8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246de9e0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury27RemoteXPCListenerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb9040) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246deb30). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury23RemoteXPCPeerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb91e8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246decd0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury19SystemXPCConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb9a98) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246df578). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury27SystemXPCListenerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb9be0) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246df6c0). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury23SystemXPCPeerConnection is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb9d50) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246df830). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7Mercury15XPCFileTransfer is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb9fa8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dfa70). One of the two will be used. Which one is undefined. objc[36978]: Class _TtC7MercuryP33_2B1830E49151A2D290BADAC81D16B73411_HandlerBox is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x10dfb7ae8) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x1246dd618). One of the two will be used. Which one is undefined. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project PCRE2.xcodeproj build -target pcre2-8-static -parallelizeTargets -configuration Release -hideShellScriptEnvironment

User defaults from command line: HideShellScriptEnvironment = YES IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line: TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault

xcodebuild: error: 'PCRE2.xcodeproj' does not exist. -- Checking for module 'libpcre2-8' -- No package 'libpcre2-8' found -- found pcre2-config: no CMake Error at lighttpd1.4/src/CMakeLists.txt:578 (message): pcre2.h couldn't be found

-- Configuring incomplete, errors occurred!

birdofpreyru commented 1 year ago

Thanks @gopinath-subramanian , looking at the log, it turns out on your system it fails to build included PCRE2 sources, saying:

The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
is not able to compile a simple test program.
...
error: unable to resolve product type 'com.apple.product-type.tool' for platform 'iphonesimulator' (in target 'cmTC_20ffc' from project 'CMAKE_TRY_COMPILE')

It should be happening at this point (it instructs CMake to spawn a child CMake build for PCRE2 in a separate process). My first thought was, it is somehow wrong for iPhone simulator (I most of the time test with a real device), but I just rapidly double-checked, that on my MacOS machine it still works fine when building & running on simulator.

Can you dig into it yourself? I wonder, can it be something missing / damaged in your XCode / dev setup?

gopinath-subramanian commented 1 year ago

OK thanks, i will check more in detail

gopinath-subramanian commented 1 year ago

When I run this script in the command line it says "xcodebuild -project PCRE2.xcodeproj build -target pcre2-8-static -parallelizeTargets -configuration Release -hideShellScriptEnvironment"

xcodebuild: error: 'PCRE2.xcodeproj' does not exist.

birdofpreyru commented 1 year ago

That is already after the initial failure. If you look at CMakeLists.txt of the library, this is what fails first — that command is supposed to do cmake configuration and generate that PCRE2.xcodeproj, which it fails to do on your machine, complaining the C compiler is not usable. What you posted above comes from the next command, which actually triggers the build of PCRE2 project generated by the previous command.

jole141 commented 1 year ago

Hi @birdofpreyru I fixed it by creating a pre-install script for installing cmake I followed this: https://forums.expo.dev/t/eas-build-command-error-because-app-requires-cmake-to-build/69218

gstrauss commented 1 year ago

@birdofpreyru if PCRE2 is causing build challenges for you, you might consider always building lighttpd without PCRE and without PCRE2.

lighttpd uses PCRE2 for specific lighttpd features which are not required for many typical operations. Currently, PCRE2 can enhance lighttpd configuration conditions (exact string match, prefix match, suffix match, regex match). Without PCRE2, regex match is not available. Without PCRE2, dir-listing.exclude is not available, but everything else in mod_dirlisting works. Without PCRE2, mod_redirect and mod_rewrite are limited to lighttpd built-in extended replacement patterns (https://wiki.lighttpd.net/mod_rewrite#Extended-Replacement-Patterns), with no regexes.

However, if you are not exposing these features in the lighttpd config currently generated by your code, then you can safely omit PCRE and PCRE2 from your build, until you are ready to expose those features.