network-international / react-native-ngenius

Other
5 stars 8 forks source link

Build Failed When npm run ios on simulator. #22

Closed Diyaa-Gubarah closed 1 year ago

Diyaa-Gubarah commented 1 year ago

this error occurs when i try to run npm run ios , I don't have Apple Developer Account how to test in simulator.


Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_UChallengeParameters", referenced from:
      objc-class-ref in NISdk(ThreeDSTwoViewController.o)
  "_OBJC_CLASS_$_UConfigParameters", referenced from:
      objc-class-ref in NISdk(NISdk.o)
  "_OBJC_CLASS_$_UUiCustomization", referenced from:
      objc-class-ref in NISdk(NISdk.o)
  "_OBJC_CLASS_$_UDirectoryServer", referenced from:
      objc-class-ref in NISdk(NISdk.o)
  "_OBJC_CLASS_$_UThreeDS2ServiceImpl", referenced from:
      objc-class-ref in NISdk(PaymentViewController.o)
      objc-class-ref in NISdk(NISdk.o)
      objc-class-ref in NISdk(ThreeDSTwoViewController.o)
ld: symbol(s) not found for architecture x86_64
kareem-ali-abdelsalam commented 1 year ago

@mu1ex any updates regarding this issue ?

mu1ex commented 1 year ago

@kareem-ali-abdelsalam, the new version of the SDK cannot be used on simulator. Its a restriction of the EMV Sdk we use.

Diyaa-Gubarah commented 1 year ago

The Apply pay status is failed any idea?

I set all the requirements correctly.

mu1ex commented 1 year ago

Have you setup the certificates in NGenius portal

Diyaa-Gubarah commented 1 year ago

I did that could you please explain more about how I must do that, and if there's any setup required in xcode it self.

mu1ex commented 1 year ago

You will have to add the Apple Pay MID to your entitlements file

Diyaa-Gubarah commented 1 year ago

where I can find this entitlements file I already added Apple Pay using xcode and it's shows me all the MID and I select the one I want.

Could you please explain more.

Thanks.

Diyaa-Gubarah commented 1 year ago

do you mean like this:

<key>com.apple.developer.proximity-reader.payment.acceptance</key> <true/>