File tree Expand file tree Collapse file tree 5 files changed +31
-8
lines changed Expand file tree Collapse file tree 5 files changed +31
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ concurrency:
12
12
13
13
jobs :
14
14
build :
15
- if : github.event.pull_request.draft == false && github.event.pull_request.head.repo.fork == false
15
+ # if: github.event.pull_request.draft == false
16
+ # Temporarily disabled due to issues with SonarCloud account.
17
+ if : false
16
18
runs-on : ubuntu-24.04
17
19
steps :
18
20
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ SPEC REPOS:
11
11
SPEC CHECKSUMS:
12
12
WalletCoreSwiftProtobuf: a4798576a2d309511fc45f81843d348732ec571d
13
13
14
- PODFILE CHECKSUM: 1112f54f83017d2c0c1d9d4bf5c21f65c5187d0e
14
+ PODFILE CHECKSUM: bbbccdbb7b3665e060820f476dbf21d5b1f8e605
15
15
16
16
COCOAPODS: 1.16.2
Original file line number Diff line number Diff line change 88
88
89
89
# Generate Xcode project
90
90
if [ -x " $( command -v xcodegen) " ] && isTargetSpecified " ios" ; then
91
- pushd swift
92
- xcodegen
93
- pod install
94
- popd
91
+ tools/xcodegen
95
92
elif isTargetSpecified " ios" ; then
96
93
echo -e " \nWARNING: Skipped generating Xcode project because the xcodegen tool is not installed."
97
94
else
Original file line number Diff line number Diff line change 5
5
set -e
6
6
set -o pipefail
7
7
8
+ tools/xcodegen
9
+
8
10
pushd swift
9
11
10
- xcodegen && pod install
11
12
xcodebuild -workspace TrustWalletCore.xcworkspace \
12
13
-scheme WalletCore \
13
14
-sdk iphonesimulator \
14
- -destination " platform=iOS Simulator,name=iPhone 15 ,OS=17.2 " \
15
+ -destination " platform=iOS Simulator,name=iPhone 16 ,OS=18.5 " \
15
16
test | xcbeautify
16
17
17
18
popd
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ #
3
+ # This script generates the Xcode project using xcodegen.
4
+
5
+ pushd swift
6
+
7
+ xcodegen
8
+
9
+ # Update project version from 70 to 56
10
+ # This is a workaround for a bug in xcodegen 2.44.0 that causes pod install will fail with error:
11
+ # ArgumentError - [Xcodeproj] Unable to find compatibility version string for object version `70`.
12
+ echo " Updating project version from 70 to 56..."
13
+ find . -name " project.pbxproj" -type f | while read -r file; do
14
+ if grep -q " objectVersion = 70;" " $file " || grep -q " preferredProjectObjectVersion = 70;" " $file " ; then
15
+ sed -i ' ' ' s/objectVersion = 70;/objectVersion = 56;/g' " $file "
16
+ sed -i ' ' ' s/preferredProjectObjectVersion = 70;/preferredProjectObjectVersion = 56;/g' " $file "
17
+ echo " ✓ project.pbxproj objectVersion in $file to 56"
18
+ fi
19
+ done
20
+
21
+ pod install
22
+
23
+ popd
You can’t perform that action at this time.
0 commit comments