简体   繁体   English

使用OpenTok CocoaPods的OpenTok Appcelerator模块

[英]OpenTok appcelerator module using OpenTok CocoaPods

I am trying to create Appcelerator module for OpenTok using latest OpenTok module using cocoaPods. 我正在尝试使用cocoaPods使用最新的OpenTok模块为OpenTok创建Appcelerator模块。 Module gets compiled successful and module is created. 模块成功编译并创建模块。 But now when I try to use it sample app it gives below error: 但是现在当我尝试使用它的示例应用程序时,出现以下错误:

[ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Products/Debug-iphonesimulator/SampleApp.app/SampleApp normal x86_64 [ERROR] : (1 failure) [错误]:**建立失败** [错误]:以下构建命令失败:[错误]:Ld构建/产品/Debug-iphonesimulator/SampleApp.app/SampleApp正常x86_64 [错误] :( 1次失败)

When I open the xcode sample project it shows below error: 当我打开xcode示例项目时,它显示以下错误:

ld: framework not found OpenTok clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:找不到框架OpenTok铛:错误:链接器命令失败,退出代码为1(使用-v查看调用)

I have verified that the OpenTok framework exists in specific folder. 我已验证OpenTok框架存在于特定文件夹中。 I have properly set the below parameters in module.xcconfig file FRAMEWORK_SEARCH_PATHS= LD_RUNPATH_SEARCH_PATHS= OTHER_LDFLAGS= 我已经在module.xcconfig文件中正确设置了以下参数FRAMEWORK_SEARCH_PATHS = LD_RUNPATH_SEARCH_PATHS = OTHER_LDFLAGS =

Here is the module and sample code https://ufile.io/bbcbb 这是模块和示例代码https://ufile.io/bbcbb

If somebody can point out what I am missing, would be great help. 如果有人可以指出我的缺失,那将是很大的帮助。

I don't believe you can use CocoaPods with a normal Appcelerator iOS module but it can be done in Titanium using Appcelerator Hyperloop. 我不相信您可以将CocoaPods与普通的Appcelerator iOS模块一起使用,但是可以在Titanium中使用Appcelerator Hyperloop完成。 Take a look at their documentation and let me know if you have any questions. 看看他们的文档,如果您有任何疑问,请告诉我。 Thanks! 谢谢!

http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Hyperloop_Programming_Guide-section-src-46253491_iOSHyperloopProgrammingGuide-CocoaPods http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Hyperloop_Programming_Guide-section-src-46253491_iOSHyperloopProgrammingGuide-CocoaPods

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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