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

LCRCore.framework/LCRCore' (no such file) #33

Open
akash-mahalo opened this issue Jan 31, 2025 · 0 comments
Open

LCRCore.framework/LCRCore' (no such file) #33

akash-mahalo opened this issue Jan 31, 2025 · 0 comments

Comments

@akash-mahalo
Copy link

Not able to run this on iOS.

`# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', dir]).strip

platform :ios, 15.1
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end

target 'TestSquarePayment' do
config = use_native_modules!

use_react_native!(
:path => config[:reactNativePath],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"

target 'TestSquarePaymentTests' do
inherit! :complete
# Pods for testing
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)
end
end
`

Error:

dyld[13092]: Library not loaded: @rpath/LCRCore.framework/LCRCore Referenced from: <4BC584A6-5D42-3E93-8F19-97DE03266E46> /Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/MockReaderUI.framework/MockReaderUI Reason: tried: '/Users/akashsajjan/Library/Developer/Xcode/DerivedData/TestSquarePayment-aisrxafyflpjngatgmgtazmankjy/Build/Products/Debug-iphonesimulator/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LCRCore.framework/LCRCore' (no such file)Library not loaded: @rpath/LCRCore.framework/LCRCore Referenced from: <E483070D-96F8-30A7-A695-D090A231D705> /Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/SquareMobilePaymentsSDK.framework/SquareMobilePaymentsSDK Reason: tried: '/Users/akashsajjan/Library/Developer/Xcode/DerivedData/TestSquarePayment-aisrxafyflpjngatgmgtazmankjy/Build/Products/Debug-iphonesimulator/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/LCRCore.framework/LCRCore' (no such file), '/usr/lib/swift/LCRCore.framework/LCRCore' (no such file, not in dyld cache), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Users/akashsajjan/Library/Developer/CoreSimulator/Devices/DB06B35A-418A-4AAC-B12C-17DD36B3B38D/data/Containers/Bundle/Application/2D331612-EE17-47BB-A27C-1E1D78C4289F/TestSquarePayment.app/Frameworks/LCRCore.framework/LCRCore' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LCRCore.framework/LCRCore' (no such file)

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

No branches or pull requests

1 participant