简体   繁体   中英

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?

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

在此处输入图片说明

Please add libz.tbd in binary Link Binary

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM