question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xcode signing issues due to Facebook Team ID being used by default in npm release

See original GitHub issue

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment: OS: macOS High Sierra 10.13.1 Node: 9.2.0 Yarn: 1.3.2 npm: 5.5.1 Watchman: Not Found Xcode: Xcode 9.1 Build version 9B55 Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed) react: 16.0.0-beta.5 => 16.0.0-beta.5 react-native: ^0.49.5 => 0.49.5

Steps to Reproduce

  1. Bootstrap a project using react-native init.
  2. Build the project
  3. Go to the issues navigator and observe all of the Update Signing issues.

Note: You will most likely have to do this with a version of Xcode that does not have access to Facebooks developer team as the issue will only be present for instances of Xcode that are not linked with Facebooks

Alternately

  1. Bootstrap a project using react-native init
  2. Navigate to node_modules/react-native/React/React.xcodeproj
  3. Open project.pbxproj with your favorite editor and navigat eto lines 3420 - 3450 and note the lines with DevelopmentTeam = V9WTTPBFK9;

Expected Behavior

A new project does not have update signing errors

Actual Behavior

Because Facebooks DevelopmentTeam identifier is being published to npm there are tons of errors the editor reports which can be really difficult to track down. If the Developer ID lines were removed before publishing to npm Xcode would use what ever Developer ID is default for the user and they would not have to track down all the stray ID’s and fix them.

screen shot 2017-11-18 at 21 44 32

Reproducible Demo

Follow the Building Project with Native Code section.

Open the project with a version of Xcode that is not linked to Facebook’s Developer ID.

Navigate to the issues section and observe the update signing issues.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:27 (10 by maintainers)

github_iconTop GitHub Comments

6reactions
Rojuinexcommented, Dec 4, 2017

It’s an error; the error won’t go away until you remove the DeveloperID from the Xcode project file.

screen shot 2017-12-04 at 11 23 04

And they just keep stacking up:

screen shot 2017-12-04 at 11 26 54

But after performing the aforementioned sed command it stops generating new errors.

3reactions
hammadzzcommented, Dec 4, 2017

If you see this error and can’t figure out what the hell is going on:

  1. Delete all provisioning profiles in here
cd ~/Library/MobileDevice/Provisioning\ Profiles/
rm -rf *
  1. Redownload provisioning profiles Xcode > Preferences > Accounts (select yours) > Download Manual Profiles

  2. Celebrate

Read more comments on GitHub >

github_iconTop Results From Across the Web

conflicting provisioning settings | Apple Developer Forums
I have this error with xcode 8 GM: MyApp has conflicting provisioning settings. MyApp is automatically signed, but code signing identity iPhone ...
Read more >
Get Started - Facebook SDK for iOS - Meta for Developers
Sign into your developer account. Open the Apps page. Find your app and click the App ID. The app ID is copied to...
Read more >
PhaseScriptExecution error in React Native app - Stack Overflow
I fixed this problem by creating new user on my mac. IOS app began building again in Xcode. I will make some more...
Read more >
rpsfirebaseauthcapacitor - npm package | Snyk
Use of Firebase ^8.0.0 Please, for a while read the instructions on issues #128. This is the last release before Capacitor 3.
Read more >
Ios xcuitest real devices - appium - Read the Docs
In either case, the Team ID is a unique 10-character string generated by Apple that is assigned to your team. You can find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found