在Xcode中编译
问题描述:
我正在编译一个项目,该项目是通过来自XCODE IDE的文件从另一个应用程序文件中复制的。 编译后,我得到以下错误:在Xcode中编译
Error: could not read data from '/Users/heziflashner/Documents/#import <UIKit/UIKit.h>
#import "MapKit/MapKit.h"
#import "CoreLocation/UserLocationAddress/salesShare03/salesShare03/salesShare03-Info.plist':
文件“salesShare03-Info.plist中”无法打开,因为没有这样的文件。
我试图改变框架目录,但没有成功。 任何人都可以提供帮助吗?
答
对于框架头必须使用:
#import <MapKit/MapKit.h>
答
这个问题似乎是你有一个文件制作到saleseShare03-Info.plist
参考。确保你的项目树中有这个,甚至尝试删除它,然后再次添加它。否则检查你的.xcodeproj文件并检查设置。以这种方式复制项目总是很棘手,祝你好运。