Xcode 6.1 different “deployment info” section for duplicated target

前端 未结 2 523
小鲜肉
小鲜肉 2021-02-04 03:25

So, I have an universal project \"enter

The \"deployment info\" section looks like this: <

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 04:14

    I found the attribute which affect the display behavior of Xcode deployment info:

    In the PBXProject section of project.pbxproj file, there are lines looks like:

                TargetAttributes = {
                    22CFA0081BE46E9A00A89E90 = {
                        CreatedOnToolsVersion = 7.2;
                    };
                };
    

    If this attribute exists in the project, the Xcode will not display "iPhone" and "iPad" buttons . Just remove these lines, then the buttons will show.

    This should be a bug of Xcode7.2

提交回复
热议问题