React-native-onesignal: Warning The `OneSignalNotificationServiceExtension [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER`

Created on 29 Jan 2021  ·  10Comments  ·  Source: OneSignal/react-native-onesignal

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?

Help Wanted Reproducible dependencies iOS

Most helpful comment

  1. Select the Target (that have warnings) > Build Settings > Search for CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
  2. Select Other and paste $(inherited)
  3. Test by pod install

All 10 comments

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

  1. Select the Target (that have warnings) > Build Settings > Search for CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
  2. Select Other and paste $(inherited)
  3. Test by pod install

Closing due to inactivity.

Was this page helpful?
0 / 5 - 0 ratings