gpt4 book ai didi

ios - Rubymotion:Rake 失败

转载 作者:行者123 更新时间:2023-11-29 12:49:26 26 4
gpt4 key购买 nike

我正在使用 ruby​​ 1.9.3-p484、Xcode 5.1 和 OS X 10.9 Mavericks,在使用 RubyMotion 运行 rake 时出现以下错误。

$ rake
Build ./build/iPhoneSimulator-7.1-Development
Build vendor/Pods/NewRelicAgent/NewRelic_iOS_Agent_3.252/NewRelicAgent.framework
Link ./build/iPhoneSimulator-7.1-Development/Themes.app/Themes
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in NewRelicAgent(NewRelicInternalUtils.o)
"_deflate", referenced from:
-[NRHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRHarvesterConnection.o)
"_deflateEnd", referenced from:
-[NRHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRHarvesterConnection.o)
"_deflateInit_", referenced from:
-[NRHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRHarvesterConnection.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...]

Tasks: TOP => build:simulator
(See full trace by running task with --trace)

最佳答案

尝试运行:

rake clean

或者

打开 XCode,转到 Preferences > Downloads > Components 并安装 5.1 Stimulator(如果未安装)。然后在你的 Rakefile 集中

app.sdk_version = "5.1"

关于ios - Rubymotion:Rake 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22774004/

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