コード例 #1
0
		public XcodeProject(string path) {
			projectPath = path;
			XcodeSerializer serializer = XcodeSerializer.CreateInstance();
			fileReferences = new List<PBXFile> (serializer.LoadPBXFiles());
			linkerFlags = serializer.LoadLinkerFlags ();
			plistEntries = serializer.LoadPListEntries ();
			headerPaths = serializer.LoadHeaderSearchPaths ();
			for (int i = 0; i < headerPaths.Count; i++) {
				headerPaths[i] = serializer.BuildAbsolutePath(headerPaths[i]);
			}
			libraryPaths = serializer.LoadLibrarySearchPaths ();
			for (int i = 0; i < libraryPaths.Count; i++) {
				libraryPaths[i] = serializer.BuildAbsolutePath(libraryPaths[i]);
			}
		}