From 33885fec3e945cb5847419f6664fe0b3cd97ac0f Mon Sep 17 00:00:00 2001 From: 7c00 Date: Mon, 29 Aug 2022 16:26:33 +0800 Subject: [PATCH] Update ios project --- ios/Podfile | 4 +- .../project.pbxproj | 168 +++++++++--------- .../xcshareddata/xcschemes/example.xcscheme} | 31 ++-- .../AppDelegate.h | 0 .../AppDelegate.mm | 0 .../AppIcon.appiconset/Contents.json | 0 .../Images.xcassets/Contents.json | 0 ios/{RNAMapGeolocation => example}/Info.plist | 2 +- .../LaunchScreen.storyboard | 2 +- ios/{RNAMapGeolocation => example}/main.m | 0 .../Info.plist | 0 .../exampleTests.m} | 4 +- 12 files changed, 100 insertions(+), 111 deletions(-) rename ios/{RNAMapGeolocation.xcodeproj => example.xcodeproj}/project.pbxproj (70%) rename ios/{RNAMapGeolocation.xcodeproj/xcshareddata/xcschemes/RNAMapGeolocation.xcscheme => example.xcodeproj/xcshareddata/xcschemes/example.xcscheme} (73%) rename ios/{RNAMapGeolocation => example}/AppDelegate.h (100%) rename ios/{RNAMapGeolocation => example}/AppDelegate.mm (100%) rename ios/{RNAMapGeolocation => example}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename ios/{RNAMapGeolocation => example}/Images.xcassets/Contents.json (100%) rename ios/{RNAMapGeolocation => example}/Info.plist (97%) rename ios/{RNAMapGeolocation => example}/LaunchScreen.storyboard (94%) rename ios/{RNAMapGeolocation => example}/main.m (100%) rename ios/{RNAMapGeolocationTests => exampleTests}/Info.plist (100%) rename ios/{RNAMapGeolocationTests/RNAMapGeolocationTests.m => exampleTests/exampleTests.m} (95%) diff --git a/ios/Podfile b/ios/Podfile index d2a92bc..0205e8f 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -6,7 +6,7 @@ install! 'cocoapods', :deterministic_uuids => false production = ENV["PRODUCTION"] == "1" -target 'RNAMapGeolocation' do +target 'example' do config = use_native_modules! # Flags change depending on the env values. @@ -23,7 +23,7 @@ target 'RNAMapGeolocation' do :app_path => "#{Pod::Config.instance.installation_root}/.." ) - target 'RNAMapGeolocationTests' do + target 'exampleTests' do inherit! :complete # Pods for testing end diff --git a/ios/RNAMapGeolocation.xcodeproj/project.pbxproj b/ios/example.xcodeproj/project.pbxproj similarity index 70% rename from ios/RNAMapGeolocation.xcodeproj/project.pbxproj rename to ios/example.xcodeproj/project.pbxproj index 965404c..64e473d 100644 --- a/ios/RNAMapGeolocation.xcodeproj/project.pbxproj +++ b/ios/example.xcodeproj/project.pbxproj @@ -7,12 +7,12 @@ objects = { /* Begin PBXBuildFile section */ - 00E356F31AD99517003FC87E /* RNAMapGeolocationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNAMapGeolocationTests.m */; }; - 0C80B921A6F3F58F76C31292 /* libPods-RNAMapGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-RNAMapGeolocation.a */; }; + 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; + 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */; }; 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 7699B88040F8A987B510C191 /* libPods-RNAMapGeolocation-RNAMapGeolocationTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-RNAMapGeolocation-RNAMapGeolocationTests.a */; }; + 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ @@ -22,27 +22,27 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = RNAMapGeolocation; + remoteInfo = example; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 00E356EE1AD99517003FC87E /* RNAMapGeolocationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNAMapGeolocationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* RNAMapGeolocationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNAMapGeolocationTests.m; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* RNAMapGeolocation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNAMapGeolocation.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNAMapGeolocation/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = RNAMapGeolocation/AppDelegate.mm; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNAMapGeolocation/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNAMapGeolocation/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNAMapGeolocation/main.m; sourceTree = ""; }; - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-RNAMapGeolocation-RNAMapGeolocationTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNAMapGeolocation-RNAMapGeolocationTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B4392A12AC88292D35C810B /* Pods-RNAMapGeolocation.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAMapGeolocation.debug.xcconfig"; path = "Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation.debug.xcconfig"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-RNAMapGeolocation.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAMapGeolocation.release.xcconfig"; path = "Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation.release.xcconfig"; sourceTree = ""; }; - 5B7EB9410499542E8C5724F5 /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAMapGeolocation-RNAMapGeolocationTests.debug.xcconfig"; path = "Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests.debug.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-RNAMapGeolocation.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNAMapGeolocation.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNAMapGeolocation/LaunchScreen.storyboard; sourceTree = ""; }; - 89C6BE57DB24E9ADA2F236DE /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAMapGeolocation-RNAMapGeolocationTests.release.xcconfig"; path = "Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests.release.xcconfig"; sourceTree = ""; }; + 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = example/AppDelegate.mm; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = ""; }; + 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.debug.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.debug.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = example/LaunchScreen.storyboard; sourceTree = ""; }; + 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.release.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.release.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -51,7 +51,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7699B88040F8A987B510C191 /* libPods-RNAMapGeolocation-RNAMapGeolocationTests.a in Frameworks */, + 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -59,20 +59,20 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-RNAMapGeolocation.a in Frameworks */, + 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 00E356EF1AD99517003FC87E /* RNAMapGeolocationTests */ = { + 00E356EF1AD99517003FC87E /* exampleTests */ = { isa = PBXGroup; children = ( - 00E356F21AD99517003FC87E /* RNAMapGeolocationTests.m */, + 00E356F21AD99517003FC87E /* exampleTests.m */, 00E356F01AD99517003FC87E /* Supporting Files */, ); - path = RNAMapGeolocationTests; + path = exampleTests; sourceTree = ""; }; 00E356F01AD99517003FC87E /* Supporting Files */ = { @@ -83,7 +83,7 @@ name = "Supporting Files"; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* RNAMapGeolocation */ = { + 13B07FAE1A68108700A75B9A /* example */ = { isa = PBXGroup; children = ( 13B07FAF1A68108700A75B9A /* AppDelegate.h */, @@ -93,15 +93,15 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB71A68108700A75B9A /* main.m */, ); - name = RNAMapGeolocation; + name = example; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-RNAMapGeolocation.a */, - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-RNAMapGeolocation-RNAMapGeolocationTests.a */, + 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */, + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */, ); name = Frameworks; sourceTree = ""; @@ -116,9 +116,9 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* RNAMapGeolocation */, + 13B07FAE1A68108700A75B9A /* example */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* RNAMapGeolocationTests */, + 00E356EF1AD99517003FC87E /* exampleTests */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, BBD78D7AC51CEA395F1C20DB /* Pods */, @@ -131,8 +131,8 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* RNAMapGeolocation.app */, - 00E356EE1AD99517003FC87E /* RNAMapGeolocationTests.xctest */, + 13B07F961A680F5B00A75B9A /* example.app */, + 00E356EE1AD99517003FC87E /* exampleTests.xctest */, ); name = Products; sourceTree = ""; @@ -140,10 +140,10 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 3B4392A12AC88292D35C810B /* Pods-RNAMapGeolocation.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-RNAMapGeolocation.release.xcconfig */, - 5B7EB9410499542E8C5724F5 /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.debug.xcconfig */, - 89C6BE57DB24E9ADA2F236DE /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.release.xcconfig */, + 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */, + 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */, + 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -151,9 +151,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* RNAMapGeolocationTests */ = { + 00E356ED1AD99517003FC87E /* exampleTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNAMapGeolocationTests" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; buildPhases = ( A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, @@ -167,14 +167,14 @@ dependencies = ( 00E356F51AD99517003FC87E /* PBXTargetDependency */, ); - name = RNAMapGeolocationTests; - productName = RNAMapGeolocationTests; - productReference = 00E356EE1AD99517003FC87E /* RNAMapGeolocationTests.xctest */; + name = exampleTests; + productName = exampleTests; + productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 13B07F861A680F5B00A75B9A /* RNAMapGeolocation */ = { + 13B07F861A680F5B00A75B9A /* example */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAMapGeolocation" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; buildPhases = ( C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, @@ -189,9 +189,9 @@ ); dependencies = ( ); - name = RNAMapGeolocation; - productName = RNAMapGeolocation; - productReference = 13B07F961A680F5B00A75B9A /* RNAMapGeolocation.app */; + name = example; + productName = example; + productReference = 13B07F961A680F5B00A75B9A /* example.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -211,7 +211,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAMapGeolocation" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -224,8 +224,8 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* RNAMapGeolocation */, - 00E356ED1AD99517003FC87E /* RNAMapGeolocationTests */, + 13B07F861A680F5B00A75B9A /* example */, + 00E356ED1AD99517003FC87E /* exampleTests */, ); }; /* End PBXProject section */ @@ -272,15 +272,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { @@ -298,7 +298,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RNAMapGeolocation-RNAMapGeolocationTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-example-exampleTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -320,7 +320,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RNAMapGeolocation-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -333,15 +333,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { @@ -350,15 +350,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation/Pods-RNAMapGeolocation-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh\"\n"; showEnvVarsInLog = 0; }; F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { @@ -367,15 +367,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAMapGeolocation-RNAMapGeolocationTests/Pods-RNAMapGeolocation-RNAMapGeolocationTests-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -404,7 +404,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 00E356F31AD99517003FC87E /* RNAMapGeolocationTests.m in Sources */, + 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -422,7 +422,7 @@ /* Begin PBXTargetDependency section */ 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* RNAMapGeolocation */; + target = 13B07F861A680F5B00A75B9A /* example */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -430,14 +430,14 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.debug.xcconfig */; + baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = RNAMapGeolocationTests/Info.plist; + INFOPLIST_FILE = exampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -451,17 +451,17 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAMapGeolocation.app/RNAMapGeolocation"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; }; name = Debug; }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-RNAMapGeolocation-RNAMapGeolocationTests.release.xcconfig */; + baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - INFOPLIST_FILE = RNAMapGeolocationTests/Info.plist; + INFOPLIST_FILE = exampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -475,20 +475,19 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAMapGeolocation.app/RNAMapGeolocation"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; }; name = Release; }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-RNAMapGeolocation.debug.xcconfig */; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = K4M4A3343U; ENABLE_BITCODE = NO; - INFOPLIST_FILE = RNAMapGeolocation/Info.plist; + INFOPLIST_FILE = example/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -498,8 +497,8 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = qiuxiang.example.RNAMapGeolocation; - PRODUCT_NAME = RNAMapGeolocation; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = example; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -508,13 +507,12 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-RNAMapGeolocation.release.xcconfig */; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = K4M4A3343U; - INFOPLIST_FILE = RNAMapGeolocation/Info.plist; + INFOPLIST_FILE = example/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -524,8 +522,8 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = qiuxiang.example.RNAMapGeolocation; - PRODUCT_NAME = RNAMapGeolocation; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = example; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -598,7 +596,6 @@ "-DFOLLY_MOBILE=1", "-DFOLLY_USE_LIBCPP=1", ); - REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; }; name = Debug; @@ -662,7 +659,6 @@ "-DFOLLY_MOBILE=1", "-DFOLLY_USE_LIBCPP=1", ); - REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; @@ -671,7 +667,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNAMapGeolocationTests" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 00E356F61AD99517003FC87E /* Debug */, @@ -680,7 +676,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAMapGeolocation" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -689,7 +685,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAMapGeolocation" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/ios/RNAMapGeolocation.xcodeproj/xcshareddata/xcschemes/RNAMapGeolocation.xcscheme b/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme similarity index 73% rename from ios/RNAMapGeolocation.xcodeproj/xcshareddata/xcschemes/RNAMapGeolocation.xcscheme rename to ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme index 06b9786..fef9df7 100644 --- a/ios/RNAMapGeolocation.xcodeproj/xcshareddata/xcschemes/RNAMapGeolocation.xcscheme +++ b/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "exampleTests.xctest" + BlueprintName = "exampleTests" + ReferencedContainer = "container:example.xcodeproj"> @@ -55,18 +55,11 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> - - - - + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> diff --git a/ios/RNAMapGeolocation/AppDelegate.h b/ios/example/AppDelegate.h similarity index 100% rename from ios/RNAMapGeolocation/AppDelegate.h rename to ios/example/AppDelegate.h diff --git a/ios/RNAMapGeolocation/AppDelegate.mm b/ios/example/AppDelegate.mm similarity index 100% rename from ios/RNAMapGeolocation/AppDelegate.mm rename to ios/example/AppDelegate.mm diff --git a/ios/RNAMapGeolocation/Images.xcassets/AppIcon.appiconset/Contents.json b/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from ios/RNAMapGeolocation/Images.xcassets/AppIcon.appiconset/Contents.json rename to ios/example/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/ios/RNAMapGeolocation/Images.xcassets/Contents.json b/ios/example/Images.xcassets/Contents.json similarity index 100% rename from ios/RNAMapGeolocation/Images.xcassets/Contents.json rename to ios/example/Images.xcassets/Contents.json diff --git a/ios/RNAMapGeolocation/Info.plist b/ios/example/Info.plist similarity index 97% rename from ios/RNAMapGeolocation/Info.plist rename to ios/example/Info.plist index 2bbdea5..f604e2c 100644 --- a/ios/RNAMapGeolocation/Info.plist +++ b/ios/example/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - RNAMapGeolocation + example CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/ios/RNAMapGeolocation/LaunchScreen.storyboard b/ios/example/LaunchScreen.storyboard similarity index 94% rename from ios/RNAMapGeolocation/LaunchScreen.storyboard rename to ios/example/LaunchScreen.storyboard index 9e3bd9f..a2139ff 100644 --- a/ios/RNAMapGeolocation/LaunchScreen.storyboard +++ b/ios/example/LaunchScreen.storyboard @@ -16,7 +16,7 @@ -