Skip to content

Linker error when including VerifyStoreReceipt.h into .mm #5

@gabortoth

Description

@gabortoth

if you include VerifyStoreReceipt.h into an AppDelegate.mm the linking will fail with this message:

Undefined symbols for architecture armv7:
"verifyReceiptAtPath(NSString*)", referenced from:
-[AppDelegate validateReceipt:tryAgain:] in AppDelegate.o
ld: symbol(s) not found for architecture armv7

Other architectures fail also. This can easily be reproduced by changing the example projects appdelegates file extension from .m to .mm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions