问题
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?
回答1:
Issue solved. I have set Build Settings>Build Options> Enable Bitcode to NO
回答2:
Please add libz.tbd in binary Link Binary
来源:https://stackoverflow.com/questions/43492281/paytm-integration-ios-linker-command-failed-with-exit-code-1-use-v-to-see-in