PMTabBarControl 在 xcode 4.0 中不起作用
我是 xcode 新手,我正在尝试创建一个带有选项卡的网络浏览器。所以我发现了 PSMTabBarControl 它允许我根据需要控制和编辑选项卡。 ..所以我下载了框架并将其拖到我的应用程序的框架文件夹中,但是当我尝试运行该应用程序时,我收到相同的错误: “0__dyld_dyld_fatal_error”
这是什么意思,如何修复它?
I am new to xcode and I'm trying to create a web browser with tabs. So I found out about PSMTabBarControl which allows me to control and edit the tabs as I desire... So I downloaded the framework and dragged it into the frameworks folder of my application, but when I try to run the application I get the same error:
"0__dyld_dyld_fatal_error"
What does this mean, and how do I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您将无法让 Ibplugin 工作,因为 Xcode 4 放弃了对 ibplugins 的支持。
但是,PSMTabBarController 本身工作正常。您只需在 Xcode 中放置一个高 22 像素、窗口宽的 NSView,将类更改为 PSMTabBarController,然后以编程方式设置选项卡。
这是我的 fork,它在 Xcode 4 中完美编译为 .framework:
https://github.com/dorianj/PSMTabBarControl
You won't be able to get the Ibplugin to work, since Xcode 4 dropped support for ibplugins.
However, PSMTabBarController itself works fine. You just have to drop an NSView in Xcode that's 22px high and window width, change the class to PSMTabBarController and then set the tabs up programmatically.
here's my fork that compiles to a .framework perfectly in Xcode 4:
https://github.com/dorianj/PSMTabBarControl
该源代码不再受到管理,因此它链接到的框架似乎发生了变化。除非您有框架源代码或更新的代码来构建,否则您很可能无法使其正常工作。
That source code isn't managed anymore, so there seems to have been changes to frameworks it links to. Unless you have the framework sources or updated code to build, you most likely wont be able to get this to work.