gpt4 book ai didi

ios - 使用 Google Calendar API 加载库 - Obj C

转载 作者:可可西里 更新时间:2023-11-01 03:45:24 26 4
gpt4 key购买 nike

dyld: Library not loaded: @loader_path/../Frameworks/GTL.framework/GTL Referenced from: /var/mobile/Containers/Bundle/Application/2EE31349-7221-47AF-83E7-7B172F5ED6AD/MyApp.app/MyApp Reason: image not found

我试过将 GTL.framework 添加到 Embedded Binaries 但这没有帮助。知道什么可能是错的。我创建了一个工作区并完全按照教程中给出的说明进行操作:https://developers.google.com/google-apps/calendar/quickstart/ios

它在模拟器上运行良好,但当我尝试在我的设备上运行时出现上述错误。有什么想法吗?

我正在运行 Xcode 7.2.1 和 iOS 9.2

编辑

我已经尝试将 GTLiOSCore 的安装路径更改为 @executable_path/../Frameworks 但这并没有解决任何问题。

最佳答案

GTLiOSCore 目标中,转到 Build Settings 并将 Installation Directory 更改为:@executable_path/Frameworks

您还可以验证主项目的 Runpath Search Paths 属性是否包含 @executable_path/Frameworks

我尝试了其他几种组合,但由于某些原因当安装路径包含/../ 时动态链接编辑器(dyld) 无法找到GTL.framework。

关于ios - 使用 Google Calendar API 加载库 - Obj C,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35169089/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com