Skip to content

Commit 9d5a5e3

Browse files
authored
feat: update to react native 0.77 (#25)
* feat: update to react native 0.77 * fix: fix null issue for Android
1 parent ceed304 commit 9d5a5e3

File tree

14 files changed

+1061
-779
lines changed

14 files changed

+1061
-779
lines changed

android/src/main/java/com/audioplayback/AudioPlaybackModule.kt

+6-6
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class AudioPlaybackModule internal constructor(context: ReactApplicationContext)
9999
val scheme = Uri.parse(uri).scheme
100100
if( scheme == null) {
101101
val fileDescriptorProps = FileDescriptorProps.fromLocalResource(reactApplicationContext, uri)
102-
val result = loadSoundNative(fileDescriptorProps.id, fileDescriptorProps.length, fileDescriptorProps.offset);
102+
val result = loadSoundNative(fileDescriptorProps.id, fileDescriptorProps.length, fileDescriptorProps.offset)
103103
result.error?.let { map.putString("error", it) } ?: map.putNull("error")
104104
result.id?.let { map.putString("id", it) } ?: map.putNull("id")
105105
promise.resolve(map)
@@ -113,7 +113,7 @@ class AudioPlaybackModule internal constructor(context: ReactApplicationContext)
113113
map.putString("error", "Failed to load sound file")
114114
map.putNull("id")
115115
} else {
116-
val result = loadSoundNative(fileDescriptorProps.id, fileDescriptorProps.length, fileDescriptorProps.offset);
116+
val result = loadSoundNative(fileDescriptorProps.id, fileDescriptorProps.length, fileDescriptorProps.offset)
117117
result.error?.let { map.putString("error", it) } ?: map.putNull("error")
118118
result.id?.let { map.putString("id", it) } ?: map.putNull("id")
119119
promise.resolve(map)
@@ -134,11 +134,11 @@ class AudioPlaybackModule internal constructor(context: ReactApplicationContext)
134134
for (i in 0 until arg.size()) {
135135
if (arg.getType(i) === ReadableType.Array) {
136136
// Get the nested array
137-
val nestedArray = arg.getArray(i)
137+
val nestedArray = arg.getArray(i)!! // Type was checked to be array so it is safe to use !!
138138

139139
// Extract id (String) and value (Boolean)
140140
if (nestedArray.size() == 2) {
141-
val string = nestedArray.getString(0) // First element as String
141+
val string = nestedArray.getString(0)!! // First element as String
142142
val bool = nestedArray.getBoolean(1) // Second element as Boolean
143143

144144
// Add to the respective arrays
@@ -162,11 +162,11 @@ class AudioPlaybackModule internal constructor(context: ReactApplicationContext)
162162
for (i in 0 until arg.size()) {
163163
if (arg.getType(i) === ReadableType.Array) {
164164
// Get the nested array
165-
val nestedArray = arg.getArray(i)
165+
val nestedArray = arg.getArray(i)!! // Type was checked to be array so it is safe to use !!
166166

167167
// Extract id (String) and value (Boolean)
168168
if (nestedArray.size() == 2) {
169-
val string = nestedArray.getString(0) // First element as String
169+
val string = nestedArray.getString(0)!! // First element as String
170170
val bool = nestedArray.getDouble(1) // Second element as Boolean
171171

172172
// Add to the respective arrays

example/Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ ruby ">= 2.6.10"
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'

example/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
minSdkVersion = 24
55
compileSdkVersion = 35
66
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()

example/ios/AppDelegate.swift

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import UIKit
2+
import React
3+
import React_RCTAppDelegate
4+
import ReactAppDependencyProvider
5+
6+
@main
7+
class AppDelegate: RCTAppDelegate {
8+
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
9+
self.moduleName = "AudioPlaybackExample"
10+
self.dependencyProvider = RCTAppDependencyProvider()
11+
12+
// You can add your custom initial props in the dictionary below.
13+
// They will be passed down to the ViewController used by React Native.
14+
self.initialProps = [:]
15+
16+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
17+
}
18+
19+
override func sourceURL(for bridge: RCTBridge) -> URL? {
20+
self.bundleURL()
21+
}
22+
23+
override func bundleURL() -> URL? {
24+
#if DEBUG
25+
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
26+
#else
27+
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
28+
#endif
29+
}
30+
}
31+

example/ios/AudioPlaybackExample.xcodeproj/project.pbxproj

+9-82
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
00E356F31AD99517003FC87E /* AudioPlaybackExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* AudioPlaybackExampleTests.m */; };
1110
0C80B921A6F3F58F76C31292 /* libPods-AudioPlaybackExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-AudioPlaybackExample.a */; };
12-
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
1311
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
14-
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15-
7699B88040F8A987B510C191 /* libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a */; };
1612
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1713
9884C936B89B0C17EB1CA193 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
14+
9BE827372D650AA600791449 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BE827362D650AA600791449 /* AppDelegate.swift */; };
1815
/* End PBXBuildFile section */
1916

2017
/* Begin PBXContainerItemProxy section */
@@ -30,21 +27,17 @@
3027
/* Begin PBXFileReference section */
3128
00E356EE1AD99517003FC87E /* AudioPlaybackExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AudioPlaybackExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3229
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
33-
00E356F21AD99517003FC87E /* AudioPlaybackExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AudioPlaybackExampleTests.m; sourceTree = "<group>"; };
3430
13B07F961A680F5B00A75B9A /* AudioPlaybackExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AudioPlaybackExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
3531
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = AudioPlaybackExample/AppDelegate.h; sourceTree = "<group>"; };
36-
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = AudioPlaybackExample/AppDelegate.mm; sourceTree = "<group>"; };
3732
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = AudioPlaybackExample/Images.xcassets; sourceTree = "<group>"; };
3833
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = AudioPlaybackExample/Info.plist; sourceTree = "<group>"; };
39-
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = AudioPlaybackExample/main.m; sourceTree = "<group>"; };
4034
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = AudioPlaybackExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
41-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4235
3B4392A12AC88292D35C810B /* Pods-AudioPlaybackExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AudioPlaybackExample.debug.xcconfig"; path = "Target Support Files/Pods-AudioPlaybackExample/Pods-AudioPlaybackExample.debug.xcconfig"; sourceTree = "<group>"; };
4336
5709B34CF0A7D63546082F79 /* Pods-AudioPlaybackExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AudioPlaybackExample.release.xcconfig"; path = "Target Support Files/Pods-AudioPlaybackExample/Pods-AudioPlaybackExample.release.xcconfig"; sourceTree = "<group>"; };
44-
5B7EB9410499542E8C5724F5 /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AudioPlaybackExample-AudioPlaybackExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
4537
5DCACB8F33CDC322A6C60F78 /* libPods-AudioPlaybackExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AudioPlaybackExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4638
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AudioPlaybackExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
47-
89C6BE57DB24E9ADA2F236DE /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AudioPlaybackExample-AudioPlaybackExampleTests.release.xcconfig"; path = "Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests.release.xcconfig"; sourceTree = "<group>"; };
39+
9BE827352D650AA600791449 /* AudioPlaybackExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AudioPlaybackExample-Bridging-Header.h"; sourceTree = "<group>"; };
40+
9BE827362D650AA600791449 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4841
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
4942
/* End PBXFileReference section */
5043

@@ -53,7 +46,6 @@
5346
isa = PBXFrameworksBuildPhase;
5447
buildActionMask = 2147483647;
5548
files = (
56-
7699B88040F8A987B510C191 /* libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a in Frameworks */,
5749
);
5850
runOnlyForDeploymentPostprocessing = 0;
5951
};
@@ -71,7 +63,6 @@
7163
00E356EF1AD99517003FC87E /* AudioPlaybackExampleTests */ = {
7264
isa = PBXGroup;
7365
children = (
74-
00E356F21AD99517003FC87E /* AudioPlaybackExampleTests.m */,
7566
00E356F01AD99517003FC87E /* Supporting Files */,
7667
);
7768
path = AudioPlaybackExampleTests;
@@ -89,12 +80,12 @@
8980
isa = PBXGroup;
9081
children = (
9182
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
92-
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
9383
13B07FB51A68108700A75B9A /* Images.xcassets */,
9484
13B07FB61A68108700A75B9A /* Info.plist */,
9585
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
96-
13B07FB71A68108700A75B9A /* main.m */,
9786
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
87+
9BE827362D650AA600791449 /* AppDelegate.swift */,
88+
9BE827352D650AA600791449 /* AudioPlaybackExample-Bridging-Header.h */,
9889
);
9990
name = AudioPlaybackExample;
10091
sourceTree = "<group>";
@@ -104,7 +95,6 @@
10495
children = (
10596
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
10697
5DCACB8F33CDC322A6C60F78 /* libPods-AudioPlaybackExample.a */,
107-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-AudioPlaybackExample-AudioPlaybackExampleTests.a */,
10898
);
10999
name = Frameworks;
110100
sourceTree = "<group>";
@@ -145,8 +135,6 @@
145135
children = (
146136
3B4392A12AC88292D35C810B /* Pods-AudioPlaybackExample.debug.xcconfig */,
147137
5709B34CF0A7D63546082F79 /* Pods-AudioPlaybackExample.release.xcconfig */,
148-
5B7EB9410499542E8C5724F5 /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.debug.xcconfig */,
149-
89C6BE57DB24E9ADA2F236DE /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.release.xcconfig */,
150138
);
151139
path = Pods;
152140
sourceTree = "<group>";
@@ -158,12 +146,9 @@
158146
isa = PBXNativeTarget;
159147
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "AudioPlaybackExampleTests" */;
160148
buildPhases = (
161-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
162149
00E356EA1AD99517003FC87E /* Sources */,
163150
00E356EB1AD99517003FC87E /* Frameworks */,
164151
00E356EC1AD99517003FC87E /* Resources */,
165-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
166-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
167152
);
168153
buildRules = (
169154
);
@@ -209,7 +194,7 @@
209194
TestTargetID = 13B07F861A680F5B00A75B9A;
210195
};
211196
13B07F861A680F5B00A75B9A = {
212-
LastSwiftMigration = 1120;
197+
LastSwiftMigration = 1620;
213198
};
214199
};
215200
};
@@ -286,28 +271,6 @@
286271
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample/Pods-AudioPlaybackExample-frameworks.sh\"\n";
287272
showEnvVarsInLog = 0;
288273
};
289-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
290-
isa = PBXShellScriptBuildPhase;
291-
buildActionMask = 2147483647;
292-
files = (
293-
);
294-
inputFileListPaths = (
295-
);
296-
inputPaths = (
297-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
298-
"${PODS_ROOT}/Manifest.lock",
299-
);
300-
name = "[CP] Check Pods Manifest.lock";
301-
outputFileListPaths = (
302-
);
303-
outputPaths = (
304-
"$(DERIVED_FILE_DIR)/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-checkManifestLockResult.txt",
305-
);
306-
runOnlyForDeploymentPostprocessing = 0;
307-
shellPath = /bin/sh;
308-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
309-
showEnvVarsInLog = 0;
310-
};
311274
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
312275
isa = PBXShellScriptBuildPhase;
313276
buildActionMask = 2147483647;
@@ -330,23 +293,6 @@
330293
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
331294
showEnvVarsInLog = 0;
332295
};
333-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
334-
isa = PBXShellScriptBuildPhase;
335-
buildActionMask = 2147483647;
336-
files = (
337-
);
338-
inputFileListPaths = (
339-
"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
340-
);
341-
name = "[CP] Embed Pods Frameworks";
342-
outputFileListPaths = (
343-
"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
344-
);
345-
runOnlyForDeploymentPostprocessing = 0;
346-
shellPath = /bin/sh;
347-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-frameworks.sh\"\n";
348-
showEnvVarsInLog = 0;
349-
};
350296
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
351297
isa = PBXShellScriptBuildPhase;
352298
buildActionMask = 2147483647;
@@ -364,40 +310,21 @@
364310
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample/Pods-AudioPlaybackExample-resources.sh\"\n";
365311
showEnvVarsInLog = 0;
366312
};
367-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
368-
isa = PBXShellScriptBuildPhase;
369-
buildActionMask = 2147483647;
370-
files = (
371-
);
372-
inputFileListPaths = (
373-
"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
374-
);
375-
name = "[CP] Copy Pods Resources";
376-
outputFileListPaths = (
377-
"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
378-
);
379-
runOnlyForDeploymentPostprocessing = 0;
380-
shellPath = /bin/sh;
381-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AudioPlaybackExample-AudioPlaybackExampleTests/Pods-AudioPlaybackExample-AudioPlaybackExampleTests-resources.sh\"\n";
382-
showEnvVarsInLog = 0;
383-
};
384313
/* End PBXShellScriptBuildPhase section */
385314

386315
/* Begin PBXSourcesBuildPhase section */
387316
00E356EA1AD99517003FC87E /* Sources */ = {
388317
isa = PBXSourcesBuildPhase;
389318
buildActionMask = 2147483647;
390319
files = (
391-
00E356F31AD99517003FC87E /* AudioPlaybackExampleTests.m in Sources */,
392320
);
393321
runOnlyForDeploymentPostprocessing = 0;
394322
};
395323
13B07F871A680F5B00A75B9A /* Sources */ = {
396324
isa = PBXSourcesBuildPhase;
397325
buildActionMask = 2147483647;
398326
files = (
399-
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
400-
13B07FC11A68108700A75B9A /* main.m in Sources */,
327+
9BE827372D650AA600791449 /* AppDelegate.swift in Sources */,
401328
);
402329
runOnlyForDeploymentPostprocessing = 0;
403330
};
@@ -414,7 +341,6 @@
414341
/* Begin XCBuildConfiguration section */
415342
00E356F61AD99517003FC87E /* Debug */ = {
416343
isa = XCBuildConfiguration;
417-
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.debug.xcconfig */;
418344
buildSettings = {
419345
BUNDLE_LOADER = "$(TEST_HOST)";
420346
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -441,7 +367,6 @@
441367
};
442368
00E356F71AD99517003FC87E /* Release */ = {
443369
isa = XCBuildConfiguration;
444-
baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-AudioPlaybackExample-AudioPlaybackExampleTests.release.xcconfig */;
445370
buildSettings = {
446371
BUNDLE_LOADER = "$(TEST_HOST)";
447372
COPY_PHASE_STRIP = NO;
@@ -486,6 +411,7 @@
486411
);
487412
PRODUCT_BUNDLE_IDENTIFIER = audioplayback.example;
488413
PRODUCT_NAME = AudioPlaybackExample;
414+
SWIFT_OBJC_BRIDGING_HEADER = "AudioPlaybackExample-Bridging-Header.h";
489415
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
490416
SWIFT_VERSION = 5.0;
491417
VERSIONING_SYSTEM = "apple-generic";
@@ -514,6 +440,7 @@
514440
);
515441
PRODUCT_BUNDLE_IDENTIFIER = audioplayback.example;
516442
PRODUCT_NAME = AudioPlaybackExample;
443+
SWIFT_OBJC_BRIDGING_HEADER = "AudioPlaybackExample-Bridging-Header.h";
517444
SWIFT_VERSION = 5.0;
518445
VERSIONING_SYSTEM = "apple-generic";
519446
};

0 commit comments

Comments
 (0)