bug: Enabling Apple Clang Module Verifier
Bug Report
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 4.7.3
@capacitor/core: 4.7.3
@capacitor/android: 4.7.3
@capacitor/ios: 4.7.3
Installed Dependencies:
@capacitor/cli: 4.7.3
@capacitor/core: 4.7.3
@capacitor/android: 4.7.3
@capacitor/ios: 4.7.3
[success] iOS looking great! 👌
[success] Android looking great! 👌
Platform(s)
- [ ] ios
Current Behavior
Xcode build fails with error
double-quoted include "CDVViewController.h" in framework header, expected angle-bracketed instead
double-quoted include "CDVPlugin.h" in framework header, expected angle-bracketed instead
double-quoted include "CDVConfigParser.h" in framework header, expected angle-bracketed instead
......
and all Capacitor ios files
where code written like
#import "CDVPlugin.h"
#import "CDVConfigParser.h"
#import "CDVCommandDelegate.h"
Expected Behavior
Build should successfully pass
Code Reproduction
Other Technical Details
npm --version output: 9.2.0
node --version output: v18.12.1
pod --version output (iOS issues only): 1.12.0
XCode version output (iOS issues only): Version 14.3 (14E222b)
Additional Context
Enabling Apple Clang Module Verifier is Xcode recommendation
Hi, i have the same problem. Have you find a solution? thx
@ohlive No, I'm just skipping Xcode recommendations. It always staying recommeded
just rebuild ionic app again and do not apply Xcode recommendations.
To my side, i cant ignore this. I disabled "Quoted include in framework" to xcode settings, my build failed anyway. I don't know what I should do
try to disable it
@qliqdev Really thanks you, its ok now. Im not really familiar to Xcode so thanks again.
I find your recommendation here :
Same here when attempting to perform changes, I rebuilt the project and skipped this to bypass the issue
I deleted my ios folder, did npm cap add ios again, then npm cap open ios, ignored the "Recommended setting updates" and it built successfully 🥳
Yes, I had to do this for all of the Capacitor "targets". Annoying, but it builds and runs again in the emulator.
@qliqdev Really thanks you, its ok now. Im not really familiar to Xcode so thanks again.
I find your recommendation here :
