如何从我的应用程序中的另一个.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
更多推荐
发布评论