These warnings typically appear when your Notification Service Extension target's build settings are overriding the configurations provided by CocoaPods. This can lead to potential issues with your build.
To resolve this, you need to modify your target's build settings in Xcode to inherit the configurations from CocoaPods:
- In Xcode, select your project in the Project Navigator.
- Select your Notification Service Extension target from the list of targets.
- Click on the Build Settings tab.
- In the search bar, find the build settings mentioned in the warning messages (e.g.,
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER,CLANG_CXX_LANGUAGE_STANDARD). - For each setting, double-click its value to edit it. Add
$(inherited)to the beginning of the line. This ensures that the settings from the CocoaPods configuration file (.xcconfig) are included along with your custom settings. - After applying
$(inherited)to all the settings mentioned in the warnings, clean your build folder (Product > Clean Build Folder) and rebuild your project.
Comments
0 comments
Please sign in to leave a comment.