-
Notifications
You must be signed in to change notification settings - Fork 32
Launch/Sync on iOS fails because no teamId is specified #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@pkoleva Here's what I saw, when tested now with tns @ 2.5.4:
Building project...
Xcode 8 requires a team id to be specified when building for device. Found and using the following development team installed on your system: Yosif Yosifov (xxxxxx) Build settings from command line: And the App built & ran successfully on the device. |
The problem appears when you have more than one team on your machine |
I have removed all extra teams from xcode, specified the team id# in the build.xcconfig file, AND i have used the --teamId option. Still throws the same error. Any ideas? |
@SamuelGRwebfab Where did you make changes? Here are the steps I've tried. If you want to set the teamId in the build.xcconfig:
If you want to pass it as
Let me know if these 2 ways work for you? If it still doesn't work, can you please share your Best, |
@yyosifov I should have updated my post. I managed to get past this error by removing all traces of my certs, and then just putting them back, 3 times. This completely resolved my signing issue however now I have another, but this new issue is unrelated to this post. |
@SamuelGRwebfab Sorry for your troublers. Glad to hear it's working for you now! I've created a PR which opens a Quick Pick selector whenever you have multiple Teams, therefore I hope we won't have this issue in the near future. |
@yyosifov I wouldnt say its working but i dont have signing issues now! That sounds great tho! |
Prerequisites:
Xcode 8
Error in console:
Xcode 8 requires a team id to be specified when building for device.
You can specify the team id by setting the DEVELOPMENT_TEAM setting in build.xcconfig file located in App_Resources folder of your app, or by using the --teamId option when calling run, debug or livesync commnads.
Workarround 1:
Add TeamID in App_Resources/iOS/build.xcconfig -> DEVELOPMENT_TEAM
Workarround 2:
Add "tnsArgs": "--teamId TeamID" in launch.json Launch on iOS and Sync on iOS options
The text was updated successfully, but these errors were encountered: