circleci-public / circleci-demo-ios Goto Github PK
View Code? Open in Web Editor NEWA sample iOS app that builds on CircleCI
Home Page: https://circleci.com/gh/CircleCI-Public/circleci-demo-ios
License: MIT License
A sample iOS app that builds on CircleCI
Home Page: https://circleci.com/gh/CircleCI-Public/circleci-demo-ios
License: MIT License
I am having permissions issues while trying to run scan with CircleCI. Any help would be appreciated!
test:
macos:
xcode: "11.4"
working_directory: /Users/distiller/project
environment:
FL_OUTPUT_DIR: output
FASTLANE_LANE: test
shell: /bin/bash --login -o pipefail
steps:
- checkout
- restore_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
- run: bundle check || bundle install --path vendor/bundle
- save_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
name: fastlane
command: bundle exec fastlane $FASTLANE_LANE
- store_artifacts:
path: output
- store_test_results:
path: output/scan
Fastfile looks sort of like
platform :ios do
before_all do
setup_circle_ci
end
lane :test do
workspace = "./PxApple.xcworkspace"
run_tests(workspace: workspace, output_directory: "./fastlane/test_output", scheme: "PxNetwork")
end
My Gemfile looks like
# Gemfile
source "https://rubygems.org"
gem 'fastlane'
(Fastlane 2.152.0)
Fastlane Env:
[โ ] ๐ [โ ] ๐ [โ น] ๐ [โ ธ] ๐ [โ ผ] ๐ [โ ด] ๐ [โ ฆ] ๐ [โ ง] ๐ [โ ] ๐ [โ] ๐
[20:26:39]: Sending anonymous analytics information
[20:26:39]: Learn more at https://docs.fastlane.tools/#metrics
[20:26:39]: No personal or sensitive data is sent.
[20:26:39]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[20:26:39]: Generating fastlane environment output, this might take a few seconds...
<details><summary>๐ซ fastlane environment ๐ซ</summary>
### Stack
| Key | Value |
| --------------------------- | -------------------------------------------------------------- |
| OS | 10.15.4 |
| Ruby | 2.6.3 |
| Bundler? | true |
| Git | git version 2.26.1 |
| Installation Source | ~/project/vendor/bundle/ruby/2.6.0/bin/fastlane |
| Host | Mac OS X 10.15.4 (19E266) |
| Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version | LibreSSL 2.8.3 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode-11.4.1.app/Contents/Developer/ |
| Xcode Version | 11.4.1 |
### System Locale
| Error |
| --------------------------- |
| No Locale with UTF8 found ๐ซ |
### fastlane files:
<details><summary>`./fastlane/Fastfile`</summary>
```ruby
default_platform(:ios)
platform :ios do
before_all do
setup_circle_ci
end
lane :lint do
swiftlint(
mode: :lint,
config_file: "fastlane/.swiftlint",
raise_if_swiftlint_error: true,
ignore_exit_status: false
)
end
lane :correct do
swiftlint(
mode: :autocorrect,
config_file: "fastlane/.swiftlint",
raise_if_swiftlint_error: true,
ignore_exit_status: false
)
end
lane :test do
workspace = "./PxApple.xcworkspace"
run_tests(workspace: workspace, output_directory: "./fastlane/test_output", scheme: "PxNetwork")
end
lane :buildsdkdemoapps do
codesigning_identity = ""
skip_package_ipa = "true"
skip_package_pkg = "true"
skip_archive = "true"
workspace = "./PxApple.xcworkspace"
gym(codesigning_identity: codesigning_identity, skip_archive: skip_archive, skip_package_ipa: skip_package_ipa, skip_package_pkg: skip_package_pkg, skip_codesigning: "true", workspace: workspace, scheme: "Proxy ID")
gym(codesigning_identity: codesigning_identity, skip_archive: skip_archive, skip_package_ipa: skip_package_ipa, skip_package_pkg: skip_package_pkg, skip_codesigning: "true", workspace: workspace, scheme: "ProxyCheckIn")
end
end
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.152.0 | โ Up-To-Date |
No plugins Loaded
Gem | Version |
---|---|
did_you_mean | 1.3.0 |
bundler | 1.17.2 |
etc | 1.0.1 |
forwardable | 1.2.0 |
rake | 13.0.1 |
CFPropertyList | 3.0.2 |
public_suffix | 4.0.5 |
addressable | 2.7.0 |
atomos | 0.1.3 |
aws-eventstream | 1.1.0 |
aws-partitions | 1.343.0 |
aws-sigv4 | 1.2.1 |
jmespath | 1.4.0 |
aws-sdk-core | 3.104.0 |
aws-sdk-kms | 1.36.0 |
aws-sdk-s3 | 1.74.0 |
babosa | 1.0.3 |
claide | 1.0.3 |
colored | 1.2 |
colored2 | 3.1.2 |
highline | 1.7.10 |
commander-fastlane | 4.4.6 |
declarative | 0.0.20 |
declarative-option | 0.1.0 |
digest-crc | 0.6.1 |
unf_ext | 0.0.7.7 |
unf | 0.1.4 |
domain_name | 0.5.20190701 |
dotenv | 2.7.6 |
emoji_regex | 3.0.0 |
excon | 0.75.0 |
multipart-post | 2.0.0 |
faraday | 0.17.3 |
http-cookie | 1.0.3 |
faraday-cookie_jar | 0.0.6 |
faraday_middleware | 0.14.0 |
fastimage | 2.1.7 |
gh_inspector | 1.1.3 |
jwt | 2.2.1 |
memoist | 0.16.2 |
multi_json | 1.15.0 |
os | 1.1.0 |
signet | 0.14.0 |
googleauth | 0.13.0 |
httpclient | 2.8.3 |
mini_mime | 1.0.2 |
uber | 0.1.0 |
representable | 3.0.4 |
retriable | 3.1.2 |
google-api-client | 0.38.0 |
google-cloud-env | 1.3.3 |
google-cloud-errors | 1.0.1 |
google-cloud-core | 1.5.0 |
google-cloud-storage | 1.26.2 |
json | 2.3.1 |
mini_magick | 4.10.1 |
plist | 3.5.0 |
rubyzip | 2.3.0 |
security | 0.1.3 |
naturally | 2.2.0 |
simctl | 1.6.8 |
slack-notifier | 2.3.2 |
terminal-notifier | 2.0.0 |
unicode-display_width | 1.7.0 |
terminal-table | 1.8.0 |
tty-screen | 0.8.1 |
tty-cursor | 0.7.1 |
tty-spinner | 0.9.3 |
word_wrap | 1.0.0 |
nanaimo | 0.3.0 |
xcodeproj | 1.17.1 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
xcpretty-travis-formatter | 1.0.0 |
generated on: 2020-07-17
[20:26:39]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public. [20:26:39]: Open https://github.com/fastlane/fastlane/issues/new to submit a new issue โ ```I am getting this error:
Looking for related GitHub issues on fastlane/fastlane...
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run `fastlane env` to append the fastlane environment to your issue
bundler: failed to load command: fastlane (/Users/distiller/project/vendor/bundle/ruby/2.6.0/bin/fastlane)
Errno::EPERM: [!] Operation not permitted - //System/Volumes/Data/private/var/db/lockdown
My path: /github/proxyco/px-apple/212/workflows/6e6463af-b7e7-44bc-9abd-03ef63c52e8d/jobs/396
The demo project specifies following version for Xcode:
macos:
xcode: "9.0"
This might lead to confusion when setting other version (9.2 for example). Since 9.2 doesn't work and you have to explicitly specify 9.2.0 I would suggest to follow the same naming concept in demo project: 9.0.0
I'm trying to get match to work on circle ci v2 using:
macos:
xcode: "9.1.0"
Can tell me what (if any) "Environment Variable" would be set for the this project?
my builds keep getting stuck @ Running script '[CP] Embed Pods Frameworks'
I have started with the default config.yml file, taken directly from the current Fastlane config, found here: https://circleci.com/docs/2.0/testing-ios/ .
Unfortunately macos machines do not have bundler upgraded to 2.0, which I would like to use.
#!/bin/bash --login -o pipefail
bundle install
^D๏ฟฝ๏ฟฝ^D๏ฟฝ๏ฟฝYou must use Bundler 2 or greater with this lockfile.
Exited with code 20
The build-and-test job fails on bundle install because of versioning, but I was unable to find any documentation or do anything that allowed me to upgrade bundler to version 2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.