Repository navigation
Builds in Xcode but not using command line #18793
Copy link
Copy link
Closed
Labels
Platform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
- I have reviewed the documentation
- I have searched existing issues
- I am using the latest React Native version
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 6.12.3
Yarn: 1.5.1
npm: 3.10.10
Watchman: Not Found
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.54.2 => 0.54.2
Steps to Reproduce
react-native run-ios
Expected Behavior
Expected to build in both Xcode and using command line
Actual Behavior
Builds in Xcode but doesn't build using command line with errors below
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:
In file included from <module-includes>:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/string.h:180:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/strings.h:92:
In file included from ../node_modules/react-native/third-party/folly-2016.09.26.00/folly/string.h:20:
In file included from ../node_modules/react-native/third-party/boost_1_63_0/boost/tr1/tr1/exception:23:
In file included from ../node_modules/react-native/third-party/boost_1_63_0/boost/tr1/detail/config_all.hpp:43:
../node_modules/react-native/third-party/boost_1_63_0/boost/compatibility/cpp_c_headers/cstddef:10:1: error: unknown type name 'namespace'
namespace std {
^
../node_modules/react-native/third-party/boost_1_63_0/boost/compatibility/cpp_c_headers/cstddef:10:14: error: expected ';' after top level declarator
namespace std {
^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:
In file included from <module-includes>:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/string.h:180:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/strings.h:92:
In file included from ../node_modules/react-native/third-party/folly-2016.09.26.00/folly/string.h:20:
In file included from ../node_modules/react-native/third-party/boost_1_63_0/boost/tr1/tr1/exception:23:
In file included from ../node_modules/react-native/third-party/boost_1_63_0/boost/tr1/detail/config_all.hpp:158:
../node_modules/react-native/third-party/boost_1_63_0/boost/tr1/tr1/utility:21:20: fatal error: 'utility' file not found
# include_next <utility>
^~~~~~~~~
3 errors generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: fatal error: could not build module 'Darwin'
#import <Availability.h>
~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: fatal error: could not build module 'Darwin'
#include <sys/types.h>
~~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/dispatch/dispatch.h:25:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
~~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
While building module 'os_object' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/dispatch/dispatch.h:59:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/os/object.h:25:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
~~~~~~~~^
1 error generated.
2 errors generated.
3 errors generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
While building module 'ObjectiveC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/./objc-exception.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/objc.h:31:10: fatal error: could not build module 'Darwin'
#include <sys/types.h> // for __DARWIN_NULL
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
While building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
~~~~~~~~^
1 error generated.
6 errors generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreGraphics' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:9:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:8:10: fatal error: could not build module 'Darwin'
#include <stdbool.h>
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:11:10: fatal error: could not build module 'Darwin'
#include <stdbool.h>
~~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
While building module 'OpenGLES' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
~~~~~~~~^
1 error generated.
2 errors generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:10:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
~~~~~~~~^
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'Co
reImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'CoreVideo' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'ImageIO' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:11:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:11:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'IOSurface' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h:16:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:12:10: fatal error: could not build module 'Darwin'
#include <sys/cdefs.h>
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'Metal' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h:18:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: fatal error: could not build module 'Darwin'
#import <Availability.h>
~~~~~~~^
1 error generated.
5 errors generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'CoreText' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h:10:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:12:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
~~~~~~~~^
1 error generated.
While building module 'UIKit' imported from /Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:
While building module 'FileProvider' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
~~~~~~~^
1 error generated.
20 errors generated.
/Users/ryanstimmler/Code/Iggbo-Apps/workpath/ios/workpath/main.m:8:9: fatal error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
~~~~~~~^
21 errors generated.
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze Base/RCTModuleMethod.mm normal x86_64
(1 command with analyzer issues)
The following build commands failed:
CompileC build/Build/Intermediates.noindex/workpath.build/Debug-iphonesimulator/workpath.build/Objects-normal/x86_64/main.o workpath/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/workpath.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/workpath.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Platform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Activity
react-native-bot commentedon Apr 10, 2018
Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.55?
Thank you for your contributions.
nopedev commentedon Apr 11, 2018
same here
using
RN 0.55.2walshie4 commentedon Apr 12, 2018
Possible dupe of #14423
DarkSector commentedon Apr 13, 2018
Same here. Can't even create a new empty test project with react-native-cli. It's sad that official docs recommend using Expo which has so many disadvantages.
RN: 0.55.2
Xcode: 8.2.1
Mac OS: 10.11.6
npm: 5.3.0
node: 8.5.0
yarn: 1.5.1
react-native-cli: 2.0.1
Steps to reproduce
Trimmed output
So sick of it.
osmelnp87 commentedon Apr 16, 2018
I have the same issue.
I'm frustrated, I've been looking for a solution for 4 days and I can not find it.
evilDave commentedon Apr 18, 2018
I am getting this issue too. With RB 0.55.3. I get the same error in xcode though... (in the command line I have a different error "Print: Entry, ":CFBundleIdentifier", Does Not Exist" which does sound like the other linked issue, not fixed by removing the rncache though...
chris-feist commentedon Apr 18, 2018
@DarkSector Try upgrading XCode to 9.2. I was experiencing the same issue using XCode 8
DarkSector commentedon Apr 18, 2018
@f3ist I am going to have to force upgrade it. Will try and update.
EDIT: Can't update to new Xcode without updating OS. I am just not prepared to recreate my 20 development environments for one framework.
dongxie commentedon Apr 19, 2018
any one solute this?
today I upgrade the Xcode to 9.3(to test ios 11.3,but the Xcode 9.3 need high sirerra ,so I upgrade the Mac OS), open the project before( Xcode 9.2), display same errors.
uusa35 commentedon Apr 19, 2018
any news i had the same issue
same issue my xcode is 9.3
24HOURSMEDIA commentedon Apr 22, 2018
removing the .iOS build folder (./ios/build) completely and then running again worked for me
(Xcode 9.3 / RN 0.54.4)
ElChapitan commentedon Apr 25, 2018
I took a quick look into it, and I was able to figure out that the change was introduced here:
f91f7d9
By changing some versions of react-native in my package.json, it looks like the official build broke in 0.54 (it works in 0.53). So, if you're looking for a workaround (@DarkSector, I'm looking at you), this might be it.
DarkSector commentedon Apr 25, 2018
@ElChapitan So technically a fresh install of 0.53 should build if I am understanding this correctly?
DarkSector commentedon Apr 26, 2018
It doesn't
19 remaining items
delyar commentedon Sep 15, 2018
deleting the ios/build folder and running again worked for me
hramos commentedon Sep 24, 2018
It looks like this is one of those errors where clearing out your build artifacts, and re-building, seems to fix it. Closing, but feel free to open a new issue with more details if you're still running into this.
thomGeenen commentedon Oct 18, 2018
It worked for me
eamonwhiter73 commentedon Oct 24, 2018
I am having this problem, I have tried option + clean (build folder) as well as, deleting the
ios/buildfolder, and I have also tried doing both together (first option + clean, then deletingios/build). It builds when I build it inXcode, it doesn't build when I usereact-native run-ios --device.It gets caught on
Running 2 of 5 custom shell scriptsphase in Xcode, sometimes it makes it past after a while.Environment:
eamonwhiter73 commentedon Oct 24, 2018
I ran
npm audit fix, also I installed @babel/core7.0.0 and react 16.6, I have the errors narrowed down to this now:claudiotezzin commentedon Nov 14, 2018
Anything else about this issue?
MyDinnerIsReady commentedon Feb 25, 2019
it's work for me! thank you guys
neosavvy commentedon Mar 22, 2019
Sadly we see this error on a working project that is then pushed to github and checked out by others. Additionally if I checkout the working project in a new directory I see the same issues. We don't checkin our build folder but we do checkin ios/Pods for now.
Any other ideas - this seems like something that should work when just checking in a fresh copy of source in a working project.
Seems this is what causes the failure, but no clue how to resolve. Works in XCode / Android, but not
run-ioson CLImhadam commentedon May 30, 2019
@neosavvy I've gotten the same issue, and it's resolved by building and running the app in XCode after selecting the old build system.
Richie-coder commentedon Jul 10, 2019
I had the same problem. Deleted the ios build folder, then ran react-native run-ios from VSC cmd line and it rebuilt and opened in the simulator with no problems! Thanks for the fix guys.