Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Anahita-Fakhravar opened this issue Oct 31, 2024 · 7 comments

Comments

@Anahita-Fakhravar
Copy link

Anahita-Fakhravar commented Oct 31, 2024

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

  • Initialize a new React Native app with the latest CLI version:
npx @react-native-community/cli@latest init AwesomeProject
  • Install the react-native-contacts package.
  • Attempt to run the app on iOS. The build will fail, displaying the error message.

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

@Anahita-Fakhravar Anahita-Fakhravar changed the title iOS app build fails after upgrading to latest version 8.0.4 The iOS app build is failing following the upgrade to version 8.0.4. Oct 31, 2024
@zchLovv
Copy link

zchLovv commented Nov 8, 2024

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
Copy link
Author

@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
Copy link
Owner

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.

@joaonew
Copy link

joaonew commented Nov 14, 2024

I'm getting

Error: Exception in HostObject::get for prop 'RCTContacts':
Failed to create module "RCTContacts": Error while parsing method RCTContacts.writePhotoToPath:
Methods that return promises must accept a RCTPromiseResolveBlock followed by a RCTPromiseRejectBlock.
This method accepts a RCTResponseSenderBlock followed by a RCTPromiseRejectBlock.
[Component Stack] with `"react-native": "0.76.1"`.

@morenoh149
Copy link
Owner

@joaonew is that on ios? the method might not be implemented.

reject(@"Error", @"not implemented", nil);

@Anahita-Fakhravar
Copy link
Author

@morenoh149 any solution?

@gtsadaris
Copy link

This issue is the same as this one. The problem is that Limited Contacts feature have been added in IOS 18. So the solution seems to be a temporary patch you can apply or just by updating XCode to 16+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants