Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

[QUESTION] Development: Code signing errors during build on device

Open kmav opened this issue 8 years ago • 8 comments

I am getting 3 Code signing errors during build on device. The errors are:

Code Signing Error: No account for team "S6UPZG7ZR3". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. Code Signing Error: No profiles for 'chat.rocket.ios' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'chat.rocket.ios'. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

That behaviour was not expected because of the contribution guidelines, and does not allow to test the app on a real device.

@cardoso has commented in issue #1350, that this is a normal behavior for a user (like me) because you can't use the chat.rocket.ios bundle id without being added to our internal development team.

Does any one can help further to bypass this?

kmav avatar Feb 28 '18 00:02 kmav

If you want to build for device, most likely you will have to change Team to Personal (not sure about bundle identifier, but if changing team does not work, you can change it as well)

artur-ios-dev avatar Feb 28 '18 06:02 artur-ios-dev

Do you mean that build and run on device does not work without this kind of changes?

Then, could you please verify if what is written in CONTRIBUTING.md is correct: "project.pbxproj Don't change this file unless required (added files). This includes signing of the application itself. The Team will be red in the Rocket.Chat.xcodeproj, that's fine."

kmav avatar Feb 28 '18 11:02 kmav

@kmav Yes, you can not run an app on a device that is not included in project's provisioning.

It's correct although you can edit this file as long as you do not push those (unnecessary) changes.

artur-ios-dev avatar Feb 28 '18 11:02 artur-ios-dev

@artrmz Thank you very much for clarifications. I think that this can be closed now.

kmav avatar Feb 28 '18 16:02 kmav

Thank you @artrmz !

Closing this :)

cardoso avatar Feb 28 '18 16:02 cardoso

Hi guys, I have the same problem as @kmav:

Code Signing Error: No account for team "S6UPZG7ZR3". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. Code Signing Error: No profiles for 'chat.rocket.ios.Rocket-Chat-ShareExtension' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'chat.rocket.ios.Rocket-Chat-ShareExtension'. Code Signing Error: Code signing is required for product type 'App Extension' in SDK 'iOS 11.3'

I followed all the steps described in https://github.com/RocketChat/Rocket.Chat.iOS/blob/develop/CONTRIBUTING.md and, in the General Properties of xCode, I obtain the same result that appears in the image: https://user-images.githubusercontent.com/193273/35477109-ad451daa-03bc-11e8-828b-9238bdda438e.png

Could you help me to solve this problem? @kmav could you describe me the steps you took to build the project without errors and to try the app on your iPhone device?

Thank you very much in advance!

jframosg avatar Apr 10 '18 10:04 jframosg

Hi @jframosg,, according to a note of @artrmz, I had given up and stopped trying to deploy to a real device :) Any testing I did after that, was using the simulator. Best regards, Konstantinos

kmav avatar Apr 12 '18 13:04 kmav

Is it possible to sideload Rocket.Chat.ios using a free apple developer account?

image

amoebav avatar Jul 18 '19 15:07 amoebav