简体   繁体   English

ituneslibrary框架iOS 8 beta

[英]ituneslibrary framework iOS 8 beta

I am extremely new to world of iOS development. 我对iOS开发领域非常陌生。 I am impressed by the speed I am realizing my ideas. 我意识到自己的想法的速度给我留下了深刻的印象。 Making good use of MPMediaQuery and such like. 善用MPMediaQuery之类的东西。

However I am struggling with plugging in the iTuneslibrary framework . 但是,我正在努力插入iTuneslibrary框架 My intended usage will be minimal. 我的预期用途将是最小的。

After code signing my app and updating the search path for framework search paths inside build settings (/Library/Frameworks). 在对我的应用进行代码签名并更新构建设置(/ Library / Frameworks)中框架搜索路径的搜索路径之后。 On compiling simple code sample; 关于编译简单代码示例; I am receiving the following error: 我收到以下错误:

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/Develo LD /用户/ andyfives /库/开发人员/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/Products/Debug-iphoneos/testiTunes.app/testiTunes normal armv7 cd / Users / andyfives / Development / Objective-C / testiTunes export IPHONEOS_DEP导出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/内容/开发人员/平台/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L /用户/ andyfives /库/开发人员/ Xcode / DerivedData / testiTunes-eyyuvregjcsyukesjqbswsnpckog / Build / Products / Debug-iphoneos -F / Users / andyfives /库/开发人员/ Xcode / DerivedData / testiTunes-eyyuvregjcsyukesjqbswsnpckog / Build / Products / Debug-iphoneos -F / Library / Frameworks -filelist / Users / andyfives / Library / Develo per/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/Library/Developer/Xcode/DerivedData/testiTunes-eyyuvregjcsyukesjqbswsnpckog/Build/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 每个/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 -fobj arc -fobjc-link-runtime -miphoneos-version-min = 8.0 -framework iTunesLibrary -Xlinker -dependency_info -Xlinker / Users / andyfives / Library / Developer / Xcode / DerivedData / test iTunes-eyyuvregjcsyukesjqbswsnpckog / Build / 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: warning: ignoring file /Library/Frameworks/iTunesLibrary.framework/iTunesLibrary, missing required architecture armv7 in file /Library/Frameworks/iTunesLibrary.framework/iTunesLibrary (2 slices) Undefined symbols for architecture armv7: "_OBJC_CLASS_$_ITLibrary", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture armv7 ld:警告:忽略文件/Library/Frameworks/iTunesLibrary.framework/iTunesLibrary,文件/Library/Frameworks/iTunesLibrary.framework/iTunesLibrary中缺少必需的体系结构armv7(2片)体系结构armv7的未定义符号:“ _ OBJC_CLASS _ $ _ ITLibrary”,已引用来自:ViewController.o中的objc-class-ref ld:体系结构armv7找不到符号

I have searched all around; 我到处搜寻; with no luck. 没有运气。 Can anyone help me or should I focus on another solution? 谁能帮助我,还是我应该专注于其他解决方案?

The iTunesLibrary.framework is for OS X and not iOS. iTunesLibrary.framework适用于OS X,而不适用于iOS。

it isn't compiled for arm AND needs itunes 11 too 它不是为arm编译的,并且也需要itunes 11


you might want the 'Media Player framework' 您可能需要“ Media Player框架”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM