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

[Bug]: Double-quoted include “<something.h>” in framework header, expected angle-bracketed instead — Error #7727

Open
1 of 3 tasks
ellinorlindstrom opened this issue Oct 20, 2024 · 4 comments
Labels

Comments

@ellinorlindstrom
Copy link

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

npm version: 10.5.0
node version: v20.12.0
1.15.2

Platforms Affected

  • iOS
  • Android
  • Web

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.
Screenshot 2024-10-20 at 18 37 26

Project Reproduction

https://github.com/ellinorlindstrom/stride-quest

Additional Information

Please get back to me if you need any other information, thanks!

@ellinorlindstrom
Copy link
Author

CocoaPods version: 1.15.2

@markemer
Copy link
Member

markemer commented Nov 6, 2024

What Xcode are you building with?

@markemer
Copy link
Member

markemer commented Nov 6, 2024

Could be a recurrence of this bug CocoaPods/CocoaPods#9902

Maybe try:

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.

@ellinorlindstrom
Copy link
Author

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 =)

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

No branches or pull requests

2 participants