dyld:未找到符号:___NSDictionary0__当在XCode 7&中将Google ServiceGenerator二进制文件与发现文档一起使用时iOS目标9.0 [英] dyld: Symbol not found: ___NSDictionary0__ when using google ServiceGenerator binary with discovery docs in XCode 7 & iOS target 9.0

查看:72
本文介绍了dyld:未找到符号:___NSDictionary0__当在XCode 7&中将Google ServiceGenerator二进制文件与发现文档一起使用时iOS目标9.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google serviceGenerator从Google后端生成客户端API代码,并将发现文档作为输入.以下是确切的命令:

I'm trying to generate client API code from Google backend using Google serviceGenerator with discovery document as input. Following is the exact command :

/Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator ./userRecordApi-v1-rpc.discovery --outputDir ~/API

但是,我看到以下错误

dyld: Symbol not found: ___NSDictionary0__
  Referenced from: /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator (which was built for Mac OS X 10.11)
  Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 in /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator
Trace/BPT trap: 5

任何帮助将不胜感激.

Any help would greatly be appreciated.

谢谢, 拉贾

推荐答案

使CoreFoundation框架可选对我有用.如果未在库列表中列出它,则将其添加,然后使其可选.

Making the CoreFoundation framework optional worked for me. If it is not listed in libraries list add it and then make it optional.

这篇关于dyld:未找到符号:___NSDictionary0__当在XCode 7&中将Google ServiceGenerator二进制文件与发现文档一起使用时iOS目标9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆