Ios 从框架内部引用情节提要

Ios 从框架内部引用情节提要,ios,swift,uistoryboard,ios-frameworks,Ios,Swift,Uistoryboard,Ios Frameworks,我创建了一个框架并将其导入到另一个项目中 在这个框架中,我还创建了一个故事板 但当我试图获取对这个故事板的引用时,它抛出了一个异常: 在-[UIStoryboard initWithBundle:Storyboard文件名:identifierToNibNameMap:DesignedEntryPointIdentifier:],/SourceCache/UIKit_Sim/UIKit-3347.44/UIStoryboard.m:52中断言失败 2015-06-21 14:24:35.340测

我创建了一个框架并将其导入到另一个项目中

在这个框架中,我还创建了一个故事板

但当我试图获取对这个故事板的引用时,它抛出了一个异常:

在-[UIStoryboard initWithBundle:Storyboard文件名:identifierToNibNameMap:DesignedEntryPointIdentifier:],/SourceCache/UIKit_Sim/UIKit-3347.44/UIStoryboard.m:52中断言失败 2015-06-21 14:24:35.340测试项目[2923:105798]

以下是加载情节提要的代码:

let frameworkBundle = NSBundle(identifier: "a.b.c") // that work 
let storyboard = UIStoryboard(name: "storyBoardIdentifyer", bundle: frameworkBundle)
在我的框架中,我在目录中看到序列图像板文件,并尝试通过其名称和定义的序列图像板标识符引用它,但没有运气


我遗漏了什么吗?

检查堆栈溢出中的这个问题
let frameworkBundle = NSBundle(identifier: "a.b.c") // that work 
let storyboard = UIStoryboard(name: "storyBoardIdentifyer", bundle: frameworkBundle)