Skip to content

Commit 0d6a35d

Browse files
authoredSep 25, 2024··
fix: AppDelegate.swift file reference (#59)
1 parent 0f4745b commit 0d6a35d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎template/ios/HelloWorld.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
0C80B921A6F3F58F76C31292 /* libPods-HelloWorld.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-HelloWorld.a */; };
1212
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1313
7699B88040F8A987B510C191 /* libPods-HelloWorld-HelloWorldTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-HelloWorld-HelloWorldTests.a */; };
14-
76D661D02C777F4B0022369A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D661CF2C777F470022369A /* AppDelegate.swift */; };
14+
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1515
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1616
/* End PBXBuildFile section */
1717

@@ -40,7 +40,7 @@
4040
5DCACB8F33CDC322A6C60F78 /* libPods-HelloWorld.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HelloWorld.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4141
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = HelloWorld/LaunchScreen.storyboard; sourceTree = "<group>"; };
4242
89C6BE57DB24E9ADA2F236DE /* Pods-HelloWorld-HelloWorldTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld-HelloWorldTests.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.release.xcconfig"; sourceTree = "<group>"; };
43-
76D661CF2C777F470022369A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
43+
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = HelloSwift/AppDelegate.swift; sourceTree = "<group>"; };
4444
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
4545
/* End PBXFileReference section */
4646

@@ -85,7 +85,7 @@
8585
isa = PBXGroup;
8686
children = (
8787
13B07FB51A68108700A75B9A /* Images.xcassets */,
88-
76D661CF2C777F470022369A /* AppDelegate.swift */,
88+
761780EC2CA45674006654EE /* AppDelegate.swift */,
8989
13B07FB61A68108700A75B9A /* Info.plist */,
9090
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
9191
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
@@ -389,7 +389,7 @@
389389
isa = PBXSourcesBuildPhase;
390390
buildActionMask = 2147483647;
391391
files = (
392-
76D661D02C777F4B0022369A /* AppDelegate.swift in Sources */,
392+
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */,
393393
);
394394
runOnlyForDeploymentPostprocessing = 0;
395395
};

‎template/ios/HelloWorld/AppDelegate.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import React_RCTAppDelegate
55
@main
66
class AppDelegate: RCTAppDelegate {
77
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
8-
self.moduleName = "HelloWorld";
8+
self.moduleName = "HelloWorld"
99

1010
// You can add your custom initial props in the dictionary below.
1111
// They will be passed down to the ViewController used by React Native.
12-
self.initialProps = [:];
12+
self.initialProps = [:]
1313

1414
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1515
}

0 commit comments

Comments
 (0)
Please sign in to comment.