Skip to content

xcodebuild fail with error  #20060

Closed
Closed
@plimerence

Description

@plimerence

Environment

Run react-native info in your terminal and paste its contents here.
System:
OS: macOS High Sierra 10.13.4
CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 81.19 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.5.0 - /usr/local/bin/node
Yarn: 1.1.0 - /usr/local/bin/yarn
npm: 5.5.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.3, macOS 10.13, tvOS 11.3, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.2
API Levels: 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.0 AI-171.4443003
Xcode: 9.3/9E145 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-macos-cli: 2.0.1
react-native-update-cli: 0.1.0

Description

I use xcode9.3 ,I can achive the app with xcode ,but when the test developer use xcodebuild order to achive ,it is error, so i react-native init a new project ,and then run xcodebuild order to achive,still error,the error is testAchive/ios/testAchive/AppDelegate.m:10:9: fatal error: 'React/RCTBundleURLProvider.h' file not found
#import <React/RCTBundleURLProvider.h>

Reproducible Demo

Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions