ramkumars24
ramkumars24

Reputation: 11

Paytm integration iOS - linker command failed with exit code 1 (use -v to see invocation) error

I tried to integrate PAYTM in my project. The following are the steps I have done for integration. I have dragged and dropped these files to my project:

libPaymentsSDK_v2.0.a,
PaymentsSDK.h,
PGMerchantConfiguration.h, PGOrder.h,
PGServerEnvironment.h,
PGTransactionViewController.h

Its working fine when I run in simulator but when I try to take build in Xcode by Product-Archive it shows error:

linker command failed with exit code 1 (use -v to see invocation) error

I have cleaned the derived data and tried. I have all the .m files imported correctly in Compile sources and tried, but still the same issue

How can I solve it?

Upvotes: 0

Views: 479

Answers (2)

ramkumars24
ramkumars24

Reputation: 11

Issue solved. I have set Build Settings>Build Options> Enable Bitcode to NO

Upvotes: 1

Vinay Kumar
Vinay Kumar

Reputation: 107

enter image description here

Please add libz.tbd in binary Link Binary

Upvotes: 0

Related Questions