Warning The `OneSignalNotificationServiceExtension [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER`
I'm getting this warning while I'm executing pod install
it's not my first time using this library, but this is a new issue that happened on my new Macbook pro with Apple Silicon M1 chip
The `OneSignalNotificationServiceExtension [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-OneSignalNotificationServiceExtension/Pods-OneSignalNotificationServiceExtension.debug.xcconfig'. This can lead to problems with the CocoaPods installationOS: Mac BigSur 11.0.1
RN: 0.64.3 One-Signal: 4.0.3
any idea how to avoid this warning?
Same issue here for the native lib
+1 did someone solve this yet?
+1 Problem with all processors.
same issue here
Howdy! Just to confirm, this is a warning correct? It shouldn't be a blocker
In any case, we will investigate.
Others on this thread, can you please provide environment information?
Also to confirm, this is happening with M1 as well as other processors for all of you?
It is not an M1 issue. Getting the same error on an Intel processor here.
Howdy y'all,
I was able to reproduce. To get rid of this issue, try setting the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to $(inherited) or NO.
The reason this started happening is because XCode 12 now defaults this setting to YES.
Hi @rgomezp , Changed but issue issue still exist.
Mac OS: 11.2.3 Xcode: 12.4 React native: 0.61.5 react-native-onesignal: 4.0.4
Any other solution?
Thanks
- Select the Target (that have warnings) > Build Settings > Search for
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER - Select Other and paste
$(inherited) - Test by
pod install
Closing due to inactivity.
This was closed a while ago, but I recently started getting the same error:
When I install pods the following warning is showing after installation:
[!] The `Runner [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `Runner [Release]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `Runner [Profile]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
After that, I'm setting "Quoted Include in Framework Header" to $(inherited) for both Pods and Target.
When running the target on a simulator, I'm getting the following error:
Showing All Errors Only
/Volumes/sub_1/Flutter-Projects/swift_share/swift_share/ios/Pods/Target Support Files/url_launcher_ios/url_launcher_ios-umbrella.h:13:9: double-quoted include "FLTURLLauncherPlugin.h" in framework header, expected angle-bracketed instead
My Flutter Doctor:
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-SA)
• Flutter version 3.10.2 on channel stable at /Users/wsabg/Public/Programs/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9cd3d0d9ff (3 weeks ago), 2023-05-23 20:57:28 -0700
• Engine revision 90fa3ae28f
• Dart version 3.0.2
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/wsabg/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.79.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.66.0
[✓] VS Code (version 1.64.2)
• VS Code at /Users/wsabg/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.66.0
[✓] VS Code (version 1.77.1)
• VS Code at /Volumes/sub_1/Visual Studio Code.app/Contents
• Flutter extension version 3.66.0
[✓] Connected device (3 available)
• SM N970F (mobile) • R58N83T3JMZ • android-arm64 • Android 12 (API 31)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.106
[✓] Network resources
• All expected network resources are available.
• No issues found!
Also I would like to note that when installing pods, a few libraries are resolving back to version 0.0.1 which is strange as they are different from the version already set.
Solutions I've already tried:
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/Library/Cashes/CocoaPods/
pod deintegrate
pod update
and
Build setting -> Other Linker Flags -> add $(inherited)
Still the error persists, let me know if anyone figured out a solutions for this issue
This was closed a while ago, but I recently started getting the same error:
When I install pods the following warning is showing after installation:
[!] The `Runner [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `Runner [Release]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `Runner [Profile]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.After that, I'm setting "Quoted Include in Framework Header" to $(inherited) for both Pods and Target.
When running the target on a simulator, I'm getting the following error:
Showing All Errors Only /Volumes/sub_1/Flutter-Projects/swift_share/swift_share/ios/Pods/Target Support Files/url_launcher_ios/url_launcher_ios-umbrella.h:13:9: double-quoted include "FLTURLLauncherPlugin.h" in framework header, expected angle-bracketed insteadMy Flutter Doctor:
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-SA) • Flutter version 3.10.2 on channel stable at /Users/wsabg/Public/Programs/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 9cd3d0d9ff (3 weeks ago), 2023-05-23 20:57:28 -0700 • Engine revision 90fa3ae28f • Dart version 3.0.2 • DevTools version 2.23.1 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/wsabg/Library/Android/sdk • Platform android-33, build-tools 32.1.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E222b • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) [✓] VS Code (version 1.79.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] VS Code (version 1.64.2) • VS Code at /Users/wsabg/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] VS Code (version 1.77.1) • VS Code at /Volumes/sub_1/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] Connected device (3 available) • SM N970F (mobile) • R58N83T3JMZ • android-arm64 • Android 12 (API 31) • macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.106 [✓] Network resources • All expected network resources are available. • No issues found!
Also I would like to note that when installing pods, a few libraries are resolving back to version 0.0.1 which is strange as they are different from the version already set.
Solutions I've already tried:
rm -rf ~/Library/Developer/Xcode/DerivedData/ rm -rf ~/Library/Cashes/CocoaPods/ pod deintegrate pod update
and
Build setting -> Other Linker Flags -> add $(inherited)
Still the error persists, let me know if anyone figured out a solutions for this issue
I'm facing the same issue.
This was closed a while ago, but I recently started getting the same error: When I install pods the following warning is showing after installation:
[!] The `Runner [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `Runner [Release]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `Runner [Profile]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.After that, I'm setting "Quoted Include in Framework Header" to $(inherited) for both Pods and Target. When running the target on a simulator, I'm getting the following error:
Showing All Errors Only /Volumes/sub_1/Flutter-Projects/swift_share/swift_share/ios/Pods/Target Support Files/url_launcher_ios/url_launcher_ios-umbrella.h:13:9: double-quoted include "FLTURLLauncherPlugin.h" in framework header, expected angle-bracketed insteadMy Flutter Doctor:
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-SA) • Flutter version 3.10.2 on channel stable at /Users/wsabg/Public/Programs/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 9cd3d0d9ff (3 weeks ago), 2023-05-23 20:57:28 -0700 • Engine revision 90fa3ae28f • Dart version 3.0.2 • DevTools version 2.23.1 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/wsabg/Library/Android/sdk • Platform android-33, build-tools 32.1.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E222b • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) [✓] VS Code (version 1.79.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] VS Code (version 1.64.2) • VS Code at /Users/wsabg/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] VS Code (version 1.77.1) • VS Code at /Volumes/sub_1/Visual Studio Code.app/Contents • Flutter extension version 3.66.0 [✓] Connected device (3 available) • SM N970F (mobile) • R58N83T3JMZ • android-arm64 • Android 12 (API 31) • macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.106 [✓] Network resources • All expected network resources are available. • No issues found!
Also I would like to note that when installing pods, a few libraries are resolving back to version 0.0.1 which is strange as they are different from the version already set. Solutions I've already tried: rm -rf ~/Library/Developer/Xcode/DerivedData/ rm -rf ~/Library/Cashes/CocoaPods/ pod deintegrate pod update and Build setting -> Other Linker Flags -> add $(inherited) Still the error persists, let me know if anyone figured out a solutions for this issue
I'm facing the same issue.
I have the same problem, my project run Flutter 3.16.5 and flutter_onesignal 3.4.1.
Sorry for my english, the problem shows when I try compile my app (run into the iOS simulator), and my debug console show "The OneSignalNotificationServiceExtension [Debug] target overrides the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER build setting defined in `Pods/Target Support Files/Pods-OneSignalNotificationServiceExten.....", I disscomment this line: " OneSignal.shared.setLogLevel(OSLogLevel.verbose, OSLogLevel.none);", and this is all, the app runs again.
I'm not saying this is the solution, but for the moment it solves.
I have the same issue
- Select the Target (that have warnings) > Build Settings > Search for
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER- Select Other and paste
$(inherited)- Test by
pod install
I did as he said, then I had a problem with the order of the Build Phase in the Runner so I moved Embed app extensions before The Binary and everything went well.
references: [forums.developer.apple.com](https://forums.developer.apple.com/forums/thread/730974?answerId=755002022#755002022) https://github.com/firebase/flutterfire/issues/4133
Select the Target (that have warnings) > Build Settings > Search for
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
Select Other and paste
$(inherited)Test by
pod install
this part works for me, big thanks
