Skip to content

property 'identifier' not found on object of type 'SKProductDiscount *' #10

Description

@JonasJW

I get this error when running on an iOS Simulator

Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'in_app_purchase')
    warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'in_app_purchase')
    warning: Capabilities for Runner may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'Runner')
    /Users/jonas/Projects/ProjectFit/mobile/training_hub_flutter/ios/Pods/Purchases/Purchases/RCPromotionalOffer.m:21:48: error: property 'identifier' not found on object of type 'SKProductDiscount *'
            self.offerIdentifier = productDiscount.identifier;
                                                   ^
    1 error generated.
    note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions