morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.65k stars 564 forks source link

The iOS app build is failing following the upgrade to version 8.0.4. #762

Open Anahita-Fakhravar opened 1 week ago

Anahita-Fakhravar commented 1 week ago

After upgrading react-native-contacts from version 7.0.8 to 8.0.4, the iOS build fails with the following errors:

error export CLANG_WARN_DOCUMENTATION_COMMENTS\=YES
error export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER\=NO
error export GCC_WARN_UNDECLARED_SELECTOR\=YES
error export VALIDATE_PRODUCT\=NO
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-rendererdebug/React-rendererdebug-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/DebugStringConvertibleItem.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/DebugStringConvertibleItem.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/renderer/debug/DebugStringConvertibleItem.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/DebugStringConvertibleItem.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-rendererdebug.build/Objects-normal/arm64/DebugStringConvertibleItem.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeCore.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-RuntimeCore/React-RuntimeCore-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeCore.build/Objects-normal/arm64/BridgelessNativeMethodCallInvoker.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeCore.build/Objects-normal/arm64/BridgelessNativeMethodCallInvoker.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeCore.build/Objects-normal/arm64/BridgelessNativeMethodCallInvoker.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-RuntimeCore.build/Objects-normal/arm64/BridgelessNativeMethodCallInvoker.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeHermes.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-RuntimeHermes/React-RuntimeHermes-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeHermes.build/Objects-normal/arm64/HermesInstance.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeHermes.build/Objects-normal/arm64/HermesInstance.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/runtime/hermes/HermesInstance.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RuntimeHermes.build/Objects-normal/arm64/HermesInstance.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-RuntimeHermes.build/Objects-normal/arm64/HermesInstance.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/CxxTurboModuleUtils.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/CxxTurboModuleUtils.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/CxxTurboModuleUtils.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/CxxTurboModuleUtils.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/CxxTurboModuleUtils.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-performancetimeline.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-performancetimeline/React-performancetimeline-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-performancetimeline.build/Objects-normal/arm64/PerformanceEntryReporter.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-performancetimeline.build/Objects-normal/arm64/PerformanceEntryReporter.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/performance/timeline/PerformanceEntryReporter.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-performancetimeline.build/Objects-normal/arm64/PerformanceEntryReporter.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-performancetimeline.build/Objects-normal/arm64/PerformanceEntryReporter.o
error ": { "code": <code>, "message": <message> }}
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-jsinspector/React-jsinspector-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/CdpJson.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/CdpJson.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/jsinspector-modern/CdpJson.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/CdpJson.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-jsinspector.build/Objects-normal/arm64/CdpJson.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsiexecutor.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-jsiexecutor/React-jsiexecutor-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsiexecutor.build/Objects-normal/arm64/JSIExecutor.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsiexecutor.build/Objects-normal/arm64/JSIExecutor.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-jsiexecutor.build/Objects-normal/arm64/JSIExecutor.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-jsiexecutor.build/Objects-normal/arm64/JSIExecutor.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-contacts.build/Objects-normal/arm64/af3fcb34312c57c0f52879cdce924b91-common-args.resp -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/react-native-contacts/react-native-contacts-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-contacts.build/Objects-normal/arm64/RCTContacts.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-contacts.build/Objects-normal/arm64/RCTContacts.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native-contacts/ios/RCTContacts/RCTContacts.mm -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-contacts.build/Objects-normal/arm64/RCTContacts.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/react-native-contacts.build/Objects-normal/arm64/RCTContacts.o
error use of undeclared identifier 'CNAuthorizationStatusLimited'; did you mean 'PHAuthorizationStatusLimited'?
error &contactError usingBlock:^(CNContact * __nonnull contact, BOOL * __nonnull stop){
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-utils/React-utils-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/jsi-utils.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/jsi-utils.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/utils/jsi-utils.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/jsi-utils.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/jsi-utils.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/React-utils/React-utils-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/RunLoopObserver.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/RunLoopObserver.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/utils/RunLoopObserver.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/RunLoopObserver.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-utils.build/Objects-normal/arm64/RunLoopObserver.o
error \=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Index.noindex/DataStore @/Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_CFG_NO_COROUTINES\=1 -DFOLLY_HAVE_CLOCK_GETTIME\=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/packages/native-client/ios/Pods/Target\ Support\ Files/ReactCommon/ReactCommon-prefix.pch -MMD -MT dependencies -MF /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/TurboModuleUtils.d --serialize-diagnostics /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/TurboModuleUtils.dia -c /Users/rudolphcaldwell/Documents/PROJECTS/field-office-manager/node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleUtils.cpp -o /Users/rudolphcaldwell/Library/Developer/Xcode/DerivedData/PoolOfficeManager-alaxrcsigzgneggtxupdrlzciacf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/TurboModuleUtils.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/arm64/TurboModuleUtils.o
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Error: Failed to build ios project. "xcodebuild" exited with error code '65'. To debug build logs further, consider building your app with Xcode.app, by opening 'PoolOfficeManager.xcworkspace'.".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v18.14.1

I encounter the above error regardless of whether I add the following line to the Podfile:

target 'app' do ... pod 'react-native-contacts', :path => '../node_modules/react-native-contacts' <-- add me ... end

Steps to reproduce

Additional info react-native: "=0.75.4"

OS: macOS 14.3.1 CPU: (8) arm64 Apple M1 Shell: 5.9 - /bin/zsh Binaries: Node: 18.14.1 - /usr/local/bin/node Yarn: 4.1.1 - /usr/local/bin/yarn <----- active npm: 9.3.1 - /usr/local/bin/npm Browsers: Chrome: 130.0.6723.70 Safari: 17.3.1

zchLovv commented 5 days ago

8.0.4 seems to be incompatible with the newest version of react native. I had to install 7.0.x to get it to build properly

Anahita-Fakhravar commented 3 days ago

@morenoh149 I've updated the issue with detailed steps to reproduce. You can simply create a new React Native app, install the package, and attempt to build the iOS app to observe the error.

morenoh149 commented 1 day ago

8.0.4 seems to be incompatible with the newest version of react native. I had to install 7.0.x to get it to build properly

8.0.4 should be targeting the latest RN. It's probably that the latest version of rnc is broken.