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

Resubmit contacts import module #54459

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

perunt
Copy link
Contributor

@perunt perunt commented Dec 23, 2024

Explanation of Change

Resubmit contacts import module. Additionally was bumped Nitro

During the revert of the NitroModules PR, we identified two main issues affecting our iOS builds. First, there was a mismatch between the minimum iOS deployment target (set to 13.4) and our app's requirement (iOS 15). Second, we discovered build failures specific to iOS simulators due to a known Swift compiler issue.
While investigating, we found that our CI environment was running an older version of Xcode (15.2), which contributed to the build failures. We've addressed this by updating our CI configuration to use newer macOS runners and updating the Ruby GitHub Action version.
To move forward cleanly, we'll be splitting this into two separate PRs:

  • CI infrastructure update for newer Xcode support
  • Re-introduction of ContactsModule with correct iOS configuration

After implementing these changes in isolation, our test builds are now passing successfully.

revert #54421

Fixed Issues

$ #47938
PROPOSAL:

Tests

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

// TODO: These must be filled out, or the issue title must include "[No QA]."

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
    • MacOS: Desktop
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

@perunt
Copy link
Contributor Author

perunt commented Jan 6, 2025

I didn't test the Hybrid App as I don't have access yet

@perunt perunt marked this pull request as ready for review January 6, 2025 12:38
@perunt perunt requested a review from a team as a code owner January 6, 2025 12:38
@melvin-bot melvin-bot bot requested review from DylanDylann and shawnborton and removed request for a team January 6, 2025 12:38
Copy link

melvin-bot bot commented Jan 6, 2025

@shawnborton @DylanDylann One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@staszekscp
Copy link
Contributor

Hey! I've created a PR with adjustments so everything works fine with HybridApp

@mateuuszzzzz
Copy link
Contributor

mateuuszzzzz commented Jan 7, 2025

Hi! @perunt what's your Xcode version locally? I'm testing PR on HybridApp and I cannot build for simulators (it builds fine on physical device tho). My version is 16.2 (16C5032a)

I'm also curious about swiftc version. Here is mine: swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)

The key information here is that some people might encounter issues when building on a simulator, while others might not, depending on their Swift compiler version. This can block HybridApp development for people without physical iPhone

@mateuuszzzzz
Copy link
Contributor

mateuuszzzzz commented Jan 7, 2025

Nevertheless I think this is not a serious issue and we can proceed further with this PR and its HybridApp part 😅

People experiencing issues with the Swift compiler can try downgrading their Xcode version or using a physical device if available. cc: @Julesssss

@mateuuszzzzz
Copy link
Contributor

I think only remaining thing is to bump Xcode on CI infrastructure. I have this PR that was created before Christmas: #54424
I will sync it with main later today

blimpich
blimpich previously approved these changes Jan 7, 2025
Copy link
Contributor

@blimpich blimpich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tentatively approving, seems like we need to confirm first that this doesn't break hybrid app for simulator's as per above comments.

@blimpich
Copy link
Contributor

blimpich commented Jan 7, 2025

Also I think we need to merge main due to xcode being bumped, which is why the validate github actions check is failing.

@perunt
Copy link
Contributor Author

perunt commented Jan 10, 2025

I'm still dealing with Android errors after bumping RN. I'll ping you once it's done

@perunt
Copy link
Contributor Author

perunt commented Jan 13, 2025

I'm not sure about the lint error Do not default string IDs to any value since I didn't work on that area. I see we're still using '-1' as the ID in the codebase, so I assume it should be migrated in a separate PR?

Apart from this, everything works on my end. As before, I didn't test the Hybrid App because I don't have access to it

@blimpich
Copy link
Contributor

I'm not sure about the lint error Do not default string IDs to any value since I didn't work on that area. I see we're still using '-1' as the ID in the codebase, so I assume it should be migrated in a separate PR?

Apart from this, everything works on my end. As before, I didn't test the Hybrid App because I don't have access to it

Ah this is from a new eslint rule we made. See announcement here. Its unrelated because we're trying to tackle the changes incrementally instead of doing it all at once in a big PR. So if you touch a file (ex: src/pages/iou/request/MoneyRequestParticipantsSelector.tsx) then the linter asks you to update the rest of the file.

I'm fine with ignoring it for this PR, its big and complicated enough already that I don't want to add that to the list of things this PR changes, but for future reference we probably want to update those linter issues as we encounter them.

blimpich
blimpich previously approved these changes Jan 13, 2025
Copy link
Contributor

@blimpich blimpich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blimpich
Copy link
Contributor

Looks like C+ should have access to hybrid app now, @DylanDylann can we get your review on this? Obviously no need to review all the code again since you've reviewed the code throughly before, but I'd like you to test this before we merge since @perunt still doesn't have access to the hybrid app repo yet (working on fixing that).

@DylanDylann
Copy link
Contributor

DylanDylann commented Jan 15, 2025

I verified that it works well on the Hybrid Android App (I am getting some problems while building a Hybrid IOS App, will try to give an update at the end of the day)

Screen.Recording.2025-01-15.at.17.23.26.mov
Screen.Recording.2025-01-15.at.17.30.14.mov

@DylanDylann
Copy link
Contributor

@perunt Could you please resolve conflict?

@mateuuszzzzz
Copy link
Contributor

I verified that it works well on the Hybrid Android App (I am getting some problems while building a Hybrid IOS App, will try to give an update at the end of the day)

Screen.Recording.2025-01-15.at.17.23.26.mov
Screen.Recording.2025-01-15.at.17.30.14.mov

@DylanDylann what kind of problems?

@DylanDylann
Copy link
Contributor

@mateuuszzzzz No problem on Android, the IOS build failed because of this error

Screenshot 2025-01-15 at 21 33 26

@mateuuszzzzz
Copy link
Contributor

mateuuszzzzz commented Jan 15, 2025

@mateuuszzzzz No problem on Android, the IOS build failed because of this error

Could you expand details of SwiftCompile error?

@DylanDylann
Copy link
Contributor

Yess

Screenshot 2025-01-15 at 22 13 03

@mateuuszzzzz
Copy link
Contributor

Sorry, I meant this block 😅
image

Copy link
Contributor

🚧 @Julesssss has triggered a test hybrid app build. You can view the workflow run here.

Copy link
Contributor

🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪

Android 🤖 iOS 🍎
❌ FAILED ❌ ❌ FAILED ❌
The QR code can't be generated, because the Android build failed The QR code can't be generated, because the iOS build failed
Desktop 💻 Web 🕸️
N/A N/A
N/A N/A

👀 View the workflow run that generated this build 👀

@DylanDylann
Copy link
Contributor

First error

CompileC /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpecSwift.o /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/c++/HybridContactsModuleSpecSwift.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ContactsModule' from project 'Pods')
    cd /Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/dhd/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -target x86_64-apple-ios15.1-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=c++20 -stdlib\=libc++ -fmodules -gmodules -fmodules-cache-path\=/Users/dhd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/dhd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -fmodule-name\=ContactsModule -Wno-trigraphs -fpascal-strings -O0 -fno-common -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 -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -DFOLLY_NO_CONFIG -DFOLLY_CFG_NO_COROUTINES -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -fprofile-instr-generate -fcoverage-mapping -index-store-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Index.noindex/DataStore -iquote /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-generated-files.hmap -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-own-target-headers.hmap -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-all-non-framework-target-headers.hmap -ivfsoverlay /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/all-product-headers.yaml -iquote /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-project-headers.hmap -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule/include -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon-Samples/ReactCommon_Samples.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon-Samples/ReactCommon_Samples.framework/Headers/platform/ios -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/FBLazyVector -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/RCTRequired -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-callinvoker -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-runtimeexecutor -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-timing -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/hermes-engine -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/boost -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Private/Yoga -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/DoubleConversion -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/fmt/include -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage/React_FabricImage.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-utils/React_utils.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-featureflags/React_featureflags.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-debug/React_debug.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-ImageManager/React_ImageManager.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererdebug/React_rendererdebug.framework/Headers -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/RCT-Folly -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/DoubleConversion -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/fmt/include -I/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/boost -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCodegen/ReactCodegen.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage/React_FabricImage.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Graphics/React_graphics.framework/Headers -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/imagemanager/platform/ios -I/Users/dhd/Infratech/Expensify/App/node_modules/react-native/ReactCommon -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources-normal/x86_64 -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources/x86_64 -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/DoubleConversion -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/NitroModules -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCT-Folly -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCTDeprecation -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCTTypeSafety -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Core -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricComponents -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-ImageManager -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTImage -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTNetwork -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTText -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-cxxreact -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-debug -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-featureflags -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-hermes -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsi -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsiexecutor -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsinspector -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-logger -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-nativeconfig -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-perflogger -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-performancetimeline -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererconsistency -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererdebug -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-runtimescheduler -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-utils -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCodegen -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/SocketRocket -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/Yoga -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/fmt -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/glog -F/Users/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -DRCT_NEW_ARCH_ENABLED\=1 -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 -DRCT_NEW_ARCH_ENABLED\=1 -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/dhd/Infratech/Expensify/App/Mobile-Expensify/iOS/Pods/Target\ Support\ Files/ContactsModule/ContactsModule-prefix.pch -MMD -MT dependencies -MF /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpecSwift.d --serialize-diagnostics /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpecSwift.dia -c /Users/dhd/Infratech/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/c++/HybridContactsModuleSpecSwift.cpp -o /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpecSwift.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpecSwift.o

In file included from /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/c++/HybridContactsModuleSpecSwift.cpp:8:
In file included from /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/c++/HybridContactsModuleSpecSwift.hpp:30:
In file included from /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/ContactsModule-Swift-Cxx-Umbrella.hpp:53:
/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule/ContactsModule.framework/Headers/ContactsModule-Swift.h:5729:105: error: invalid use of 'this' outside of a non-static member function
void ***selfPtr_ = reinterpret_cast<void ***>( ::swift::_impl::_impl_RefCountedClass::getOpaquePointer(*this));
                                                                                                        ^
1 error generated.

Second Error (That you are asking)

SwiftCompile normal x86_64 Compiling\ HybridContactsModuleSpec_cxx.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/HybridContactsModuleSpec_cxx.swift (in target 'ContactsModule' from project 'Pods')
    cd /Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods
    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/Contact.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/ContactFields.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/ContactsModuleAutolinking.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/Func_void_std__vector_Contact_.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/ios/HybridContactsModule.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/HybridContactsModuleSpec.swift -primary-file /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/HybridContactsModuleSpec_cxx.swift /Users/dhd/ns/Expensify/App/modules/ContactsNitroModule/nitrogen/generated/ios/swift/StringHolder.swift -emit-dependencies-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.d -emit-const-values-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.swiftconstvalues -emit-reference-dependencies-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.swiftdeps -serialize-diagnostics-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.dia -target x86_64-apple-ios15.1-simulator -enable-objc-interop -cxx-interoperability-mode\=default -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -I /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/DoubleConversion -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/NitroModules -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCT-Folly -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCTDeprecation -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/RCTTypeSafety -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Core -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricComponents -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-ImageManager -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTImage -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTNetwork -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTText -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-cxxreact -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-debug -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-featureflags -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-hermes -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsi -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsiexecutor -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-jsinspector -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-logger -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-nativeconfig -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-perflogger -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-performancetimeline -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererconsistency -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererdebug -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-runtimescheduler -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-utils -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCodegen -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/SocketRocket -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/Yoga -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/fmt -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/glog -F /Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/hermes-engine/destroot/Library/Frameworks/universal -F /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -no-color-diagnostics -enable-testing -g -import-underlying-module -module-cache-path /Users/dhd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -const-gather-protocols-file /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/ContactsModule_const_extract_protocols.json -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/dhd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -std\=c++20 -Xcc -ivfsstatcache -Xcc /Users/dhd/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-generated-files.hmap -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-own-target-headers.hmap -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/ContactsModule-project-headers.hmap -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ContactsModule/include -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon-Samples/ReactCommon_Samples.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon-Samples/ReactCommon_Samples.framework/Headers/platform/ios -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/FBLazyVector -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/RCTRequired -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-callinvoker -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-runtimeexecutor -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/React-timing -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Public/hermes-engine -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/boost -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/Headers/Private/Yoga -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/DoubleConversion -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/fmt/include -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage/React_FabricImage.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-NativeModulesApple/React_NativeModulesApple.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-utils/React_utils.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-featureflags/React_featureflags.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-debug/React_debug.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-ImageManager/React_ImageManager.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-rendererdebug/React_rendererdebug.framework/Headers -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/RCT-Folly -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/DoubleConversion -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/fmt/include -Xcc -I/Users/dhd/ns/Expensify/App/Mobile-Expensify/iOS/Pods/boost -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCodegen/ReactCodegen.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-RCTFabric/RCTFabric.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-FabricImage/React_FabricImage.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Graphics/React_graphics.framework/Headers -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Products/Debug-iphonesimulator/React-Fabric/React_Fabric.framework/Headers/react/renderer/imagemanager/platform/ios -Xcc -I/Users/dhd/ns/Expensify/App/node_modules/react-native/ReactCommon -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources-normal/x86_64 -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources/x86_64 -Xcc -I/Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG\=1 -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -Xcc -DFOLLY_NO_CONFIG -Xcc -DFOLLY_CFG_NO_COROUTINES -Xcc -ivfsoverlay -Xcc /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/unextended-module-overlay.yaml -module-name ContactsModule -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.2 -target-sdk-name iphonesimulator17.2 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/ContactsModule.build/Objects-normal/x86_64/HybridContactsModuleSpec_cxx.o -index-store-path /Users/dhd/Library/Developer/Xcode/DerivedData/Expensify-estpnbngqenpigfyvubpsrvdautm/Index.noindex/DataStore -index-system-modules

Command SwiftCompile failed with a nonzero exit code

@Julesssss
Copy link
Contributor

I think this may be due to our workflow nmv version. I think we are good on staging but not prod yet (where I think the workflow runs).

npm error notsup Required: {"node":"20.18.1","npm":"10.8.2"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v20.18.0"}

@perunt
Copy link
Contributor Author

perunt commented Jan 16, 2025

@DylanDylann, the code is up to date
@blimpich, do we have an ETA on when our team will be able to run the Hybrid app? If it doesn't happen soon, I would like to schedule a debug session with Dylan

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

Successfully merging this pull request may close these issues.

6 participants