Skip to content

Commit a6eade9

Browse files
authored
[ogg_opus_player] ios replace static libraries to xcframework (#210)
* [ogg_opus_player] replace static libraries to xcframework * [ogg_opus_player] improve * fix
1 parent ecce706 commit a6eade9

File tree

48 files changed

+12920
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+12920
-12
lines changed

packages/ogg_opus_player/example/ios/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ EXTERNAL SOURCES:
2020

2121
SPEC CHECKSUMS:
2222
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
23-
ogg_opus_player: eefeb790c75ae57dfabcbd1025cca9b332cd91a0
23+
ogg_opus_player: 01dc6eaa63d1e061f0065f41845a0a9ea76b9396
2424
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
2525

2626
PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

packages/ogg_opus_player/example/ios/Runner.xcodeproj/project.pbxproj

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -121,7 +121,6 @@
121121
9EE8D2F8E5A2191E9B5A802D /* Pods-Runner.release.xcconfig */,
122122
EAB2AEA0E954D42F88A0D220 /* Pods-Runner.profile.xcconfig */,
123123
);
124-
name = Pods;
125124
path = Pods;
126125
sourceTree = "<group>";
127126
};
@@ -200,6 +199,7 @@
200199
/* Begin PBXShellScriptBuildPhase section */
201200
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202201
isa = PBXShellScriptBuildPhase;
202+
alwaysOutOfDate = 1;
203203
buildActionMask = 2147483647;
204204
files = (
205205
);
@@ -253,6 +253,7 @@
253253
};
254254
9740EEB61CF901F6004384FC /* Run Script */ = {
255255
isa = PBXShellScriptBuildPhase;
256+
alwaysOutOfDate = 1;
256257
buildActionMask = 2147483647;
257258
files = (
258259
);
@@ -358,6 +359,7 @@
358359
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
359360
DEVELOPMENT_TEAM = MY267Y3M37;
360361
ENABLE_BITCODE = NO;
362+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
361363
INFOPLIST_FILE = Runner/Info.plist;
362364
LD_RUNPATH_SEARCH_PATHS = (
363365
"$(inherited)",
@@ -487,6 +489,7 @@
487489
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
488490
DEVELOPMENT_TEAM = MY267Y3M37;
489491
ENABLE_BITCODE = NO;
492+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
490493
INFOPLIST_FILE = Runner/Info.plist;
491494
LD_RUNPATH_SEARCH_PATHS = (
492495
"$(inherited)",
@@ -510,6 +513,7 @@
510513
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
511514
DEVELOPMENT_TEAM = MY267Y3M37;
512515
ENABLE_BITCODE = NO;
516+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
513517
INFOPLIST_FILE = Runner/Info.plist;
514518
LD_RUNPATH_SEARCH_PATHS = (
515519
"$(inherited)",

packages/ogg_opus_player/example/ios/Runner/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@
4545
<true/>
4646
<key>NSMicrophoneUsageDescription</key>
4747
<string>Example uses your microphone to record voice for test.</string>
48+
<key>UIApplicationSupportsIndirectInputEvents</key>
49+
<true/>
4850
</dict>
4951
</plist>

packages/ogg_opus_player/example/pubspec.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ packages:
116116
dependency: transitive
117117
description:
118118
name: matcher
119-
sha256: c94db23593b89766cda57aab9ac311e3616cf87c6fa4e9749df032f66f30dcb8
119+
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
120120
url: "https://pub.dev"
121121
source: hosted
122-
version: "0.12.14"
122+
version: "0.12.13"
123123
material_color_utilities:
124124
dependency: transitive
125125
description:
@@ -142,15 +142,15 @@ packages:
142142
path: ".."
143143
relative: true
144144
source: path
145-
version: "0.6.3"
145+
version: "0.7.0"
146146
path:
147147
dependency: transitive
148148
description:
149149
name: path
150-
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
150+
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
151151
url: "https://pub.dev"
152152
source: hosted
153-
version: "1.8.3"
153+
version: "1.8.2"
154154
path_provider:
155155
dependency: "direct main"
156156
description:
@@ -288,10 +288,10 @@ packages:
288288
dependency: transitive
289289
description:
290290
name: test_api
291-
sha256: c9282698e2982b6c3817037554e52f99d4daba493e8028f8112a83d68ccd0b12
291+
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
292292
url: "https://pub.dev"
293293
source: hosted
294-
version: "0.4.17"
294+
version: "0.4.16"
295295
vector_math:
296296
dependency: transitive
297297
description:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>HeadersPath</key>
9+
<string>Headers</string>
10+
<key>LibraryIdentifier</key>
11+
<string>ios-arm64_x86_64-simulator</string>
12+
<key>LibraryPath</key>
13+
<string>libogg.a</string>
14+
<key>SupportedArchitectures</key>
15+
<array>
16+
<string>arm64</string>
17+
<string>x86_64</string>
18+
</array>
19+
<key>SupportedPlatform</key>
20+
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
23+
</dict>
24+
<dict>
25+
<key>HeadersPath</key>
26+
<string>Headers</string>
27+
<key>LibraryIdentifier</key>
28+
<string>ios-arm64</string>
29+
<key>LibraryPath</key>
30+
<string>libogg.a</string>
31+
<key>SupportedArchitectures</key>
32+
<array>
33+
<string>arm64</string>
34+
</array>
35+
<key>SupportedPlatform</key>
36+
<string>ios</string>
37+
</dict>
38+
</array>
39+
<key>CFBundlePackageType</key>
40+
<string>XFWK</string>
41+
<key>XCFrameworkFormatVersion</key>
42+
<string>1.0</string>
43+
</dict>
44+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#ifndef __CONFIG_TYPES_H__
2+
#define __CONFIG_TYPES_H__
3+
4+
/* these are filled in by configure or cmake*/
5+
#define INCLUDE_INTTYPES_H 1
6+
#define INCLUDE_STDINT_H 1
7+
#define INCLUDE_SYS_TYPES_H 1
8+
9+
#if INCLUDE_INTTYPES_H
10+
# include <inttypes.h>
11+
#endif
12+
#if INCLUDE_STDINT_H
13+
# include <stdint.h>
14+
#endif
15+
#if INCLUDE_SYS_TYPES_H
16+
# include <sys/types.h>
17+
#endif
18+
19+
typedef int16_t ogg_int16_t;
20+
typedef uint16_t ogg_uint16_t;
21+
typedef int32_t ogg_int32_t;
22+
typedef uint32_t ogg_uint32_t;
23+
typedef int64_t ogg_int64_t;
24+
typedef uint64_t ogg_uint64_t;
25+
26+
#endif

0 commit comments

Comments
 (0)