You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep getting error: Double-quoted include “<something.h>” in framework header, expected angle-bracketed instead — Error
I've tried every solution I found this weekend but nothing has solved the issue. It is related to cordova in the project.
This is my podfile:
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/camera'
pod 'CapacitorGeolocation', :path => '../../node_modules/@capacitor/geolocation'
end
target 'App' do
capacitor_pods
Add your Pods here
end
post_install do |installer|
assertDeploymentTarget(installer)
end
Expected Behavior
I expect the app to build in xcode but my builds fail every time. The errors in the images is what it always circles back to but sometimes I changed something and I get diffrent errors, but end up back here even though I set "quoted include in Framework Header" to "no" in pods. under build settings.
rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod update
in the directory with your Podfile. This might mess things up, so be sure that everything you have now is checked into source control or backed up in some way.
I fixed it at last, it might have been something iffy with the file structure because I had to remake the whole project. Thanks for the response @markemer =)
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/core: 6.1.2
@capacitor/cli: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
Keep getting error: Double-quoted include “<something.h>” in framework header, expected angle-bracketed instead — Error
I've tried every solution I found this weekend but nothing has solved the issue. It is related to cordova in the project.
This is my podfile:
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
platform :ios, '13.0'
use_frameworks!
Requires CocoaPods 1.6 or newer
install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/camera'
pod 'CapacitorGeolocation', :path => '../../node_modules/@capacitor/geolocation'
end
target 'App' do
capacitor_pods
Add your Pods here
end
post_install do |installer|
assertDeploymentTarget(installer)
end
Expected Behavior
I expect the app to build in xcode but my builds fail every time. The errors in the images is what it always circles back to but sometimes I changed something and I get diffrent errors, but end up back here even though I set "quoted include in Framework Header" to "no" in pods. under build settings.
Project Reproduction
https://github.com/ellinorlindstrom/stride-quest
Additional Information
Please get back to me if you need any other information, thanks!
The text was updated successfully, but these errors were encountered: