Skip to content

Commit 84c3cc8

Browse files
committed
fix ios e2e swift pod linkage
1 parent 645431c commit 84c3cc8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Example/e2etest/ios/AwesomeProject.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1414
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1515
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
16+
E2E0A0021A68108700A75B9A /* SwiftLinking.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2E0A0011A68108700A75B9A /* SwiftLinking.swift */; };
1617
/* End PBXBuildFile section */
1718

1819
/* Begin PBXFileReference section */
@@ -31,6 +32,7 @@
3132
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AwesomeProject/LaunchScreen.storyboard; sourceTree = "<group>"; };
3233
89C6BE57DB24E9ADA2F236DE /* Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig"; path = "Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig"; sourceTree = "<group>"; };
3334
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
35+
E2E0A0011A68108700A75B9A /* SwiftLinking.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SwiftLinking.swift; path = AwesomeProject/SwiftLinking.swift; sourceTree = "<group>"; };
3436
/* End PBXFileReference section */
3537

3638
/* Begin PBXFrameworksBuildPhase section */
@@ -55,6 +57,7 @@
5557
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
5658
13B07FB71A68108700A75B9A /* main.m */,
5759
77A7A2D881E69AE3DCCE6BFE /* PrivacyInfo.xcprivacy */,
60+
E2E0A0011A68108700A75B9A /* SwiftLinking.swift */,
5861
);
5962
name = AwesomeProject;
6063
sourceTree = "<group>";
@@ -279,6 +282,7 @@
279282
files = (
280283
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
281284
13B07FC11A68108700A75B9A /* main.m in Sources */,
285+
E2E0A0021A68108700A75B9A /* SwiftLinking.swift in Sources */,
282286
);
283287
runOnlyForDeploymentPostprocessing = 0;
284288
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Foundation
2+
3+
// Keep the app target Swift-aware so static Swift pods are linked by the Swift toolchain.
4+
final class SwiftLinking {}

0 commit comments

Comments
 (0)