[英]Paytm integration iOS - linker command failed with exit code 1 (use -v to see invocation) error
I tried to integrate PAYTM in my project. 我试图将PAYTM集成到我的项目中。 The following are the steps I have done for integration.
以下是我为集成所做的步骤。 I have dragged and dropped these files to my project:
我将这些文件拖放到了我的项目中:
libPaymentsSDK_v2.0.a,
libPaymentsSDK_v2.0.a,
PaymentsSDK.h,PaymentsSDK.h,
PGMerchantConfiguration.h, PGOrder.h,PGMerchantConfiguration.h,PGOrder.h,
PGServerEnvironment.h,PGServerEnvironment.h,
PGTransactionViewController.hPGTransactionViewController.h
Its working fine when I run in simulator but when I try to take build in Xcode by Product-Archive it shows error: 当我在模拟器中运行时,它的工作正常,但是当我尝试通过Product-Archive在Xcode中进行构建时,它显示错误:
linker command failed with exit code 1 (use -v to see invocation) error
链接器命令失败,退出代码为1(使用-v查看调用)错误
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 我已将所有
.m
文件正确导入到“编译”源中并进行了尝试,但是仍然存在相同的问题
How can I solve it? 我该如何解决?
Issue solved. 问题已解决。 I have set Build Settings>Build Options> Enable Bitcode to NO
我已将“构建设置”>“构建选项”>“ 启用位码 ”设置为“ 否”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.