Xcode 6和Embedded Frameworks仅在iOS8中受支持 [英] Xcode 6 and Embedded Frameworks only supported in iOS8

查看:219
本文介绍了Xcode 6和Embedded Frameworks仅在iOS8中受支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 6.0.1中使用嵌入式框架(dyld)时,部署目标小于iOS 8,我得到:

When using an embedded framework (dyld) in Xcode 6.0.1 with deployment target less that iOS 8 I get:


  • 构建是成功

  • 运行时库加载错误

错误:

dyld: Library not loaded: @rpath/ObjectiveLyricsTouch2.framework/ObjectiveLyricsTouch2        
Referenced from: /private/var/mobile/Containers/Bundle/Application/DC65ACA9-98E5-46CD-95F8-829D3416F6C0/musiXmatch.app/musiXmatch
Reason: image not found
(lldb) 


推荐答案

有一段时间我认为这也是我的问题,但对于普通应用程序(非iOS-8扩展程序)您只需要在随意的Xcode 6 iOS Universal Framework目标中更改一个构建设置(将Mach-O类型设置为静态库):

For some time I was thinking that this is my problem as well, but for normal apps (non-iOS-8-extension) you just need to change one build setting in your casual Xcode 6 iOS Universal Framework target (set Mach-O Type to Static Library):

那里应该 在此之后iTunes Connect和iOS 7没问题:)

There should be no problem with iTunes Connect and iOS 7 after that :)

这篇关于Xcode 6和Embedded Frameworks仅在iOS8中受支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆