Hello,
I'm using this package with react-native-firebase.
In their documentation, it's specified to set:
use_frameworks! :linkage => :static
With this setup, I get the following error even in a fresh project:
❯ yarn ios --simulator="iPhone 14"
yarn run v1.22.19
$ react-native run-ios '--simulator=iPhone 14'
[...]
note: Building targets in dependency order
error: Multiple commands produce '/Users/rob/SideProjects/mot/front/ios/DerivedData/mot/Build/Products/Debug-iphonesimulator/react-native-user-identity/react_native_user_identity.framework/Headers/RNUserIdentity-Swift.h'
note: Target 'react-native-user-identity' (project 'Pods') has copy command from '/Users/rob/SideProjects/mot/front/node_modules/react-native-user-identity/ios/DerivedData/RNUserIdentity/Index/Build/Intermediates.noindex/RNUserIdentity.build/Debug-maccatalyst/RNUserIdentity.build/DerivedSources/RNUserIdentity-Swift.h' to '/Users/rob/SideProjects/mot/front/ios/DerivedData/mot/Build/Products/Debug-iphonesimulator/react-native-user-identity/react_native_user_identity.framework/Headers/RNUserIdentity-Swift.h'
note: Target 'react-native-user-identity' (project 'Pods') has copy command from '/Users/rob/SideProjects/mot/front/node_modules/react-native-user-identity/ios/DerivedData/RNUserIdentity/Index/Build/Intermediates.noindex/RNUserIdentity.build/Debug-maccatalyst/RNUserIdentity.build/Objects-normal/x86_64/RNUserIdentity-Swift.h' to '/Users/rob/SideProjects/mot/front/ios/DerivedData/mot/Build/Products/Debug-iphonesimulator/react-native-user-identity/react_native_user_identity.framework/Headers/RNUserIdentity-Swift.h'
ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk /Users/rob/SideProjects/mot/front/ios/DerivedData/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache
cd /Users/rob/SideProjects/mot/front/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -o /Users/rob/SideProjects/mot/front/ios/DerivedData/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache
[...]
2023-07-24 18:41:10.665 xcodebuild[88159:723109] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **
]
Node.js v20.5.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I don't know how to fix that.
Any pist? @juliandramirez
Hello, I'm using this package with react-native-firebase.
In their documentation, it's specified to set: use_frameworks! :linkage => :static
With this setup, I get the following error even in a fresh project:
I don't know how to fix that. Any pist? @juliandramirez