6
votes

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

2
Do you have a paid Apple developer account? - Andrew
@Andrew yes, and multiple apps already on the App Store for iOS. - chickenparm
I'm also seeing this same problem. Related to this CocoaPods issue: github.com/CocoaPods/CocoaPods/issues/8891 - Chris Ballinger

2 Answers

1
votes

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.

-3
votes

Add this to the top of your podfile:

source 'https://github.com/CocoaPods/Specs.git'