【问题标题】:What can be the values for Heder_Search_Paths and Library_Search_Paths for UrbanAirship?UrbanAirship 的 Heder_Search_Paths 和 Library_Search_Paths 的值是多少?
【发布时间】:2012-02-15 12:04:42
【问题描述】:

我已经在我的应用程序中实现了 UrbanAirship(使用 libUAirship-1.1.1.a)。

我已经指定了

的值
   Header_Search_Paths=../Airship/**  (as reqursive)

并且没有指定任何值

  Library_Search_Paths

但是我收到了一个错误,比如-

  ld: library not found for -lUAirship-1.1.1
  Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

有什么解决办法?我正在等待答案。

谢谢..

【问题讨论】:

    标签: iphone objective-c ios5 xcode4.2 urbanairship.com


    【解决方案1】:

    不需要Library Search Path,但您可以尝试使用-all_load-ObjC。否则你可以试试this link。并确保您已添加所有框架。

    【讨论】:

    • @Devang- 感谢重播。我试过“这个链接”,我也添加了所有的框架。但我仍然遇到错误。我们必须将“libUAirship 1.1.1.a”库文件放在哪个目录中?编译器或模拟器有什么需要我们做的设置吗?
    • @Rohan :您必须从您在项目中添加的 Urbanairship 目录中添加 libUAirship*。
    猜你喜欢
    • 2011-10-22
    • 1970-01-01
    • 2023-03-13
    • 2011-01-24
    • 2013-04-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多