xcpretty | Flexible and fast xcodebuild formatter | iOS library
kandi X-RAY | xcpretty Summary
kandi X-RAY | xcpretty Summary
xcpretty is a fast and flexible formatter for xcodebuild. It does one thing, and it should do it well.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parses the text and returns the text .
- Updates the test runner and wait for testing
- Returns a terminal status
- Updates the error message
- Updates the contents of the formatter .
- Returns a formatted error message .
- Formats a summary to a test summary .
- Finds the image matching the specified name .
- Formats a file for the compilation command .
- Load the screenshots of the specified screenshot
xcpretty Key Features
xcpretty Examples and Code Snippets
Community Discussions
Trending Discussions on xcpretty
QUESTION
im running Hosted mac agent and i noticed that when i run this command in the pipeline :
...ANSWER
Answered 2021-Feb-02 at 01:25In your script, gem will install the specific version of bundle.
You can try to install a specific bundle using the script:
QUESTION
I am building an iOS app in Azure DevOps. The build and export of the *.ipa works fine, but the upload to the App Store fails with the following message:
...ANSWER
Answered 2020-Oct-06 at 07:02You probably need to check all the Info.plist that are used in your project. Some info.plist might be missing the keys and caused above error.
You can check below script to search for the info.plist that are missing CFBundleShortVersionString
and CFBundleVersion
. See this thread for information.
QUESTION
I am Using Azure Pipelines to build and deploy the Flutter Application. I connect my Mac Mini as an Agent to the Azure Pipelines. Agent Version: 2.173.0
Just as pretext it worked earlier. I am not sure which version it was, but the fact is now it is not working.
Under the hood, it is using Fastlane to
- build
- download signatures - Fastlane plugin
- sign and upload to TestFlight - - Fastlane plugin
If I run the command from the terminal it is working fine:
...ANSWER
Answered 2020-Sep-03 at 09:17Azure Pipelines iOS Fastlane beta hangs and fails because of timout
Since the logs hang as well, we could not locate and analyze the cause of this issue. Fortunately, you could successfully build your Flutter Application in the earlier agent version.
So, the workaround to resolve this issue, we could re-install the old version agent to build this project.
To get the old version agent, we could check the logs of the previous successful pipeline. In the Initialize job, we can see the version information of the agent:
Then we could download old agent version from Github azure-pipelines-agent.
QUESTION
I am running a Azure DevOps Pipeline which generates an .ipa file. This runs on my local agent without any issues, but when I run it on a hosted macOS 10.15 machine, i'll get an error, that the provisioning profile is missing
❌ error: No profiles for 'app.zookeeper.platypus' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'app.zookeeper.platypus'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
ANSWER
Answered 2020-Aug-03 at 07:54You can check the task log of InstallAppleProvisioningProfile task to see if the provisioning profiles is successfully downloaded in the agent. Make sure the right provisioning profiles is uploaded to the secure file(Pipeline-->Library--Secure files>) and is downloaded to the agent in the runtime.
If the provisioning profiles is successfully downloaded. It might be because the different version of xcode.
You can check the build log to see if the xcode version used by the xcode task in cloud hosted agent is the same with your local agent.
You can use xcodeVersion
attribute specify the target version of Xcode for Xcode task.
QUESTION
The project is in Objective-C and we recently added some swift files into it. It is a white label application and builds are generated from the server.
When I submit the build to appstore it gave error :-
...ANSWER
Answered 2020-Jun-30 at 03:33After your PackageApplication
step, you should have an .xcarchive
and an .ipa
. I can't be sure why you don't have a SwiftSupport
folder in your original .ipa
(in my case it was because it was exported for enterprise
distribution), but you should be able to just copy the SwiftSupport
folder from the .xcarchive
into your unzipped .ipa
, right after the unzip
step:
QUESTION
Does anyone have an idea how to use Azure DevOps CI with an ionic cordova ios app?
I tried the following
- Npm install
- Ionic command (Command: ionic cordova build ios)
- List item
- Install an apple certificate
- Install an apple provisioning profile
- Xcode build
- Publish to the app store (install from marketplace)
Xcode build fails with the following error
...ANSWER
Answered 2020-May-07 at 15:53I resolved this error by removing capacitor
QUESTION
I can't sign my Flutter project when archiving to ipa file on Azure Pipelines.
This is my build pipeline setup:
- Certificate get and built from Apple Developper program;
- Provisioning profile from Apple Developper program;
- The Flutter build script is a copy of this one (no signing);
- Launch of xcodebuild archive to get a signed ipa.
I tried manual signing and automatic signing.
With manual signing ...ANSWER
Answered 2019-Dec-13 at 09:46You can use flutter install task and flutter build instead of to run the bash scripts. Check it here.
If your project needs cocoapods, you may need to add Cocoapods task to to your pipeline. Please check the example provided by Microsoft to learn more about how to build xcode apps.
For troubleshooting the profiles not fund error, you can check if the carthage lib was correctly configured into xcode projet. You can also try the solutions provided here.
Update:
For pods-runner not support error, Please try to add below to your pod file.
QUESTION
I've got a repository written in Swift, which is a standard cocoapod workspace (standard format with an example app created with Quick and Nimble tests, without UI tests) which builds (and runs with tests) on my local machine (Xcode 11.2.1, macOS Catalina 10.15.1) smoothly, however Travis CI build fails with error that one of the modules does not exist:
...ANSWER
Answered 2019-Dec-03 at 11:26I've finally adjusted settings to be able to successfully run on Travis CI. I'm not sure which setting affects the result, however, after these changes the build and tests run smoothly.
- downgraded
IPHONEOS_DEPLOYMENT_TARGET
to version 11 - set
platform :ios, '11.0'
inPodfile
- set
s.ios.deployment_target = '11.0'
in.podspec
- set
s.swift_versions = '5.0'
- removed
.swift-version
file
QUESTION
I am trying to use xcodebuild
to create an ipa of my iOS app. These are the commands my script is running
ANSWER
Answered 2019-Nov-23 at 21:11Through trial and error I figured out this same issue with my own build process. You need to take out the build flags:
QUESTION
This is a cocoapod I created with pod lib create
according to the cocoapods guide: https://guides.cocoapods.org/making/using-pod-lib-create.html. The directory stucture and files and the example project were generated for me.
My .travis.yml looks like this:
...ANSWER
Answered 2019-Sep-23 at 21:38I don't know why the pod install in my example was failing, but reverting back to the auto-generated .travis.yml fixed it. The only thing I had to modify was adding a the instructions under before_install:
pod setup
without this line - the pod lib lint
failed with a specific error:
ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for
Mux-Stats-AVPlayer (~> 1.0.0)
depended upon byMux-Stats-Google-IMA
) during validation.
gem update concurrent-ruby
without this line - the pod lib lint
failed with a different error:
ERROR | [iOS] unknown: Encountered an unknown error (uninitialized constant Concurrent::Promises) during validation.
So, this is what my .travis.yml
looks like now and it runs the tests and runs pod lib lint
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xcpretty
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
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