Parsing 解析&;红移

Parsing 解析&;红移,parsing,sdk,rubymotion,Parsing,Sdk,Rubymotion,我无法让parse与rubymotion一起工作。我试着使用cocoapod并出售这个项目。我一定错过了一些琐碎的事情。对我来说,理想的情况是使用pod,而不是出售项目,但我会使用任何我能设法开始工作的方法 我一直在用豆荚,所以我不认为我的椰子豆荚设置会把任何事情搞砸。当我尝试使用以下设置我的应用程序id和客户端密钥时,会发生此设置的运行时错误: Parse.setApplicationId('xxx', clientKey:'yyy') 我知道这家伙: app_delegate.rb:6:i

我无法让parse与rubymotion一起工作。我试着使用cocoapod并出售这个项目。我一定错过了一些琐碎的事情。对我来说,理想的情况是使用pod,而不是出售项目,但我会使用任何我能设法开始工作的方法

我一直在用豆荚,所以我不认为我的椰子豆荚设置会把任何事情搞砸。当我尝试使用以下设置我的应用程序id和客户端密钥时,会发生此设置的运行时错误:

Parse.setApplicationId('xxx', clientKey:'yyy')
我知道这家伙:

app_delegate.rb:6:in `application:didFinishLaunchingWithOptions:': uninitialized constant AppDelegate::Parse (NameError)
我多次尝试删除我的供应商目录和“rake clean”。如果有人能看看这一点,看看你是否能坚持下去,我将不胜感激

在另一个场景中,我将Parse添加为一个供应商项目。我还添加了一些.dylib和框架。当我尝试运行此版本时,会出现以下编译时错误:

Build ./build/iPhoneSimulator-6.0-Development
     Build vendor/Parse.framework
   Compile ./app/app_delegate.rb
    Create ./build/iPhoneSimulator-6.0-Development/test.app
      Link ./build/iPhoneSimulator-6.0-Development/test.app/test
Undefined symbols for architecture i386:
  "_ACAccountTypeIdentifierFacebook", referenced from:
      +[PF_FBSession renewSystemAuthorization] in Parse(PF_FBSession.o)
  "_ACFacebookAppIdKey", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_ACFacebookAudienceEveryone", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_ACFacebookAudienceFriends", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_ACFacebookAudienceKey", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_ACFacebookAudienceOnlyMe", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_ACFacebookPermissionsKey", referenced from:
      -[PF_FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:] in Parse(PF_FBSession.o)
  "_OBJC_CLASS_$_ACAccountStore", referenced from:
      objc-class-ref in Parse(PF_FBSession.o)
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in Parse(PF_FBSettings.o)
  "_OBJC_CLASS_$_CLLocationManager", referenced from:
      objc-class-ref in Parse(PFLocationManager.o)
  "_OBJC_CLASS_$_SKPayment", referenced from:
      objc-class-ref in Parse(PFPurchase.o)
  "_OBJC_CLASS_$_SKPaymentQueue", referenced from:
      objc-class-ref in Parse(PFPurchase.o)
      objc-class-ref in Parse(PFPaymentTransactionObserver.o)
  "_OBJC_CLASS_$_SKProductsRequest", referenced from:
      objc-class-ref in Parse(PFPurchase.o)
  "_OBJC_CLASS_$_SLComposeViewController", referenced from:
      objc-class-ref in Parse(PF_FBNativeDialogs.o)
  "_SLServiceTypeFacebook", referenced from:
      +[PF_FBNativeDialogs composeViewControllerWithSession:handler:] in Parse(PF_FBNativeDialogs.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command failed with status (1): [/Applications/Xcode.app/Contents/Developer...]
/Library/RubyMotion/lib/motion/project/builder.rb:386:in `build'
/Library/RubyMotion/lib/motion/project/app.rb:72:in `build'
/Library/RubyMotion/lib/motion/project.rb:51:in `block (2 levels) in <top (required)>'
/Users/pachun/.rvm/gems/ruby-1.9.3-p327@motion/bin/ruby_noexec_wrapper:14:in `eval'
/Users/pachun/.rvm/gems/ruby-1.9.3-p327@motion/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)
Build./Build/iPhoneSimulator-6.0-Development
构建供应商/Parse.framework
编译./app/app_delegate.rb
创建./build/iPhoneSimulator-6.0-Development/test.app
链接./build/iPhoneSimulator-6.0-Development/test.app/test
架构i386的未定义符号:
“\u accountTypeIdentifierFaceBook”,引用自:
+解析(PF_FBSession.o)中的[PF_FBSession续订系统授权]
“\ACFacebookAppIdKey”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“ACFacebookAudienceEveryone”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“ACFacebookAudienceFriends”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“ACFacebookAudienceKey”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“AcFaceBookAudienceOnly”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“ACFacebookPermissionsKey”,引用自:
-解析(PF_FBSession.o)中的[PF_FBSession authorizationUsingSystemAccountStore:accountType:permissions:defaultAudience:isReauthorize:]
“_OBJC_CLASS_$_ACAccountStore”,引用自:
解析中的objc类引用(PF_FBSession.o)
“_OBJC_CLASS_$_asiIdentifierManager”,引用自:
解析中的objc类引用(PF_FBSettings.o)
“_OBJC_CLASS_$_CLLocationManager”,引用自:
解析中的objc类引用(PFLocationManager.o)
“_OBJC_CLASS_$_SKPayment”,引用自:
解析中的objc类引用(PFPurchase.o)
“_OBJC_CLASS_$_SKPaymentQueue”,引用自:
解析中的objc类引用(PFPurchase.o)
解析中的objc类引用(PFPaymentTransactionObserver.o)
“_OBJC_CLASS_$_SKProductsRequest”,引用自:
解析中的objc类引用(PFPurchase.o)
“_OBJC_CLASS_$_SLComposeViewController”,引用自:
解析中的objc类引用(PF_FBNativeDialogs.o)
“\SLServiceTypeFacebook”,引用自:
+解析(PF_FBNativeDialogs.o)中的[PF_FBNativeDialogs composeViewControllerWithSession:handler:]
ld:未找到架构i386的符号
叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用)
雷克流产了!
命令失败,状态为(1):[/Applications/Xcode.app/Contents/Developer…]
/Library/RubyMotion/lib/motion/project/builder.rb:386:in'build'
/Library/RubyMotion/lib/motion/project/app.rb:72:in'build'
/Library/RubyMotion/lib/motion/project.rb:51:in'block(2层)in'
/Users/pachun/.rvm/gems/ruby-1.9.3-p327@motion/bin/ruby\u noexec\u包装:14:in'eval'
/Users/pachun/.rvm/gems/ruby-1.9.3-p327@motion/bin/ruby\u noexec\u包装器:14:in`'
任务:TOP=>default=>simulator=>build:simulator
(通过使用--trace运行任务查看完整跟踪)
如果有人使用过parse,可以看看这些,告诉我他们是否得到了相同的东西/他们认为问题出在哪里,我会非常感激。这阻碍了我。谢谢


巴春首先,没有解析CocoaPod


其次,Rakefile的问题是没有包含所有必需的库。以下是对我有效的方法:

谢谢你的帮助!太棒了。不过,我很确定有一个解析cocoapod。过来看。转到cocoapods.org,键入Parse并单击搜索过滤器选项“Called”。有两个在下面,但它在那里。版本1.1.10。如果你点击它,它会将你链接到Prase.com。无论如何,它不起作用,所以它也可能不存在。再次感谢。嗯,这很奇怪。如果有语法分析人员发现了这个问题,你愿意加入吗?我也看到了那个椰子荚,我认为它对我也不起作用。那就好了,特别是如果它定期更新的话。好吧,Parse iOS SDK是封闭源代码的,所以这不可能成为CocoaPod吗?此外,你甚至不能从他们的网站下载它,除非你注册并登录。解析CocoaPod可能永远不存在的另一个原因。谢谢你的要点。我浪费了几个小时试图解决这个问题,我让它工作了好几个月,直到它突然坏了。在中添加这些框架让我又开始了。