CircleCI FBReactNativeSpec-generated.mm file not found - xcode

I am building an app on CircleCI. I have tried xcodebuild and fastlane scan. After dependencies successfully install, the follow build error occurs.
Testing failed:
Build input file cannot be found: '/Users/distiller/project/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm'
** TEST FAILED **
[17:53:06]: Exit status: 65
[!] Error building the application. See the log above.
However, if I run the test command locally or SSH into CircleCI, then the build succeeds. What is the problem?

Related

Command PhaseScriptExecution failed with a nonzero exit code - React Native

Whenever I try to run npm-run-ios for any react native project I run into the following error with Xcode.
The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/keenanmapp/Library/Developer/Xcode/DerivedData/UnsplashSearch-ancvrrzszrqkahamhpgtfqwhhuns/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-5F4C70EF7D90A5A5BDAEB404
I tried removing the pods and reinstalling but nothing works.

Nativescript ios build fails with Error 65

I've run into an issue where suddenly my ios build will no longer build. It seems to have happened out of no-where.
I get this error and can't seem to get rid of it regardless of what I try.
[19-01-15 10:57:43.888] Build failed. Command xcodebuild failed with exit code 65 Error output:
** ARCHIVE FAILED **
I've tried tns platform remove ios
I've updated my plugins.
I also get these cli warnings before it fails:
(CLI) 1) Target 'class2tns' has copy command from ...
and
(CLI) warning: duplicate output file
for a number of files.
My Android version builds ok.
I had the same exit code from Xcode (65) and the warning of duplicate output file.
After along time of research the following steps are required because an update of a nativescript npm package.
rm -Rf platform/ios
rm -Rf node_modules
rm package-lock.json
pod repo update # important to execute this command in the project dir
tns build ios

Unable to run the flutter code getting error

Unable to run the flutter code getting error
Failed to capture snapshot of input files for task
'javaPreCompileDebug' property 'compileClasspaths' during up-to-date
check. > Error snapshotting jar [flutter.jar]
Finished with error: Gradle build failed: 1
Try
git clean -xfd
git pull
flutter doctor
in your Flutter install directory to fix your Flutter installation.

Fail to build React Native

When I tried to run this command: react-native run-ios
The terminal returns this.
How to solve this?
Command /usr/bin/codesign failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CodeSign build/Build/Products/Debug-iphonesimulator/albums.app
(1 failure)

Scrapinghub deployment error: non-exit status 1

i get this error mesage when I try to deploy my project and I really do not understand why:error log
shub is unable to build the Python egg of your project. This could be related to a misconfigured setup.py. Try running the 'build egg' command yourself so you can take a look at the error message: python setup.py clean -a bdist_egg -d temp_directory (run it in your project directory).
If you don't have any custom/important code in your setup.py, you can try deleting it, and shub will auto-generate a vanilla one on the next deploy.

Resources