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

fix(deps): migrate from react-native-aes-crypto-forked to @metamask/react-native-aes-crypto #9540

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

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented May 4, 2024

Description

Instead of pulling in react-native-aes-crypto-forked from a git-commit and then patching it (!(?)), this migrates to a published version of the package under the name @metamask/react-native-aes-crypto with the same effect.

The separate dependency react-native-aes-crypto is left unaddressed.

Related issues

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

github-actions bot commented May 4, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@legobeat legobeat added dependencies Pull requests that update a dependency file team-security labels May 4, 2024
@legobeat legobeat mentioned this pull request May 4, 2024
8 tasks
@legobeat legobeat requested a review from rickycodes May 4, 2024 00:54
Copy link

socket-security bot commented May 4, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/react-native-aes-crypto@1.2.2 None 0 43.9 kB lgbot

🚮 Removed packages: npm/react-native-aes-crypto-forked@1.2.1

View full report↗︎

@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch from 20011ca to df9d0da Compare May 4, 2024 00:59
@legobeat legobeat added the Run Smoke E2E Triggers smoke e2e on Bitrise label May 4, 2024
Copy link
Contributor

github-actions bot commented May 4, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: df9d0da
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3aaa9015-d12d-413e-aaf2-3ac397c3a5d0

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat
Copy link
Contributor Author

legobeat commented May 4, 2024

iOS build error needs resolving:

WriteAuxiliaryFile /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.LinkFileList (in target 'RCTAesForked' from project 'RCTAesForked')
    cd /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios
    write-file /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.LinkFileList
WriteAuxiliaryFile /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.LinkFileList (in target 'RCTAesForked' from project 'RCTAesForked')
    cd /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios
    write-file /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.LinkFileList
CompileC /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.o /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCTAesForked' from project 'RCTAesForked')
    cd /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios
    clang -x objective-c -target x86_64-apple-ios9.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/vagrant/git/ios/build/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/vagrant/git/ios/build/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -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 -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 -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -DDEBUG\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/vagrant/git/ios/build/Index.noindex/DataStore -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-generated-files.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-own-target-headers.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/all-product-headers.yaml -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-project-headers.hmap -I/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I../../../react-native/React -I../../../react-native/React/AccessibilityResources -I../../../react-native/React/AppSetup -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxLogUtils -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/FBReactNativeSpec -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -I../../../react-native/React/Tests -I../../../react-native/React/UIUtils -I../../../react-native/React/Views -I../../../react-native/React/Base/Surface -I../../../react-native/React/Fabric/Mounting -I../../../react-native/React/Fabric/Surface -I../../../react-native/React/Fabric/Utils -I../../../react-native/React/Tests/Mounting -I../../../react-native/React/Tests/Text -I../../../react-native/React/Views/RefreshControl -I../../../react-native/React/Views/SafeAreaView -I../../../react-native/React/Views/ScrollView -I../../../react-native/React/Base/Surface/SurfaceHostingView -I../../../react-native/React/Fabric/Mounting/ComponentViews -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -I../../../react-native/React/Fabric/Mounting/ComponentViews/InputAccessory -I../../../react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop -I../../../react-native/React/Fabric/Mounting/ComponentViews/Modal -I../../../react-native/React/Fabric/Mounting/ComponentViews/Root -I../../../react-native/React/Fabric/Mounting/ComponentViews/SafeAreaView -I../../../react-native/React/Fabric/Mounting/ComponentViews/ScrollView -I../../../react-native/React/Fabric/Mounting/ComponentViews/Slider -I../../../react-native/React/Fabric/Mounting/ComponentViews/Switch -I../../../react-native/React/Fabric/Mounting/ComponentViews/Text -I../../../react-native/React/Fabric/Mounting/ComponentViews/TextInput -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedComponent -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedView -I../../../react-native/React/Fabric/Mounting/ComponentViews/View -I/Users/vagrant/node_modules/react-native/React -I/Users/vagrant/git/node_modules/ios/Pods/Headers/Public/React-Core -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources-normal/x86_64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources/x86_64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources -F/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.d --serialize-diagnostics /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.dia -c /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m -o /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/RCTAesForked.o
In file included from /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m:10:
/Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.h:10:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
CompileC /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/AesCryptForked.o /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/lib/AesCryptForked.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCTAesForked' from project 'RCTAesForked')
    cd /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios
    clang -x objective-c -target x86_64-apple-ios9.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/vagrant/git/ios/build/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/vagrant/git/ios/build/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -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 -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 -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -DDEBUG\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/vagrant/git/ios/build/Index.noindex/DataStore -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-generated-files.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-own-target-headers.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/all-product-headers.yaml -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-project-headers.hmap -I/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I../../../react-native/React -I../../../react-native/React/AccessibilityResources -I../../../react-native/React/AppSetup -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxLogUtils -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/FBReactNativeSpec -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -I../../../react-native/React/Tests -I../../../react-native/React/UIUtils -I../../../react-native/React/Views -I../../../react-native/React/Base/Surface -I../../../react-native/React/Fabric/Mounting -I../../../react-native/React/Fabric/Surface -I../../../react-native/React/Fabric/Utils -I../../../react-native/React/Tests/Mounting -I../../../react-native/React/Tests/Text -I../../../react-native/React/Views/RefreshControl -I../../../react-native/React/Views/SafeAreaView -I../../../react-native/React/Views/ScrollView -I../../../react-native/React/Base/Surface/SurfaceHostingView -I../../../react-native/React/Fabric/Mounting/ComponentViews -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -I../../../react-native/React/Fabric/Mounting/ComponentViews/InputAccessory -I../../../react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop -I../../../react-native/React/Fabric/Mounting/ComponentViews/Modal -I../../../react-native/React/Fabric/Mounting/ComponentViews/Root -I../../../react-native/React/Fabric/Mounting/ComponentViews/SafeAreaView -I../../../react-native/React/Fabric/Mounting/ComponentViews/ScrollView -I../../../react-native/React/Fabric/Mounting/ComponentViews/Slider -I../../../react-native/React/Fabric/Mounting/ComponentViews/Switch -I../../../react-native/React/Fabric/Mounting/ComponentViews/Text -I../../../react-native/React/Fabric/Mounting/ComponentViews/TextInput -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedComponent -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedView -I../../../react-native/React/Fabric/Mounting/ComponentViews/View -I/Users/vagrant/node_modules/react-native/React -I/Users/vagrant/git/node_modules/ios/Pods/Headers/Public/React-Core -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources-normal/x86_64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources/x86_64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources -F/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/AesCryptForked.d --serialize-diagnostics /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/AesCryptForked.dia -c /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/lib/AesCryptForked.m -o /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/x86_64/AesCryptForked.o
CompileC /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.o /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCTAesForked' from project 'RCTAesForked')
    cd /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios
    clang -x objective-c -target arm64-apple-ios9.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/vagrant/git/ios/build/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/vagrant/git/ios/build/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -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 -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 -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -DDEBUG\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/vagrant/git/ios/build/Index.noindex/DataStore -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-generated-files.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-own-target-headers.hmap -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/all-product-headers.yaml -iquote /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/RCTAesForked-project-headers.hmap -I/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I../../../react-native/React -I../../../react-native/React/AccessibilityResources -I../../../react-native/React/AppSetup -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxLogUtils -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/FBReactNativeSpec -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -I../../../react-native/React/Tests -I../../../react-native/React/UIUtils -I../../../react-native/React/Views -I../../../react-native/React/Base/Surface -I../../../react-native/React/Fabric/Mounting -I../../../react-native/React/Fabric/Surface -I../../../react-native/React/Fabric/Utils -I../../../react-native/React/Tests/Mounting -I../../../react-native/React/Tests/Text -I../../../react-native/React/Views/RefreshControl -I../../../react-native/React/Views/SafeAreaView -I../../../react-native/React/Views/ScrollView -I../../../react-native/React/Base/Surface/SurfaceHostingView -I../../../react-native/React/Fabric/Mounting/ComponentViews -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -I../../../react-native/React/Fabric/Mounting/ComponentViews/InputAccessory -I../../../react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop -I../../../react-native/React/Fabric/Mounting/ComponentViews/Modal -I../../../react-native/React/Fabric/Mounting/ComponentViews/Root -I../../../react-native/React/Fabric/Mounting/ComponentViews/SafeAreaView -I../../../react-native/React/Fabric/Mounting/ComponentViews/ScrollView -I../../../react-native/React/Fabric/Mounting/ComponentViews/Slider -I../../../react-native/React/Fabric/Mounting/ComponentViews/Switch -I../../../react-native/React/Fabric/Mounting/ComponentViews/Text -I../../../react-native/React/Fabric/Mounting/ComponentViews/TextInput -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedComponent -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedView -I../../../react-native/React/Fabric/Mounting/ComponentViews/View -I/Users/vagrant/node_modules/react-native/React -I/Users/vagrant/git/node_modules/ios/Pods/Headers/Public/React-Core -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources-normal/arm64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources/arm64 -I/Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/DerivedSources -F/Users/vagrant/git/ios/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.d --serialize-diagnostics /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.dia -c /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m -o /Users/vagrant/git/ios/build/Build/Intermediates.noindex/RCTAesForked.build/Debug-iphonesimulator/RCTAesForked.build/Objects-normal/arm64/RCTAesForked.o
In file included from /Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.m:10:
/Users/vagrant/git/node_modules/@metamask/react-native-aes-crypto/ios/RCTAesForked/RCTAesForked.h:10:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

I do not have access to a Mac and might need some assistance to figure out why this is happening here.

@legobeat legobeat added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels May 5, 2024
Copy link
Contributor

github-actions bot commented May 5, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 5eea272
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/7622233a-1bed-4fe7-a2a8-d6e248dbd7d6

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat legobeat marked this pull request as ready for review May 5, 2024 12:38
@legobeat legobeat requested review from a team as code owners May 5, 2024 12:38
@legobeat legobeat added the DO-NOT-MERGE Pull requests that should not be merged label May 5, 2024
@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch 2 times, most recently from 3bbf657 to 55ec4c6 Compare May 6, 2024 11:40
@legobeat legobeat added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels May 6, 2024
Copy link
Contributor

github-actions bot commented May 6, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 55ec4c6
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/0fc9c8f2-8ae9-4a01-87f1-4cd16f009b5e

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch 3 times, most recently from 0dfba57 to 6ee5042 Compare May 9, 2024 09:48
Copy link

socket-security bot commented May 9, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
New author npm/@metamask/react-native-aes-crypto@1.2.2
Unstable ownership npm/@metamask/react-native-aes-crypto@1.2.2

View full report↗︎

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@metamask/react-native-aes-crypto@1.2.2

@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch 3 times, most recently from 0acc26f to b8331c7 Compare May 16, 2024 09:42
@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch from b8331c7 to c8a6259 Compare May 16, 2024 23:09
@legobeat legobeat requested a review from ccharly May 21, 2024 11:58
@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch 2 times, most recently from 59b1418 to 62189d5 Compare May 22, 2024 08:14
@legobeat legobeat force-pushed the deps-mm-react-native-aes-crypto branch from 62189d5 to 69477bb Compare May 23, 2024 00:40
Copy link

sonarcloud bot commented May 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file DO-NOT-MERGE Pull requests that should not be merged Run Smoke E2E Triggers smoke e2e on Bitrise team-security
Projects
Status: Needs dev review
Development

Successfully merging this pull request may close these issues.

None yet

2 participants