LayarPlayer - LPAugmentedRealityViewController 在 iphone 上构建问题
我正在尝试让 LayarPlayer SDK 工作,但我卡住了。无论我做什么,我都会不断收到此警告。我已经遵循了那里的“指南”,但没有帮助。这里有人可以帮忙吗?
“_OBJC_CLASS_$_LPAugmentedRealityViewController”,引用自:
FirstViewController.o 中的 objc-class-ref-to-LPAugmentedRealityViewController
ld:未找到符号
collect2:ld 返回 1 退出状态
I´m trying to get the LayarPlayer SDK to work but i im stuck. I´ll keep getting this warning no matter what i do. I have followed there "guide" but it doesnt help. Anyone here who can help?
"_OBJC_CLASS_$_LPAugmentedRealityViewController", referenced from:
objc-class-ref-to-LPAugmentedRealityViewController in FirstViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在我看来,您需要链接到二进制库。在 Xcode 中,转到“组和文件”(默认布局中的左侧面板)。然后右键添加现有框架->添加其他...找到并选择“Release”目录中的liblayarplayer.a。
Seems to me you need to link to the binary library. In Xcode go "Groups & Files" (left panel in the default layout). Then right click on Add Existing Frameworks->Add Other ... locate and select liblayarplayer.a in the "Release" directory.
您似乎没有准确添加他们的库,或者您可能没有使用 #import 相应地导入适当的文件。
请发布您的 FirstViewContoller.m 的代码
It seems that you have not accurately added their library, or you might not be importing the appropriate files accordingly using #import.
Please post the code of your FirstViewContoller.m