I am trying to run react native. But when I tried to build ios the below errors are showing
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze Base/RCTPlatform.m Analyze Views/RCTTabBarItem.m
Analyze Views/RCTTabBar.m Analyze Profiler/RCTProfile.m (4 commands
with analyzer issues)
The following build commands failed: CompileC
/apps/snp/snapstaff_talent/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTPlatform.o
Base/RCTPlatform.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler CompileC
/apps/snp/snapstaff_talent/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTTabBarItem.o
Views/RCTTabBarItem.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler CompileC
/apps/snp/snapstaff_talent/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTTabBar.o
Views/RCTTabBar.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler CompileC
/apps/snp/snapstaff_talent/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTProfile.o
Profiler/RCTProfile.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler Analyze
Base/RCTPlatform.m Analyze Views/RCTTabBarItem.m Analyze
Views/RCTTabBar.m Analyze Profiler/RCTProfile.m Libtool
/apps/snp/snapstaff_talent/ios/build/Build/Products/Debug-iphonesimulator/libReact.a
normal x86_64 Ld
build/Build/Products/Debug-iphonesimulator/snapstaff_talent.app/snapstaff_talent
normal x86_64 GenerateDSYMFile
build/Build/Products/Debug-iphonesimulator/snapstaff_talent.app.dSYM
build/Build/Products/Debug-iphonesimulator/snapstaff_talent.app/snapstaff_talent
Ld
build/Build/Products/Debug-iphonesimulator/snapstaff_talentTests.xctest/snapstaff_talentTests
normal x86_64 GenerateDSYMFile
build/Build/Products/Debug-iphonesimulator/snapstaff_talentTests.xctest.dSYM
build/Build/Products/Debug-iphonesimulator/snapstaff_talentTests.xctest/snapstaff_talentTests
(13 failures)
Installing
build/Build/Products/Debug-iphonesimulator/snapstaff_talent.app An
error was encountered processing the command
(domain=LaunchServicesError, code=0): The operation couldn’t be
completed. (LaunchServicesError error 0.) Launching
org.reactjs.native.example.snapstaff-talent An error was encountered
processing the command (domain=FBSOpenApplicationErrorDomain, code=4):
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain
error 4.)
I am new on react native. I am using OS X El Capitan. please help me out of this.
Related
This is the error I got:
The following build commands failed:
CompileC /.../Library/Developer/Xcode/DerivedData/BarberApp-beyxycoeyxvbafccvpatsjhfeicq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-logger.build/Objects-normal/arm64/react_native_log.o /Users/orelbarclay/Documents/Projects/barber-app/node_modules/react-native/ReactCommon/logger/react_native_log.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-logger' from project 'Pods')
(1 failure)
I've been struggling with getting my react native instance to run and i keep hitting this:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/alexvallejo/Sites/myProj/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/RNFirebase.build/Objects-normal/x86_64/BannerComponent.o /Users/alexvallejo/Sites/myProj/node_modules/react-native-firebase/ios/RNFirebase/admob/BannerComponent.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/alexvallejo/Sites/myProj/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/RNFirebase.build/Objects-normal/x86_64/NativeExpressComponent.o /Users/alexvallejo/Sites/myProj/node_modules/react-native-firebase/ios/RNFirebase/admob/NativeExpressComponent.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
Installing build/Build/Products/Debug-iphonesimulator/myProj.app
An error was encountered processing the command (domain=MIInstallerErrorDomain, code=4):
Failed to chmod /Users/alexvallejo/Library/Developer/CoreSimulator/Devices/31C5C7FC-9DE4-4F95-A7F5-50296C8CC6CB/data/Library/Caches/com.apple.containermanagerd/Bundle/Application/0170A665-460A-4CDF-92B4-0FAC8FBE2224/myProj.app/myProj : No such file or directory
Launching org.reactjs.native.example.myProj
Any ideas on what's going on here? I dont have pod 'Firebase/AdMob' in my Podfile so i don't know why BannerComponent is trying to load.
Make sure you're building with the latest Xcode version. Had the same issue with outdated Xcode.
I have created my game with Construct 2 and exported it to cordova , after that I imported it to intel xdk and I have started work to export to ios , after building I get this error :
The following build commands failed:
CompileC build/Robo\ Copter.build/Release-iphoneos/Robo\ Copter.build/Objects-normal/armv7/AdMobPlugin.o Robo\ Copter/Plugins/cordova-plugin-ad-admob/AdMobPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: - xcconfig,.../builds/build.2016-11-28.09-05-02.D5Cxki.tmp/cordova_project/platforms/ios/cordova/build-release.xcconfig,-project,Robo Copter.xcodeproj,ARCHS=armv7 arm64,-target,Robo Copter,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../builds/build.2016-11-28.09-05-02.D5Cxki.tmp/cordova_project/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../builds/build.2016-11-28.09-05-02.D5Cxki.tmp/cordova_project/platforms/ios/build/sharedpch
I'm building my own SDK and got error about pch
** BUILD FAILED **
The following build commands failed:
ProcessPCH /var/folders/49/qmkbt97910v4p_h0f3c7ygzw0000gr/C/com.apple.DeveloperTools/6.1.1-6A2008a/Xcode/6.1.1-6A2008a/Xcode/SharedPrecompiledHeaders/VoxyPADFramework-Prefix-gfoeppzqeydinfdjwgglsszazzop/VoxyPADFramework-Prefix.pch.pch VoxyPADFramework/VoxyPADFramework-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
ProcessPCH /var/folders/49/qmkbt97910v4p_h0f3c7ygzw0000gr/C/com.apple.DeveloperTools/6.1.1-6A2008a/Xcode/6.1.1-6A2008a/Xcode/SharedPrecompiledHeaders/VoxyPADFramework-Prefix-dqgbxgrxhqfaflffhnvdflncjokz/VoxyPADFramework-Prefix.pch.pch VoxyPADFramework/VoxyPADFramework-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
As guide somewhere I have to remove the SharedPrecompileHeaders on Precompile Header Cache Path, but the path of it is
var/folders/49/qmkbt97910v4p_h0f3c7ygzw0000gr/C/com.apple.DeveloperTools/6.1.1-6A2008a/Xcode/SharedPrecompiledHeaders
I can't find it anywhere on my Mac, how can I manually remove it
So everything was going nice, succesful build and testing on my device then phonegap gives me this error and my build fails. I tried uninstalling and reinstalling various versions, attempting to rebuild old projects building, updating and downgrading.. but nothing I've tried has worked. Any ideas?
Heres the error:
/Users/spencerpope/webslinger/platforms/ios/webslinger/Classes/AppDelegate.m:80:25: error:
property 'useSplashScreen' not found on object of type
'CDVViewController *'
self.viewController.useSplashScreen = YES;
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC build/webslinger.build/Debug-iphonesimulator/webslinger.build/Objects- normal/i386/main.o webslinger/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/webslinger.build/Debug-iphonesimulator/webslinger.build/Objects-normal/i386/AppDelegate.o webslinger/Classes/AppDelegate.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
{ [Error: /Users/spencerpope/webslinger/platforms/ios/cordova/build: Command failed with exit code 65] code: 65 }
[error] /Users/spencerpope/webslinger/platforms/ios/cordova/build: Command failed with exit code 65