如何从我的应用程序中的另一个.xcodeproj中的类继承?(How can I inherit from a class that is in another .xcodeproj in my ap

编程入门 行业动态 更新时间:2024-10-23 15:30:28
如何从我的应用程序中的另一个.xcodeproj中的类继承?(How can I inherit from a class that is in another .xcodeproj in my app?)

我的项目中有一个.xcodeproj 。 我有一个类,我希望从.xcodeproj的类继承。

我怎样才能做到这一点?

I have a .xcodeproj inside my project. I have a class that I want to have inherit from a class in that .xcodeproj.

How can I do this?

最满意答案

我刚想通了。 当我将.xcodeproj添加到我的构建设置中的页眉搜索路径时,我添加的路径是错误的。 当我有$(SRCROOT)/ Frameworks / myProject时,我将它改为$(SRCROOT)/ myProject

I just figured it out. When I added the .xcodeproj to the Header Search Paths in my Build Settings, the path I added was wrong. I changed it to $(SRCROOT)/myProject when I had $(SRCROOT)/Frameworks/myProject

更多推荐

本文发布于:2023-08-04 05:22:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1410170.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   xcodeproj   inherit   class   app

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!