Skip to content

Commit 520a7b6

Browse files
authored
macOS Vendor library (#57)
* chore: updated macos podspec * chore: added resources on more time * chore: updated macos podspec * chore: updated binaries from ci * chore: using classic version for macos and iOS * chore: updated macos version * chore: updated ios simulator version * chore: fixed macos detection for tests * chore: updated version
1 parent b2863d4 commit 520a7b6

File tree

15 files changed

+48
-111
lines changed

15 files changed

+48
-111
lines changed

.github/workflows/tests_android.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ on:
99

1010
jobs:
1111
e2e:
12-
runs-on: macos-latest
12+
runs-on: macos-13
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: actions/cache@v3
1616
with:
1717
path: |
1818
~/.gradle/caches
1919
~/.gradle/wrapper
20-
key: gradle
20+
key: gradle-android
2121
- uses: actions/cache@v3
2222
id: avd-cache
2323
with:
2424
path: |
2525
~/.android/avd/*
2626
~/.android/adb*
27-
key: avd
27+
key: avd-android
2828
- uses: actions/setup-java@v3
2929
with:
3030
distribution: 'temurin'
31-
java-version: '11'
31+
java-version: '17'
3232
- uses: android-actions/setup-android@v2
3333
- uses: subosito/flutter-action@main
3434
with:
@@ -38,18 +38,16 @@ jobs:
3838
- if: steps.avd-cache.outputs.cache-hit != 'true'
3939
uses: reactivecircus/android-emulator-runner@v2
4040
with:
41-
api-level: 29
41+
api-level: 30
4242
avd-name: PhoneAPI30
43-
arch: x86_64
4443
force-avd-creation: false
4544
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
4645
disable-animations: false
4746
script: echo "Generated AVD snapshot for caching."
4847
- uses: reactivecircus/android-emulator-runner@v2
4948
with:
50-
api-level: 29
49+
api-level: 30
5150
avd-name: PhoneAPI30
52-
arch: x86_64
5351
force-avd-creation: false
5452
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
5553
disable-animations: true

.github/workflows/tests_ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99

1010
jobs:
1111
e2e:
12-
runs-on: macos-latest
12+
runs-on: macos-13
1313
steps:
1414
- uses: futureware-tech/simulator-action@v1
1515
with:
16-
model: "iPhone 12 mini"
16+
model: "iPhone 14 Plus"
1717
- uses: actions/checkout@v3
1818
- uses: subosito/flutter-action@main
1919
with:

.github/workflows/tests_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
e2e:
12-
runs-on: macos-latest
12+
runs-on: macos-13
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: subosito/flutter-action@main

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.6.1
2+
3+
- Fixed macOS podspec issue when signing apps
4+
- Updated binaries to v1.4.2
5+
16
## 3.6.0
27

38
- Updated binaries to v1.4.1

example/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.11'
1+
platform :osx, '10.14'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/macos/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ EXTERNAL SOURCES:
1414
:path: Flutter/ephemeral
1515

1616
SPEC CHECKSUMS:
17-
fast_rsa: 87a964a26439f5b8a603949463525110ab025944
18-
FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
17+
fast_rsa: 47a50bec1042c8c01726007dc0590a078418f997
18+
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
1919

20-
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
20+
PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7
2121

22-
COCOAPODS: 1.10.1
22+
COCOAPODS: 1.12.1

example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXAggregateTarget section */
@@ -203,7 +203,7 @@
203203
isa = PBXProject;
204204
attributes = {
205205
LastSwiftUpdateCheck = 0920;
206-
LastUpgradeCheck = 0930;
206+
LastUpgradeCheck = 1300;
207207
ORGANIZATIONNAME = "The Flutter Authors";
208208
TargetAttributes = {
209209
33CC10EC2044A3C60003C045 = {
@@ -256,6 +256,7 @@
256256
/* Begin PBXShellScriptBuildPhase section */
257257
3399D490228B24CF009A79C7 /* ShellScript */ = {
258258
isa = PBXShellScriptBuildPhase;
259+
alwaysOutOfDate = 1;
259260
buildActionMask = 2147483647;
260261
files = (
261262
);
@@ -298,10 +299,12 @@
298299
);
299300
inputPaths = (
300301
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
302+
"${PODS_ROOT}/../Flutter/ephemeral/.symlinks/plugins/fast_rsa/macos/librsa_bridge.dylib",
301303
"${BUILT_PRODUCTS_DIR}/fast_rsa/fast_rsa.framework",
302304
);
303305
name = "[CP] Embed Pods Frameworks";
304306
outputPaths = (
307+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/librsa_bridge.dylib",
305308
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/fast_rsa.framework",
306309
);
307310
runOnlyForDeploymentPostprocessing = 0;
@@ -405,7 +408,7 @@
405408
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
406409
GCC_WARN_UNUSED_FUNCTION = YES;
407410
GCC_WARN_UNUSED_VARIABLE = YES;
408-
MACOSX_DEPLOYMENT_TARGET = 10.11;
411+
MACOSX_DEPLOYMENT_TARGET = 10.14;
409412
MTL_ENABLE_DEBUG_INFO = NO;
410413
SDKROOT = macosx;
411414
SWIFT_COMPILATION_MODE = wholemodule;
@@ -488,7 +491,7 @@
488491
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
489492
GCC_WARN_UNUSED_FUNCTION = YES;
490493
GCC_WARN_UNUSED_VARIABLE = YES;
491-
MACOSX_DEPLOYMENT_TARGET = 10.11;
494+
MACOSX_DEPLOYMENT_TARGET = 10.14;
492495
MTL_ENABLE_DEBUG_INFO = YES;
493496
ONLY_ACTIVE_ARCH = YES;
494497
SDKROOT = macosx;
@@ -535,7 +538,7 @@
535538
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
536539
GCC_WARN_UNUSED_FUNCTION = YES;
537540
GCC_WARN_UNUSED_VARIABLE = YES;
538-
MACOSX_DEPLOYMENT_TARGET = 10.11;
541+
MACOSX_DEPLOYMENT_TARGET = 10.14;
539542
MTL_ENABLE_DEBUG_INFO = NO;
540543
SDKROOT = macosx;
541544
SWIFT_COMPILATION_MODE = wholemodule;

example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1000"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ packages:
111111
path: ".."
112112
relative: true
113113
source: path
114-
version: "3.6.0"
114+
version: "3.6.1"
115115
ffi:
116116
dependency: transitive
117117
description:

ios/librsa_bridge.a

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)