IOS开发证书问题和SVN工程迁移环境问题

来源:互联网 发布:阿里云流量收费标准 编辑:程序博客网 时间:2024/04/30 01:15

IOS开发证书问题

最近一直在编写IOS自动化工程。

需要拿不同的XCode项目编译,遇到证书不匹配问题,因为弄很多个项目,不同的证书选择自动匹配错误,导致xcode没法编译。很头疼。

后来请教开发才弄明白,

1、在Build Settings-》Code Signing-》选择对应的证书

2、在provisiong profile里面选择对应的开发者账号(后来找到一个万能账号,就不用更换证书了)



SVN工程环境迁移问题:Xcode: Unable to open project… cannot be opened because the project file cannot be parsed


Right click on your projectname.xcodeproj file here projectname will be the name of your project. Now after right clicked select Show Packages Contents. After that open your projectname.pbxprojfile in a text editor. Now search for the line containing <<<<<<< .mine======= and >>>>>>> .r. For example in my case it looked liked this

<<<<<<< .mine    9ADAAC6A15DCEF6A0019ACA8 .... in Resources */,=======    52FD7F3D15DCEAEF009E9322 ... in Resources */,>>>>>>> .r269

Now remove those <<<<<<< .mine======= and >>>>>>> .r lines so it would look like this

    9ADAAC6A15DCEF6A0019ACA8 /* BuyPriceBtn.png in Resources */,    52FD7F3D15DCEAEF009E9322 /* discussionForm.zip in Resources */,

Now save and open your Xcode project and build it. Everything will be fine.


0 0
原创粉丝点击