ituneslibrary框架iOS 8 beta

时间:2014-08-17 08:37:28

标签: ios xcode6 ituneslibrary

我对iOS开发世界非常陌生。我对实现自己想法的速度印象深刻。充分利用MPMediaQuery等。

但是我正在努力插入 iTuneslibrary框架。我的预期用法很少。

代码签署我的应用程序并更新构建设置(/ Library / Frameworks)中的框架搜索路径的搜索路径。编译简单代码示例;我收到以下错误:

  

Ld /Users/andyfives/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug-iphoneos/testiTunes.app/testiTunes normal armv7       cd / Users / andyfives / Development / Objective-C / testiTunes       export 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/ Objects-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 /库/开发商/ 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的符号

我四处搜寻;没有运气。任何人都可以帮助我,还是应该专注于另一种解决方案?

1 个答案:

答案 0 :(得分:0)

iTunesLibrary.framework适用于OS X而非iOS。

它不是为手臂而编译的,也需要itunes 11


您可能需要' Media Player框架'