SwiftLightning icon indicating copy to clipboard operation
SwiftLightning copied to clipboard

Device compilation throws code signing error

Open Sjors opened this issue 6 years ago • 2 comments

schermafbeelding 2018-05-29 om 10 52 21

It's been four years since I last did any iOs development, so my Xcode configuration skills are a bit rusty. I can work around it by changing the team, but I vaguely remember that it's possible to keep these device-specific settings out of the repo.

Sjors avatar May 29 '18 08:05 Sjors

When I try out other people's Xcode projects from Github, I usually need to change to a unique Bundle identifier, and also need to change Team to myself. Usually works out for me. You might need to do this for more than 1 target if there are multiple targets in the project. I think I should only have 1 target in this project? Test might be the other one so check it out if you are having problem still after changing it for the main target.

biscottigelato avatar May 29 '18 18:05 biscottigelato

Yup changing the Team as you both mentioned will make it work.

To @Sjors mention of keeping device-specific settings out of the repo, there are options like .xcconfig files or maybe just something simple for this one like updating the Build Settings -> Signing (to remove a default Development Team, etc)?

If that is what @Sjors was talking about, and if @biscottigelato wants me to put up a PR with the change for him to look at, just let me know and I'll be happy to do that-

reez avatar Jun 15 '18 00:06 reez