Bungles
Bungles

Reputation: 2257

How to sign an iOS Framework

No matter what I do when trying to build my iOS Framework, I get this error:

"CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 9.3'"

The only "solution" I found through searching was to ensure the framework's project's "Team" is set to None. That apparently solved the problem for some people, but I still get the same error.

Since that solution was for SDK 8.x I'm wondering if there's something new in SDK 9.x that no longer allows creation of unsigned frameworks?

If I sign it with my developer wildcard credentials, the consuming app is unable to upload to the app store because of a distribution certificate incompatibility.

So is an unsigned ios Framework impossible...?

Upvotes: 0

Views: 1108

Answers (1)

Spas Krastev
Spas Krastev

Reputation: 11

It doesn't related to framework signing.

Your provisioning profile is wrong.

You must generate provisioning profile exactly.

And you must set up provisioning profile in Xcode Build Setting for code signing.

If your provisioning profile is correct, it will be matched definitely.

Upvotes: 1

Related Questions