xcodebuild | A continuously resilient ` xcodebuild ` “ GitHub Action ” | Continous Integration library
kandi X-RAY | xcodebuild Summary
kandi X-RAY | xcodebuild Summary
Make your software #continuously-resilient as well as continuously integrated. This action will continue to work forever, no more CI breakage because Xcode is updated. The action will build both Xcode projects and Swift packages. I can only afford to maintain projects I need or that are sponsored. Thanks.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xcodebuild
xcodebuild Key Features
xcodebuild Examples and Code Snippets
Community Discussions
Trending Discussions on xcodebuild
QUESTION
I have created an app using React Native and am trying to create an iOS app store build through Expo's eas-cli.
When running eas build --platform ios
the Fastlane build failed with unknown error
After checking the "Run Fastlane" section in the Expo build log, multiple errors are shown:
Error 1:
...ANSWER
Answered 2021-Oct-06 at 06:11There are a number of things to look into.
If you are running Expo in the SDK then no need for cocoa pods just the most up-to-date version of the CLI tool.
Run expo --version
to determine what version you are currently working with. Update if needed.
Adding a profile might be useful too. Along with checking your config. Configuring EAS Build with eas.json
eas build --platform ios --profile distribution
Also, be sure that all the apple certificates are active and connected to your Expo account for that project.
QUESTION
My app archive perfectly two weeks age (was the latest update I made).
After some minor changes in the flutter code (I did not add any packages or something), I am trying to archive again and I am getting some estrange errors and I have no clue where are coming from (those are from libraries, so no real changes on it). I am able to run it on the emulator and also I am able to build without any problem. I just can not archive.
This is the error:
...ANSWER
Answered 2022-Mar-20 at 09:40This is an issue that occurs in version 13.3 of Xcode. In Xcode 13.3, if you have a code that uses UI_USER_INTERFACE_IDIOM(), you will get an "Out of Memory" error when you run Archive. Changing "UI_USER_INTERFACE_IDIOM()" to "UIDevice.current.userInterfaceIdiom" resolves the error.
Currently, we have the following solutions.
- Modify the code,
- Downgrade to Xcode 13.2.1
- Wait for Apple to modify Xcode
References
QUESTION
When enabling hermes in the Podfile and rebuilding the build it fails due to RCT-Folly. No idea what it does.
To re-initialise everything I use the following:
rm -rf node_modules && rm package-lock.json && npm install && cd ios && rm -rf Pods && rm Podfile.lock && pod deintegrate && pod setup && pod install && cd ..
I also start the metro bundler with:
npx react-native --reset-cache
Anyone has a solution?
The app uses react-native v0.64 and we want to have a better performance using hermes.
All information:
ios/Podfile
...ANSWER
Answered 2021-Jul-23 at 16:11After lots of trial and error I found a working solution. It's a bit strange, but I had to enable Flipper. I did not find a way without it.
Thanks to this answer: https://github.com/facebook/react-native/issues/31179#issuecomment-831932941 I found out about fixing Pods.
This is my Podfile now:
QUESTION
When I run bundle install
on my rails 5 project, I am getting a number of errors on gems that appear to have native extensions. Here is the top of the output for one of those gems:
ANSWER
Answered 2022-Mar-17 at 22:28It turns out the problem was that in the Gemfile.lock file, it was locked to using an older version of bundler
. We simply deleted the Gemfile.lock, and re-ran bundle
to regenerate Gemfile.lock. That solved it. It now says this at the bottom of the Gemfile.lock file, so it liked this version of bundler:
QUESTION
Description
How to fix this error. I have created simple project with latest version and when try to build the project via Xcode
it generate error?
Version
0.67.3
Output of
npx react-native info
ANSWER
Answered 2022-Feb-27 at 07:55You could create that into the library source or you could avoid it and use the same UIColor option just above it.
I removed: ( [RCTConvert UIColor:options.cancelButtonTintColor() ? @( options.cancelButtonTintColor()) : nil];* ) and replace it with: ( *[RCTConvert UIColor:options.tintColor() ? @(options.tintColor()) : nil]; )
my line now looks like:
QUESTION
I have an iOS library with Swift package manager. I am trying to run unit tests with swift test
The reason why I am not using xcodebuild
is, I am trying to remove the .xcodeproj
from my source control. Also, there is a warning when we create xcodeproj
with spm, that generate-xcodeproj will be deprecated soon.
TL;DR
This library depends on Lottie
I tried just running swift test
in the root directory, but it gives lot of errors. like /.build/checkouts/lottie-ios/lottie-swift/src/Public/Animation/AnimationView.swift:859:11: error: cannot find 'superview' in scope
I tried
ANSWER
Answered 2022-Mar-07 at 14:58swift test
only works for macOS testing. It does not support cross builds for iOS.
You do not need an existing Xcode project to use xcodebuild
. Run the command, xcodebuild -list
to initialize a Package.swift
file for testing.
See the example here.
QUESTION
I just created a brand new Ionic app, using command "ionic start myApp blank"
I added the necessary angular dependencies to get "ionic serve" working properly.
I have installed capacitor using the following commands
...ANSWER
Answered 2021-Oct-08 at 06:51after this run following command line by line
- cd ios
- cd App
- pod install
- cd ..
- cd ..
and then check by ionic cap open ios problem solved :) :)
QUESTION
I can build on my iOS 15 emulator with no problems, but when building on my iOS 15 Device connected to xcode 13. I get the error:
error Failed to launch the app on simulator, An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405): Unable to lookup in current state: Shutdown.
Any ideas?
Console:
...ANSWER
Answered 2021-Sep-24 at 16:03do you run your code in an IDE? I faced the same problem today after updating XCode. If I run code in terminal I get other error: CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler Try this
QUESTION
When I want to run any xcodebuild
action it gives me the following error while the Xcode ide is working fine on Apple M1.
ANSWER
Answered 2022-Feb-04 at 15:42I had the same issue again on M1. It seems the xcodebuild executable is Intel based. The error does not show if the xcodebuild process is started from a terminal running under Rosetta.
My Xcode was installed from the App Store.
Managed to fix it for terminal without Rosetta by removing Xcode and installing the 13.3 Xcode beta from: https://download.developer.apple.com/Developer_Tools/Xcode_13.3_beta/Xcode_13.3_beta.xip
Now the xcodebuild executable is compiled for Apple silicon and the issue is gone.
QUESTION
After updating Xcode to version 13.2 i can't build my project anymore. I have a strange error "Internal error: missingPackageDescriptionModule" related to my Workspace file.
It's definitely related to SPM because Xcode is not loading SPM packages also. I tried to "Reset package caches", "Resolve package caches" and also "Updating to latest package caches" but after all of these operating nothing happens. Deleting derived data, cleaning didn't help too...
I tried also to resolve packages from Terminal using xcodebuild -resolvePackageDependencies
but I get error message:
ANSWER
Answered 2021-Dec-17 at 20:37Apple is aware of the issue.
We're currently investigating this issue — thank you to those who have filed bug reports so far. To workaround this issue, please re-download Xcode 13.2 directly from the Downloads page.
https://developer.apple.com/forums/thread/696504?answerId=698142022#698142022
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xcodebuild
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page