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

Update realm 10.19.5 from 2.29.3 #4756

Closed
sg-tbiswas opened this issue Aug 5, 2022 · 3 comments · Fixed by #4757
Closed

Update realm 10.19.5 from 2.29.3 #4756

sg-tbiswas opened this issue Aug 5, 2022 · 3 comments · Fixed by #4757
Assignees

Comments

@sg-tbiswas
Copy link

sg-tbiswas commented Aug 5, 2022

How frequently does the bug occur?

All the time

Description

after merged and compiled get this issue

node: v14.19.2

"react-native": "^0.63.4"

Xcode: 13.4

Mac m1

Stacktrace & log output

CompileC /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/Objects-normal/x86_64/RealmAnalytics.o /Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmReact' from project 'RealmReact')
    cd /Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/react-native/ios
    export LANG\=en_US.US-ASCII
    /Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/react-native/ios/../../scripts/ccache-clang.sh -x objective-c++ -target x86_64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++1z -stdlib\=libc++ -fobjc-arc -fmodules -fmodules-cache-path\=/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/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 -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 -DDEBUG\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Index/DataStore -iquote /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/RealmReact-generated-files.hmap -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/RealmReact-own-target-headers.hmap -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/RealmReact-all-non-framework-target-headers.hmap -ivfsoverlay /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/all-product-headers.yaml -iquote /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/RealmReact-project-headers.hmap -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Products/Debug-iphonesimulator/include -I../../../react-native/React -I../../../react-native/React/AccessibilityResources -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -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/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/ART -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -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../../../../ios/Pods/Headers/Public -I../../../../ios/Pods/Headers/Public/BVLinearGradient -I../../../../ios/Pods/Headers/Public/DoubleConversion -I../../../../ios/Pods/Headers/Public/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/GCDWebServer -I../../../../ios/Pods/Headers/Public/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/RNCAsyncStorage -I../../../../ios/Pods/Headers/Public/RNCCheckbox -I../../../../ios/Pods/Headers/Public/RNCPicker -I../../../../ios/Pods/Headers/Public/RNDeviceInfo -I../../../../ios/Pods/Headers/Public/RNFastImage -I../../../../ios/Pods/Headers/Public/RNGestureHandler -I../../../../ios/Pods/Headers/Public/RNReanimated -I../../../../ios/Pods/Headers/Public/RNScreens -I../../../../ios/Pods/Headers/Public/RNSentry -I../../../../ios/Pods/Headers/Public/RNSound -I../../../../ios/Pods/Headers/Public/RNVectorIcons -I../../../../ios/Pods/Headers/Public/React -I../../../../ios/Pods/Headers/Public/React-Core -I../../../../ios/Pods/Headers/Public/React-RCTText -I../../../../ios/Pods/Headers/Public/React-callinvoker -I../../../../ios/Pods/Headers/Public/React-cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor -I../../../../ios/Pods/Headers/Public/React-jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon -I../../../../ios/Pods/Headers/Public/SDWebImage -I../../../../ios/Pods/Headers/Public/SDWebImageWebPCoder -I../../../../ios/Pods/Headers/Public/Sentry -I../../../../ios/Pods/Headers/Public/Yoga -I../../../../ios/Pods/Headers/Public/appcenter-analytics -I../../../../ios/Pods/Headers/Public/appcenter-core -I../../../../ios/Pods/Headers/Public/appcenter-crashes -I../../../../ios/Pods/Headers/Public/glog -I../../../../ios/Pods/Headers/Public/libwebp -I../../../../ios/Pods/Headers/Public/react-native-camera -I../../../../ios/Pods/Headers/Public/react-native-keep-awake -I../../../../ios/Pods/Headers/Public/react-native-netinfo -I../../../../ios/Pods/Headers/Public/react-native-safe-area-context -I../../../../ios/Pods/Headers/Public/react-native-version-number -I../../../../ios/Pods/Headers/Public/react-native-webview -I../../../../ios/Pods/Headers/Public/DoubleConversion/double-conversion -I../../../../ios/Pods/Headers/Public/FBLazyVector/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/RCTRequired/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/React-Core/React -I../../../../ios/Pods/Headers/Public/React-RCTText/RCTText -I../../../../ios/Pods/Headers/Public/React-callinvoker/ReactCommon -I../../../../ios/Pods/Headers/Public/React-cxxreact/cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi/jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor/jsireact -I../../../../ios/Pods/Headers/Public/React-jsinspector/jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon/ReactCommon -I../../../../ios/Pods/Headers/Public/Yoga/yoga -I../../../../ios/Pods/Headers/Public/glog/glog -I/Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/tests/ReactTestApp/ios/Pods/Headers/Public/React -I/Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/examples/ReactExample/node_modules/react-native/React -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/DerivedSources-normal/x86_64 -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/DerivedSources/x86_64 -I/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/DerivedSources -F/Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Products/Debug-iphonesimulator -isystem ../../core/include -MMD -MT dependencies -MF /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/Objects-normal/x86_64/RealmAnalytics.d --serialize-diagnostics /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/Objects-normal/x86_64/RealmAnalytics.dia -c /Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm -o /Users/krishnendubhattacharya/Library/Developer/Xcode/DerivedData/TazoTixApp-crvchwhwlilccfgfmnirafepnewv/Build/Intermediates.noindex/RealmReact.build/Debug-iphonesimulator/RealmReact.build/Objects-normal/x86_64/RealmAnalytics.o

error: Build input file cannot be found: '/Users/krishnendubhattacharya/projects/tickettailor/tazotix-checkin-app/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm' (in target 'RealmReact' from project 'RealmReact')

Can you reproduce the bug?

Yes, always

Reproduction Steps

No response

Version

10.19.5

What SDK flavour are you using?

Local Database only

Are you using encryption?

Yes, using encryption

Platform OS and version(s)

IOS

Build environment

Which debugger for React Native: ..

Cocoapods version

1.11.3

@kneth
Copy link
Contributor

kneth commented Aug 5, 2022

@sg-tbiswas Thank you for reporting.

After npm install you can try to open node_modules/realm/react-native/ios/RealmReact.xcodeproj in an editor, go to line 399 and change

<<<<<<< HEAD
                                CURRENT_PROJECT_VERSION = 10.19.5;
=======
                                CURRENT_PROJECT_VERSION = 10.19.5;
>>>>>>> 2060b9c6 ([10.19.0-alpha.0] Bump version)

to

                                CURRENT_PROJECT_VERSION = 10.19.5;

We will fix in the next release.

@kneth kneth self-assigned this Aug 5, 2022
@sg-tbiswas
Copy link
Author

Any Update regarding the issue I face not only the merge.

@kneth
Copy link
Contributor

kneth commented Aug 8, 2022

@sg-tbiswas Did you try to clean the build folders? Realm has changed very much since v2.29.3, including how we distribute the library. One example of change is that RealmAnalytics.mm has been removed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants