I’ve a webapp created in Vue.js. Through the use of Capacitor, it’s ported to android the place it was examined and works seamlessly. I additionally tried to set it up on iOS, however after profitable constructing, it terminates instantly with a SIGABRT, and outputs the error that it couldn’t load any of the Capacitor libraries within the construct folder.
I’ve the next Podfile put in:
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
platform :ios, '13.0'
use_frameworks!
set up! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/digicam'
pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
finish
goal 'App' do
capacitor_pods
finish
post_install do |installer|
assertDeploymentTarget(installer)
finish
The relative paths for the Capacitor folders are right.
After that, I opened the undertaking in Xcode and after some configurations, the app builds efficiently, however as quickly as I attempt to begin and simulate it, it fails with the next error:
dyld[14090]: Library not loaded: @rpath/Capacitor.framework/Capacitor
Referenced from: <56B96A3F-7B7F-374E-B1D5-D23A07AC84EE> /Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/App.debug.dylib
Motive: tried: '/Customers/martontoth/Library/Developer/Xcode/DerivedData/App-fswzvuauecnneohjcmrldgxdpzfz/Construct/Merchandise/Debug-iphonesimulator/Capacitor.framework/Capacitor' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Sources/RuntimeRoot/usr/lib/swift/Capacitor.framework/Capacitor' (no such file), '/usr/lib/swift/Capacitor.framework/Capacitor' (no such file, not in dyld cache), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Capacitor.framework/Capacitor' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Sources/RuntimeRoot/usr/lib/swift/Capacitor.framework/Capacitor' (no such file), '/usr/lib/swift/Capacitor.framework/Capacitor' (no such file, not in dyld cache), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Capacitor.framework/Capacitor' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Sources/RuntimeRoot/usr/lib/swift/Capacitor.framework/Capacitor' (no such file), '/usr/lib/swift/Capacitor.framework/Capacitor' (no such file, not in dyld cache), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Customers/martontoth/Library/Developer/CoreSimulator/Gadgets/2B165691-E1C2-4D0D-BAED-3022A689D026/information/Containers/Bundle/Software/7165A92D-5BDB-48A6-B46C-C783AD26D9A7/App.app/Frameworks/Capacitor.framework/Capacitor' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22C150/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.2.simruntime/Contents/Sources/RuntimeRoot/System/Library/Frameworks/Capacitor.framework/Capacitor' (no such file)
Within the goal app’s construct settings I additionally added @executable_path/Frameworks to Runtime Search Paths.
Once I verify the construct folder, it doesn’t have the Frameworks folder created in any respect.
What else am I lacking to configure?