Signing for SWRevealViewController requires a development team. Select a development team in the Target Editor.
Code signing is required for product type \'Framework\' i
I stole this from Anish:
Project tab -> list of Targets -> General tab for the target xcode complains about (in my case that's my framework used by my applications) -> choose your team
My project does not use pods. Sheesh.
UPD: now my project has picked up developers from the brave new world and it does use pods now (sudo hardlyagem install cocoapods), but that's hardly relevant since the solution I stole from Anish predates the import of boatload of 3rd party problems, all alike
I solved this problem by deleting my apple id from Xcode preferences and restarting it . Sign in with your ID again and you'll be good to go
I combatted this last night. I assume you are using Pods: For each Pod, change the Team under Signing (as shown here)
edit: Screenshots are in Xcode 8 (now)
Select each target in pod and select the team in General tab section It resolves the problem
Cocoapods needs to be updated to add in your projects team information. Maybe this new version of Xcode doesn't rely on the active running project for code signing information anymore. This could also be an indication of a bug from the new code signing in Xcode 8.0. I suppose Apple's developers use SPM over Cocoapods (at least that is what they test with). From what I can tell its only a matter of adding in this data to Pods/Pods.xcodeproj/project.pbxproj
file
TargetAttributes = {
698A37611B31C6E9B1C5AEC735CECE70 = {
DevelopmentTeam = XXXXXXXXXX;
DevelopmentTeamName = My Team Name";
ProvisioningStyle = Automatic;
};
90B2840AB96CFDCBD62C7A56DFD6562C = {
DevelopmentTeam = XXXXXXXXXX;
DevelopmentTeamName = "My Team Name";
ProvisioningStyle = Automatic;
};
B07B012AE17952EE777271E277F90284 = {
DevelopmentTeam = XXXXXXXXXX;
DevelopmentTeamName = "My Team Name";
ProvisioningStyle = Automatic;
};
B6184234CE5B97D6DADDB68315E67B58 = {
DevelopmentTeam = XXXXXXXXXX;
DevelopmentTeamName = "My Team Name";
ProvisioningStyle = Automatic;
};
};
These target hashes can be found under /* Begin PBXNativeTarget section */
. So now it just needs to be implemented into Cocoapods.
UPDATE:
An issue has been opened on Github so I would just track this until it is resolved: https://github.com/CocoaPods/CocoaPods/issues/5523
UPDATE 2:
A PR has been created here: https://github.com/CocoaPods/CocoaPods/pull/5528. Seems the valid approach is to disable code signing completely for any Pod projects and targets.
To use the above link, since it hasn't been merged as of 6/27/16, the branch that includes this feature is https://github.com/CocoaPods/CocoaPods/tree/xcode-8-codesigning
. Just follow the guide here to use this branch https://guides.cocoapods.org/using/unreleased-features.
UPDATE 3:
The PR was merged so anybody who has this problem should just update Cocoapods via sudo gem install cocoapods
You should install cocoapods beta as they solved that issue on its RC version.
To install cocoapods beta
simply use the following command in your terminal
gem install cocoapods --pre
and run pod install again by
pod install
Your errors should be fixed now.