Linker Errors in XCode

Hello,

I am experiencing these linker errors and I'm getting out of ideas. Did anyone encounter stuff like this in the past.

  "_X509_STORE_add_cert", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_ASN1_get_object", referenced from:
      +[RMAppReceipt enumerateASN1Attributes:length:usingBlock:] in RMAppReceipt.o
      _RMASN1ReadInteger in RMAppReceipt.o
      _RMASN1ReadString in RMAppReceipt.o
  "_BIO_new", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_BIO_free", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_X509_free", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_OPENSSL_init_crypto", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_d2i_X509", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_PKCS7_verify", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_d2i_PKCS7_fp", referenced from:
      +[RMAppReceipt dataFromPCKS7Path:] in RMAppReceipt.o
  "_X509_STORE_new", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_OBJ_obj2nid", referenced from:
      +[RMAppReceipt dataFromPCKS7Path:] in RMAppReceipt.o
  "_X509_STORE_free", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_BIO_s_mem", referenced from:
      +[RMAppReceipt verifyPCKS7:withCertificateData:] in RMAppReceipt.o
  "_PKCS7_free", referenced from:
      +[RMAppReceipt dataFromPCKS7Path:] in RMAppReceipt.o
  "_SHA1", referenced from:
      -[RMAppReceipt verifyReceiptHash] in RMAppReceipt.o
     (maybe you meant: _HashAlgorithmName_get_SHA1_m356FC989D0CADA971C92FEAF920453320CDD37BA_MetadataUsageId, _SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA_1_0_0 , _SHA1Managed__HashData_m663DE590C3C4D95F79C701CB6AD1A5C9347ED47B , _SHA1Managed_HashCore_m30E6B29FD4FA0C95772B90D3EF63770CF49F5B86 , _SHA1Managed_Initialize_m9D3AFA2C0D5404791E57882D2AB2E3EE9592CA8D , _SHA1Internal_InitialiseBuff_m33C43145BF7D653E1DA6862C63F231D6F2A5F4B9 , _SHA1Internal_FillBuff_m89617E6F772A48B783C252E2B13CF7EC332D47A5 , _SHA1CryptoServiceProvider_HashFinal_m9220EA07ED89F834AD3919D23B9DD1CDD2F11D6E , _SHA1Internal_HashCore_m285AAE14A52B033FB20F2AE461292D3E05D28E00 , _SHA1CryptoServiceProvider_Dispose_mBF45B29CE981661F827D2DFB3707B770B4F5F9F1 , _SHA1Internal__ctor_m524171308FE5EE3D7EA0C6AA4ADF85272FAEA704 , _SHA1CryptoServiceProvider__ctor_mBF42658CD66193D7FF26F04B4FFB81BB385C5A6F , _SHA1__ctor_m486DF279B75AC20B01C6DCC6FA382FFF5DF125D6 , _SHA1Managed__ctor_m7565B5C5B9F0B2A4BECF3B704D87C865FCDEF358 , _SHA1_Create_m5ECE86DE88BB9CDD4674000066642BA7FDF466E4 , _SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA_0_0_0 , _SHA1Internal_tD24028EB5FF6AAA8B128158A3EFDCCA6F4E14BF8_0_0_1 , _SHA1CryptoServiceProvider_Initialize_m54DA1BE82C74CBB56262C33D012EF21C0FE88313 , _SHA1Managed_HashFinal_mFC4A0D3FC9BDE59CC5E9EB7355788CCC57A6EB06 , _SHA1Managed_SHATransform_m90E01B259FE56C5B4BA7FBCEF60CAFF1C3E4CFEA , _SHA1Internal_tD24028EB5FF6AAA8B128158A3EFDCCA6F4E14BF8_1_0_0 , _SHA1Internal_HashFinal_m99F015D205DD966CB88612253C02C698064E76CF , _SHA1Managed_t50D9E35F6A7A9656CC48CC0C62528738074DA60D_0_0_0 , _SHA1Internal_tD24028EB5FF6AAA8B128158A3EFDCCA6F4E14BF8_0_0_0 , _SHA1Internal__ctor_m524171308FE5EE3D7EA0C6AA4ADF85272FAEA704_MetadataUsageId , _SHA1_Create_m5ECE86DE88BB9CDD4674000066642BA7FDF466E4_MetadataUsageId , _SHA1_Create_m5263A2C3FC6E087DFE8A54E26C120AF4F3667B30_MetadataUsageId , _SHA1Managed__EndHash_m1FB49AF68EA0DF58DC97175732C6FF20554D20F5_MetadataUsageId , _SHA1Internal_ProcessFinalBlock_mBF97ABC1C27E7C6067DBC3D982F71A47BFCBCC55_MetadataUsageId , _SHA1Internal_HashFinal_m99F015D205DD966CB88612253C02C698064E76CF_MetadataUsageId , _SHA1CryptoServiceProvider__ctor_mBF42658CD66193D7FF26F04B4FFB81BB385C5A6F_MetadataUsageId , _SHA1Internal_ProcessBlock_m1FBBBCA38EF1958B6315161EFA1981101B3C7DC8 , _SHA1CryptoServiceProvider_tF3A493DFC009205F21B4C52C53B4B29477601D6D_il2cpp_TypeInfo_var , _SHA1Managed_t50D9E35F6A7A9656CC48CC0C62528738074DA60D_il2cpp_TypeInfo_var , _SHA1Internal_tD24028EB5FF6AAA8B128158A3EFDCCA6F4E14BF8_il2cpp_TypeInfo_var , _SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA_il2cpp_TypeInfo_var , _SHA1Managed_InitializeState_m8E78B20525F13DDCCBDA45849D93D16FC909D5A7 , _SHA1Managed__ctor_m7565B5C5B9F0B2A4BECF3B704D87C865FCDEF358_RuntimeMethod_var , _SHA1_Create_m5263A2C3FC6E087DFE8A54E26C120AF4F3667B30 , _SHA1Managed__ctor_m7565B5C5B9F0B2A4BECF3B704D87C865FCDEF358_MetadataUsageId , _SHA1Managed_SHATransform_m90E01B259FE56C5B4BA7FBCEF60CAFF1C3E4CFEA_MetadataUsageId , _SHA1CryptoServiceProvider_tF3A493DFC009205F21B4C52C53B4B29477601D6D_1_0_0 , _SHA1Internal_AddLength_mF753A968068F3E32B94624249E572656FFF505DC , _SHA1Managed__EndHash_m1FB49AF68EA0DF58DC97175732C6FF20554D20F5 , _SHA1Managed_t50D9E35F6A7A9656CC48CC0C62528738074DA60D_1_0_0 , _SHA1CryptoServiceProvider_HashCore_m8443CE2F406CB0A7FC5B17DB2C9C2F2CFCB02785 , _SHA1Internal_Initialize_m893B8665217D5377F8BC0C1C26F575FF5D214AA6 , _SHA1Internal_ProcessFinalBlock_mBF97ABC1C27E7C6067DBC3D982F71A47BFCBCC55 , _SHA1CryptoServiceProvider_tF3A493DFC009205F21B4C52C53B4B29477601D6D_0_0_0 , _HashAlgorithmName_get_SHA1_m356FC989D0CADA971C92FEAF920453320CDD37BA , _SHA1CryptoServiceProvider_Finalize_m77813254588DE1544604B27C01E4A24B42E0DF37 , _SHA1Managed_SHAExpand_mE1020004B0A1404B0C6D0E32A16488DFF1FAC78A )
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks in advance!

It looks like you are using the RMStore project from GitHub. It seems to depend on OpenSSL. Plus, it hasn't been updated in years.

There might be legal problem too. The last time I checked, if you link your app to OpenSSL, you will need special authorization from France to sell in the French App Store.

Linker Errors in XCode
 
 
Q