【问题标题】:ituneslibrary framework iOS 8 betaituneslibrary 框架 iOS 8 beta
【发布时间】:2014-08-17 08:37:27
【问题描述】:

我对 iOS 开发领域非常陌生。我对实现自己想法的速度印象深刻。善用 MPMediaQuery 之类的。

但是,我在插入 iTuneslibrary 框架 时遇到了困难。我的预期用途将是最少的。

在对我的应用程序进行代码签名并更新构建设置 (/Library/Frameworks) 内的框架搜索路径的搜索路径之后。关于编译简单代码示例;我收到以下错误:

ld /Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug-iphoneos/testiTunes.app/testiTunes 正常 armv7 cd /Users/andyfives/Development/Objective-C/testiTunes 导出 IPHONEOS_DEPLOYMENT_TARGET=8.0 export PATH="/Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6-Beta5.app/Contents/Developer/usr/bin:/usr/bin :/bin:/usr/sbin:/sbin" /Applications/Xcode6-Beta5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/ SDKs/iPhoneOS8.0.sdk -L/Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug-iphoneos -F/Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes- eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug-iphoneos -F/Library/Frameworks -filelist /Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Intermediates/testiTunes.build/Debug-iphoneos/testiTunes.build/对象-normal/armv7/testiTunes.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework iTunesLibrary -Xlinker -dependency_info -Xlinker /Users /andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Buil d/Intermediates/testiTunes.build/Debug-iphoneos/testiTunes.build/Objects-normal/armv7/testiTunes_dependency_info.dat -o /Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug- iphoneos/testiTunes.app/testiTunes

ld:警告:忽略文件 /Library/Frameworks/iTunesLibrary.framework/iTunesLibrary,文件 /Library/Frameworks/iTunesLibrary.framework/iTunesLibrary 中缺少所需的架构 armv7(2 片) 架构 armv7 的未定义符号: “_OBJC_CLASS_$_ITLibrary”,引用自: ViewController.o 中的 objc-class-ref ld: 未找到架构 armv7 的符号

我已经四处寻找;没有运气。任何人都可以帮助我还是我应该专注于其他解决方案?

【问题讨论】:

    标签: ios xcode6 ituneslibrary


    【解决方案1】:

    iTunesLibrary.framework 适用于 OS X 而不是 iOS。

    它不是为 arm 编译的,也需要 itunes 11


    您可能需要“媒体播放器框架”

    【讨论】:

    • 好的,谢谢。我现在将尝试使用 iTunes 搜索 API!
    猜你喜欢
    • 1970-01-01
    • 2014-11-23
    • 2015-03-08
    • 2016-11-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-26
    • 2014-07-26
    相关资源
    最近更新 更多