Code signing is required for product type 'Application' in SDK 'iOS5.1'

前端 未结 10 953
萌比男神i
萌比男神i 2020-12-08 12:45

I am using xCode 4.3.1. After i created a project, i build it and tried to Archive. Then i got an error saying; (This is my first project in xCode 4.3.1)

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 13:42

    This error was caused, for me, by different circumstances. A downloaded project tutorial had a default setting of [Project]>Targets>Build Settings>Architectures>Build Active Architecture Only>Release = "Yes." I wasn't intending to build a release, so the solution was to set Release (which presumably requires not just a developer profile but distribution profile) to "No."

提交回复
热议问题