Xcode pbxproj文件的结构发生了变化

时间:2016-02-13 22:05:58

标签: ios xcode pbxproj

出于某种原因 - 可能与最新的Xcode升级到版本7.2.1有关 - 我的pbxproj的结构发生了变化,正因为如此,当我即将合并PR时,它只是让我看到一个大的整个文件冲突。

我认为原因之一是其中一个具有这种结构(发布文件的开头):

// !$*UTF8*$!
{
    archiveVersion = 1;
    classes = {
    };
    objectVersion = 46;
    objects = {

/* Begin PBXBuildFile section */
        009025BEF30C41848E6869F6 /* RolloutDynamic_18.m in Sources */ = {isa = PBXBuildFile; fileRef = E1BF845EAB9E4962853253B5 /* RolloutDynamic_18.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
        00AFDB74BD584F1C9BD41B9D /* RolloutDynamic_03.m in Sources */ = {isa = PBXBuildFile; fileRef = 588F21D12977444EAE3C70F5 /* RolloutDynamic_03.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
        054D17D506BF45EE98822AB9 /* RolloutDynamic_15.m in Sources */ = {isa = PBXBuildFile; fileRef = 54D47CE8182E4482955DA02E /* RolloutDynamic_15.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };

和另一个结构(文件的开头):

 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>archiveVersion</key>
    <string>1</string>
    <key>classes</key>
    <dict/>
    <key>objectVersion</key>
    <string>46</string>
    <key>objects</key>
    <dict>
        <key>18011C201B1F865300F52714</key>
        <dict>
            <key>fileEncoding</key>
            <string>4</string>
            <key>isa</key>
            <string>PBXFileReference</string>
            <key>lastKnownFileType</key>
            <string>sourcecode.c.h</string>
            <key>path</key>
            <string>UserProfileTableViewController.h</string>
            <key>sourceTree</key>
            <string>&lt;group&gt;</string>
        </dict>

知道如何解决这个问题?

0 个答案:

没有答案