-
Notifications
You must be signed in to change notification settings - Fork 893
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
[Objective-C - Cocoapods] Build failure since version 2.33.1 (AWSPinpointTargetingModel.h) #5504
Comments
It is worth noting that I use cocoapods to manage awspinpoint in the framework |
I have no problem using it in the demo app |
Hello, Would you be able to provide more details of your use case of using |
I can't provide more information because my project is complicated. I just reference AWSPinpoint in a Framework, and then call this Framework in the app. This Framework and the app are managed using xcworkspace. Do I need to set something in the Framework configuration to remove this error? I used version 2.5.2 without any problems, and the latest version 2.40.1 also has this error |
I suspect using Cocoapods to manage AWSPinpoint to be the issue. Could you please try the steps mentioned here to use AWSPinpoint in a framework? |
I have tried not using Cocoapods but it doesn't work |
Describe the bug
Since version 2.33.1 I got a double error in AWSPinpointTargetingModel.h (line 2611) using Objective-C (Cocoapods).
It seems that the word "operator" can't be used for name of a variable.
To Reproduce
Steps to reproduce the behavior:
Build
See errors
Code Snippet https://github.com/Property (nonatomic, assign) AWSPinpointTargetingOperator operator;
Environment(please complete the following information):
Dependency Manager: Cocoapods
Swift Version : Objective-C
Xcode Version: 16.0
Device Information (please complete the following information):
Device: iPhone14Pro
iOS Version: iOS 16.1
iPhone Device:
Relevant Console Output
Pods/Headers/Public/AWSPinpoint/AWSPinpointTargetingModel.h:2403:68: Expected a type
Pods/Headers/Public/AWSPinpoint/AWSPinpointTargetingModel.h:2403:1: Property requires fields to be named
The text was updated successfully, but these errors were encountered: