This repository has been archived by the owner on May 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
TY-1786 build dart example #71
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
edbfa99
build example
Robert-Steiner 698e3e6
Update .github/workflows/ci.yml [skip ci]
Robert-Steiner 925e862
Update .github/workflows/ci.yml [skip ci]
Robert-Steiner 2d25c65
fix cp cmd
Robert-Steiner 8df22c0
add comment to github issue link [skip ci]
Robert-Steiner 525ab9e
add build archive step
Robert-Steiner 038f2a7
disable code sign
Robert-Steiner 1d642d5
update flutter
Robert-Steiner 9955f7c
pin xcode version to 12.2
Robert-Steiner 0917705
Revert xcode changes
Robert-Steiner 81bf848
test with embed-bitcode=yes
Robert-Steiner 74fc152
test -Cdebuginfo=0
Robert-Steiner 1bc5994
disable bitcode for pods deps
Robert-Steiner 5239f78
wip
Robert-Steiner 520b808
use EXCLUDED_ARCHS instead of ARCHS
Robert-Steiner c0412a1
remove DEVELOPMENT_TEAM
Robert-Steiner 14f47e7
only download ios artifacts
Robert-Steiner 3ec60be
use test cache for build lib
Robert-Steiner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Uncomment this line to define a global platform for your project | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need this now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean the file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need it to set some custom options for our pods/dependencies. Before we just used the default settings that are generated by flutter when the file doesn't exist. |
||
# platform :ios, '9.0' | ||
platform :ios, '12.1' | ||
|
||
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
ENV['COCOAPODS_DISABLE_STATS'] = 'true' | ||
|
@@ -37,5 +37,9 @@ end | |
post_install do |installer| | ||
installer.pods_project.targets.each do |target| | ||
flutter_additional_ios_build_settings(target) | ||
target.build_configurations.each do |config| | ||
config.build_settings['ENABLE_BITCODE'] = 'NO' | ||
config.build_settings["EXCLUDED_ARCHS"] = "armv7" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
PODS: | ||
- Flutter (1.0.0) | ||
- path_provider (0.0.1): | ||
- Flutter | ||
- xayn_ai_ffi_dart (0.0.1): | ||
- Flutter | ||
|
||
DEPENDENCIES: | ||
- Flutter (from `Flutter`) | ||
- path_provider (from `.symlinks/plugins/path_provider/ios`) | ||
- xayn_ai_ffi_dart (from `.symlinks/plugins/xayn_ai_ffi_dart/ios`) | ||
|
||
EXTERNAL SOURCES: | ||
Flutter: | ||
:path: Flutter | ||
path_provider: | ||
:path: ".symlinks/plugins/path_provider/ios" | ||
xayn_ai_ffi_dart: | ||
:path: ".symlinks/plugins/xayn_ai_ffi_dart/ios" | ||
|
||
SPEC CHECKSUMS: | ||
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c | ||
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c | ||
xayn_ai_ffi_dart: 286b391bc1afb0c5b9c3d3e15cf1a54df623ffda | ||
|
||
PODFILE CHECKSUM: 8462e319511eccc6fb15d8c90ec86661a5952ac8 | ||
|
||
COCOAPODS: 1.10.1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering if we can reuse what is built during the test job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo test
does not produce the library but we can reuse the cache of the test job. Then only the library has to be created and not everything else. I will change itThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done