Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Catalyst Cocoapod framework error - signing requires a development team

I'm updating my iOS app to also work on Mac. After selecting the Mac checkbox, I am getting the error in the screenshot below when trying to build for Mac. It's telling me I need to select a development team for this Cocoapod framework. However, I can build to an iPhone or iPad without selecting a development team.

I tried selecting a development team which made the error go away but when I uploaded the app binary to Apple, it was rejected with the error: ITMS-90284: Invalid Code Signing - The executable 'Timestamp.app/Contents/Frameworks/BSImagePicker.framework/Versions/A/Resources/BSImagePicker.bundle' must be signed with the certificate that is contained in the provisioning profile.

I am thinking I'm getting this error from Apple because I selected a development team for this Cocoapod framework.

Any suggestion on how to handle this error for a Catalyst app?

Mac Build Error

like image 486
chickenparm Avatar asked Oct 24 '19 18:10

chickenparm


1 Answers

I have this issue with MessageKitAssets, this works for me:

Select MessageKitAssets from pods targets,

Select a team manually, and set signing certificate 'sign to run locally' (for platform macOS) Use iOS bundle id, provision profile not required.

like image 181
Sam Xu Avatar answered Oct 01 '22 20:10

Sam Xu