From d4067d455fe0e10da81f679f22d22692d028142f Mon Sep 17 00:00:00 2001 From: Kathy Luo Date: Tue, 17 Sep 2024 16:08:59 +0200 Subject: [PATCH] refactor: use MobileStack references in ios build (#6012) ### Description Related to making the iOS build brand agnostic. Main changes here: - rename `celo` -> `MobileStack` - remove unused CeloTest and Celo-tvOS targets - since the xcode workspace is renamed, also update any scripts and workflows that rely on the path ### Test plan Tested the iOS build locally + CI. ### Related issues - Related to RET-1157 ### Backwards compatibility Y ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [ ] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added) --- .github/scripts/automergeCrowdinPr.js | 4 +- .github/workflows/bump-app-version.yml | 2 +- .../workflows/check-translation-files-pr.yml | 4 +- .prettierignore | 3 +- WALLET.md | 4 +- app.json | 4 +- crowdin.yml | 4 +- fastlane/Fastfile | 4 +- .../project.pbxproj | 527 ++---------------- .../xcschemes/MobileStack-alfajores.xcscheme} | 54 +- .../MobileStack-alfajoresdev.xcscheme} | 54 +- .../MobileStack-alfajoresnightly.xcscheme} | 54 +- .../xcschemes/MobileStack-mainnet.xcscheme} | 54 +- .../MobileStack-mainnetdev.xcscheme} | 54 +- .../MobileStack-mainnetnightly.xcscheme} | 54 +- .../xcschemes/MobileStack-test.xcscheme} | 54 +- .../xcschemes/NotificationService.xcscheme | 20 +- .../contents.xcworkspacedata | 2 +- .../xcshareddata/IDEWorkspaceChecks.plist | 0 ios/{celo => MobileStack}/AppDelegate.h | 0 ios/{celo => MobileStack}/AppDelegate.mm | 3 +- .../Base.lproj/InfoPlist.strings | 0 .../Base.lproj/LaunchScreen.xib | 0 ios/{celo => MobileStack}/File.swift | 2 +- .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/ItunesArtwork@2x.png | Bin .../Images.xcassets/Contents.json | 0 .../logo.imageset/Contents.json | 0 .../Images.xcassets/logo.imageset/logo@2x.png | Bin .../Images.xcassets/logo.imageset/logo@3x.png | Bin .../splashBackground.imageset/Contents.json | 0 .../splashBackground@2x.jpg | Bin .../splashBackground@3x.jpg | Bin ios/{celo => MobileStack}/Info.plist | 0 .../MobileStack-Bridging-Header.h} | 0 .../MobileStack.entitlements} | 0 .../PrivacyInfo.xcprivacy | 0 .../de.lproj/InfoPlist.strings | 0 .../en.lproj/InfoPlist.strings | 0 .../es-419.lproj/InfoPlist.strings | 0 .../fr.lproj/InfoPlist.strings | 0 .../it.lproj/InfoPlist.strings | 0 ios/{celo => MobileStack}/main.m | 0 .../pl.lproj/InfoPlist.strings | 0 .../pt-BR.lproj/InfoPlist.strings | 0 .../ru.lproj/InfoPlist.strings | 0 .../th.lproj/InfoPlist.strings | 0 .../tr.lproj/InfoPlist.strings | 0 .../uk.lproj/InfoPlist.strings | 0 .../vi.lproj/InfoPlist.strings | 0 .../zh-Hans.lproj/InfoPlist.strings | 0 ios/Podfile | 10 +- ios/Podfile.lock | 2 +- ios/celoTests/Info.plist | 24 - ios/celoTests/celoTests.m | 70 --- jest.config.js | 2 +- package.json | 8 +- renovate.json5 | 8 - scripts/pre-deploy.sh | 2 +- scripts/run_app.sh | 2 +- scripts/sync_ios_info_plist_strings.sh | 4 +- 69 files changed, 192 insertions(+), 901 deletions(-) rename ios/{celo.xcodeproj => MobileStack.xcodeproj}/project.pbxproj (70%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-alfajores.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajores.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresdev.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresdev.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresnightly.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresnightly.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-mainnet.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnet.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetdev.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetdev.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetnightly.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetnightly.xcscheme} (65%) rename ios/{celo.xcodeproj/xcshareddata/xcschemes/celo-test.xcscheme => MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-test.xcscheme} (65%) rename ios/{celo.xcodeproj => MobileStack.xcodeproj}/xcshareddata/xcschemes/NotificationService.xcscheme (85%) rename ios/{celo.xcworkspace => MobileStack.xcworkspace}/contents.xcworkspacedata (79%) rename ios/{celo.xcworkspace => MobileStack.xcworkspace}/xcshareddata/IDEWorkspaceChecks.plist (100%) rename ios/{celo => MobileStack}/AppDelegate.h (100%) rename ios/{celo => MobileStack}/AppDelegate.mm (99%) rename ios/{celo => MobileStack}/Base.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/Base.lproj/LaunchScreen.xib (100%) rename ios/{celo => MobileStack}/File.swift (89%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/Contents.json (100%) rename ios/{celo => MobileStack}/Images.xcassets/logo.imageset/Contents.json (100%) rename ios/{celo => MobileStack}/Images.xcassets/logo.imageset/logo@2x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/logo.imageset/logo@3x.png (100%) rename ios/{celo => MobileStack}/Images.xcassets/splashBackground.imageset/Contents.json (100%) rename ios/{celo => MobileStack}/Images.xcassets/splashBackground.imageset/splashBackground@2x.jpg (100%) rename ios/{celo => MobileStack}/Images.xcassets/splashBackground.imageset/splashBackground@3x.jpg (100%) rename ios/{celo => MobileStack}/Info.plist (100%) rename ios/{celo/celo-Bridging-Header.h => MobileStack/MobileStack-Bridging-Header.h} (100%) rename ios/{celo/celo.entitlements => MobileStack/MobileStack.entitlements} (100%) rename ios/{celo => MobileStack}/PrivacyInfo.xcprivacy (100%) rename ios/{celo => MobileStack}/de.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/en.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/es-419.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/fr.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/it.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/main.m (100%) rename ios/{celo => MobileStack}/pl.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/pt-BR.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/ru.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/th.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/tr.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/uk.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/vi.lproj/InfoPlist.strings (100%) rename ios/{celo => MobileStack}/zh-Hans.lproj/InfoPlist.strings (100%) delete mode 100644 ios/celoTests/Info.plist delete mode 100644 ios/celoTests/celoTests.m diff --git a/.github/scripts/automergeCrowdinPr.js b/.github/scripts/automergeCrowdinPr.js index 80cc9b2aeca..d0a9adb6bcf 100644 --- a/.github/scripts/automergeCrowdinPr.js +++ b/.github/scripts/automergeCrowdinPr.js @@ -13,11 +13,11 @@ const CROWDIN_BRANCH = 'l10n/main' const CROWDIN_PR_USER = 'valora-bot-crowdin' const ALLOWED_UPDATED_FILE_MATCHER = new RegExp( - `locales\/.*\/translation\.json|ios/celo\/.*\/InfoPlist.strings` + `locales\/.*\/translation\.json|ios/MobileStack\/.*\/InfoPlist.strings` ) const DISALLOWED_UPDATED_FILES = [ 'locales/base/translation.json', - 'ios/celo/Base.lproj/InfoPlist.strings', + 'ios/MobileStack/Base.lproj/InfoPlist.strings', ] const enableAutomergeQuery = `mutation ($pullRequestId: ID!, $mergeMethod: PullRequestMergeMethod!) { enablePullRequestAutoMerge(input: { diff --git a/.github/workflows/bump-app-version.yml b/.github/workflows/bump-app-version.yml index 9d739b52a76..57c579db1e6 100644 --- a/.github/workflows/bump-app-version.yml +++ b/.github/workflows/bump-app-version.yml @@ -43,7 +43,7 @@ jobs: const allowedUpdatedFiles = [ 'android/app/build.gradle', 'android/gradle.properties', - 'ios/celo.xcodeproj/project.pbxproj', + 'ios/MobileStack.xcodeproj/project.pbxproj', 'package.json' ] const script = require('.github/scripts/autoApprovePr.js') diff --git a/.github/workflows/check-translation-files-pr.yml b/.github/workflows/check-translation-files-pr.yml index 83d27d2cd6f..30075beed4f 100644 --- a/.github/workflows/check-translation-files-pr.yml +++ b/.github/workflows/check-translation-files-pr.yml @@ -22,10 +22,10 @@ jobs: with: files: | locales/*/translation.json - ios/celo/*.lproj/InfoPlist.strings + ios/MobileStack/*.lproj/InfoPlist.strings files_ignore: | locales/base/translation.json - ios/celo/Base.lproj/InfoPlist.strings + ios/MobileStack/Base.lproj/InfoPlist.strings - name: Fail if translation files are changed if: ${{ (github.event_name != 'merge_group') && (github.head_ref != 'l10n/main') && (steps.changed-files.outputs.any_changed == 'true') }} run: | diff --git a/.prettierignore b/.prettierignore index 03fa6b3cc1a..531e77a0950 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,9 +7,8 @@ package.json android/app/build # Ignore Images.xcassets as Xcode reformats them anyway when saving -branding/celo/ios/celo/Images.xcassets ios/build -ios/celo/Images.xcassets +ios/MobileStack/Images.xcassets ios/Pods # Ignore Crowdin generated files (often they are written with no final newline) locales/*/*.json diff --git a/WALLET.md b/WALLET.md index a7a58783992..a5cb1839136 100644 --- a/WALLET.md +++ b/WALLET.md @@ -314,7 +314,7 @@ The below steps should help you successfully run the mobile wallet on either a U ### iOS -3. Launch Xcode and use it to open the directory `celo.xcworkspace`. Confirm your iOS device has been detected by Xcode. +3. Launch Xcode and use it to open the directory `MobileStack.xcworkspace`. Confirm your iOS device has been detected by Xcode. 4. Build the project by pressing the play button in the top left corner or selecting `Product > Build` from the Xcode menu bar. @@ -341,7 +341,7 @@ you may require a fresh install of the app. Instead of rebuilding the app to get a fresh install, you can drag drop the generated app into the simulator after uninstalling the app. It is typically available in the following paths: -- For iOS: `$HOME/Library/Developer/Xcode/DerivedData/celo-/Build/Products/Debug-iphonesimulator/celo.app` +- For iOS: `$HOME/Library/Developer/Xcode/DerivedData/MobileStack-/Build/Products/Debug-iphonesimulator/Valora.app` - For Android: `/android/app/build/outputs/apk/alfajoresdev/debug/app-alfajoresdev-debug.apk` ## Debugging & App Profiling diff --git a/app.json b/app.json index 0aefe7a808c..a78845200ed 100644 --- a/app.json +++ b/app.json @@ -1,4 +1,4 @@ { - "name": "celo", - "displayName": "Celo" + "name": "mobilestack", + "displayName": "MobileStack" } diff --git a/crowdin.yml b/crowdin.yml index 1bcb7e80511..e0340af610a 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -3,5 +3,5 @@ files: - source: /locales/base/*.json translation: /locales/%locale%/%original_file_name% type: i18next_json - - source: /ios/celo/Base.lproj/InfoPlist.strings - translation: /ios/celo/%osx_code%/%original_file_name% + - source: /ios/MobileStack/Base.lproj/InfoPlist.strings + translation: /ios/MobileStack/%osx_code%/%original_file_name% diff --git a/fastlane/Fastfile b/fastlane/Fastfile index ed3eca9b72d..88f3997a267 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -114,10 +114,10 @@ platform :ios do desc 'Build the iOS application - requires environment param' lane :build do |options| gym( - workspace: 'ios/celo.xcworkspace', + workspace: 'ios/MobileStack.xcworkspace', # Needs double quotes because Ruby differentiates # https://stackoverflow.com/questions/6395288/double-vs-single-quotes - scheme: "celo-#{options[:environment]}", + scheme: "MobileStack-#{options[:environment]}", configuration: 'Release', xcargs: [ "-allowProvisioningUpdates", diff --git a/ios/celo.xcodeproj/project.pbxproj b/ios/MobileStack.xcodeproj/project.pbxproj similarity index 70% rename from ios/celo.xcodeproj/project.pbxproj rename to ios/MobileStack.xcodeproj/project.pbxproj index 02533faf091..d8701592b50 100644 --- a/ios/celo.xcodeproj/project.pbxproj +++ b/ios/MobileStack.xcodeproj/project.pbxproj @@ -7,9 +7,7 @@ objects = { /* Begin PBXBuildFile section */ - 00E356F31AD99517003FC87E /* celoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* celoTests.m */; }; 0F3673F82673A63900F9586A /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F3673F72673A63900F9586A /* File.swift */; }; - 0F3673F92673A71100F9586A /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F3673F72673A63900F9586A /* File.swift */; }; 0F49F5F6270F2F2A0005F897 /* NotificationService.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 0F49F5ED270F2F2A0005F897 /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 0F49F5FD270F41580005F897 /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F49F5FC270F41580005F897 /* NotificationService.m */; }; 0FC6C310256FEF2700C35F47 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0FC6C312256FEF2700C35F47 /* InfoPlist.strings */; }; @@ -23,25 +21,12 @@ 270B61A92C6A3A2600979913 /* Inter-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 270B61A62C6A3A2600979913 /* Inter-Regular.ttf */; }; 27DBFF6B2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 27DBFF6A2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy */; }; 27DBFF6C2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 27DBFF6A2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy */; }; - 2D02E4BC1E0B4A80006451C7 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; - 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; - 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 2DCD954D1E0B4F2C00145EB5 /* celoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* celoTests.m */; }; - 35D1E601A44DD98EA458A156 /* Pods_celoTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0D58097DC128C43270DD6AE /* Pods_celoTests.framework */; }; 67911AC6D310414DAAC1498E /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = F3F5FA21E7EC46BBB744FE54 /* libz.tbd */; }; - AC5A01A0F9858C1F2124D019 /* Pods_celo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4F289E12C8CFFF2BC8FB583 /* Pods_celo.framework */; }; + AB1661209DEA6E5BBD9BEDDE /* Pods_MobileStack.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EDE6F6B79A9EBECD2E75DE05 /* Pods_MobileStack.framework */; }; B986845D4124CAF56EB14C7F /* Pods_NotificationService.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B11FD0527A58E309137144D /* Pods_NotificationService.framework */; }; - E42EEBEF2C49737700038A5D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 27DBFF6A2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = celo; - }; 0F49F5F3270F2F2A0005F897 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; @@ -49,13 +34,6 @@ remoteGlobalIDString = 0F49F5EC270F2F2A0005F897; remoteInfo = NotificationService; }; - 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; - remoteInfo = "celo-tvOS"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -74,26 +52,22 @@ /* Begin PBXFileReference section */ 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; - 00E356EE1AD99517003FC87E /* celoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = celoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* celoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = celoTests.m; sourceTree = ""; }; - 0F3673F62673A63800F9586A /* celo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "celo-Bridging-Header.h"; path = "celo/celo-Bridging-Header.h"; sourceTree = ""; }; - 0F3673F72673A63900F9586A /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = File.swift; path = celo/File.swift; sourceTree = ""; }; + 0F3673F62673A63800F9586A /* MobileStack-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "MobileStack-Bridging-Header.h"; path = "MobileStack/MobileStack-Bridging-Header.h"; sourceTree = ""; }; + 0F3673F72673A63900F9586A /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = File.swift; path = MobileStack/File.swift; sourceTree = ""; }; 0F49F5ED270F2F2A0005F897 /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 0F49F5F2270F2F2A0005F897 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 0F49F5FB270F41580005F897 /* NotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotificationService.h; sourceTree = ""; }; 0F49F5FC270F41580005F897 /* NotificationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationService.m; sourceTree = ""; }; 0FC6C311256FEF2700C35F47 /* es-419 */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "es-419"; path = "es-419.lproj/InfoPlist.strings"; sourceTree = ""; }; 0FC6C317256FEF4A00C35F47 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = ""; }; - 0FE3DE8E2347740700EA87A0 /* celo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = celo.entitlements; path = celo/celo.entitlements; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* valora.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = valora.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = celo/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.mm; path = celo/AppDelegate.mm; sourceTree = ""; }; + 0FE3DE8E2347740700EA87A0 /* MobileStack.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = MobileStack.entitlements; path = MobileStack/MobileStack.entitlements; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* Valora.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Valora.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = MobileStack/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = MobileStack/AppDelegate.mm; sourceTree = ""; }; 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = celo/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = celo/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = celo/main.m; sourceTree = ""; }; - 1931B4D04F9947C23D830F1D /* Pods-celoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-celoTests.release.xcconfig"; path = "Target Support Files/Pods-celoTests/Pods-celoTests.release.xcconfig"; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = MobileStack/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = MobileStack/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = MobileStack/main.m; sourceTree = ""; }; 270B61A22C6A3A0C00979913 /* Inter-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Inter-Bold.ttf"; path = "../fonts/Inter-Bold.ttf"; sourceTree = ""; }; 270B61A42C6A3A2600979913 /* Inter-SemiBold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Inter-SemiBold.ttf"; path = "../fonts/Inter-SemiBold.ttf"; sourceTree = ""; }; 270B61A52C6A3A2600979913 /* Inter-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Inter-Medium.ttf"; path = "../fonts/Inter-Medium.ttf"; sourceTree = ""; }; @@ -106,32 +80,20 @@ 27A21C9D2796DA920008F219 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = ""; }; 27DBFF6A2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; 2B11FD0527A58E309137144D /* Pods_NotificationService.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NotificationService.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2D02E47B1E0B4A5D006451C7 /* celo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "celo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2D02E4901E0B4A5D006451C7 /* celo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "celo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 655FF2C6085531DCF1C9DCFF /* Pods-MobileStack.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MobileStack.debug.xcconfig"; path = "Target Support Files/Pods-MobileStack/Pods-MobileStack.debug.xcconfig"; sourceTree = ""; }; 68B737FF27D7B55B0044A85E /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/InfoPlist.strings; sourceTree = ""; }; - 857F8D4FD9C93B1CF2E57BE2 /* Pods-celo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-celo.release.xcconfig"; path = "Target Support Files/Pods-celo/Pods-celo.release.xcconfig"; sourceTree = ""; }; - 8FA5FF3642E0FD77DA6C6EDB /* Pods-celo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-celo.debug.xcconfig"; path = "Target Support Files/Pods-celo/Pods-celo.debug.xcconfig"; sourceTree = ""; }; - A7DD4FB9579104C1EB8C2328 /* Pods-celoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-celoTests.debug.xcconfig"; path = "Target Support Files/Pods-celoTests/Pods-celoTests.debug.xcconfig"; sourceTree = ""; }; BE34411039D35338B8E3513B /* Pods-NotificationService.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotificationService.debug.xcconfig"; path = "Target Support Files/Pods-NotificationService/Pods-NotificationService.debug.xcconfig"; sourceTree = ""; }; - C4F289E12C8CFFF2BC8FB583 /* Pods_celo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_celo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C7874C52FE57DB6D985B63AA /* Pods-MobileStack.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MobileStack.release.xcconfig"; path = "Target Support Files/Pods-MobileStack/Pods-MobileStack.release.xcconfig"; sourceTree = ""; }; C88C5BFD26FA424100B9C0CE /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = ""; }; E2F7CB3EF18F92CA4317058A /* Pods-NotificationService.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotificationService.release.xcconfig"; path = "Target Support Files/Pods-NotificationService/Pods-NotificationService.release.xcconfig"; sourceTree = ""; }; E47888B729494A2C00308F07 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; E47888B829494A3B00308F07 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/InfoPlist.strings; sourceTree = ""; }; E47888B929494AC100308F07 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/InfoPlist.strings; sourceTree = ""; }; - F0D58097DC128C43270DD6AE /* Pods_celoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_celoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EDE6F6B79A9EBECD2E75DE05 /* Pods_MobileStack.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MobileStack.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F3F5FA21E7EC46BBB744FE54 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 00E356EB1AD99517003FC87E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 35D1E601A44DD98EA458A156 /* Pods_celoTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 0F49F5EA270F2F2A0005F897 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -145,52 +107,20 @@ buildActionMask = 2147483647; files = ( 67911AC6D310414DAAC1498E /* libz.tbd in Frameworks */, - AC5A01A0F9858C1F2124D019 /* Pods_celo.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( + AB1661209DEA6E5BBD9BEDDE /* Pods_MobileStack.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 00E356EF1AD99517003FC87E /* celoTests */ = { - isa = PBXGroup; - children = ( - 00E356F21AD99517003FC87E /* celoTests.m */, - 00E356F01AD99517003FC87E /* Supporting Files */, - ); - path = celoTests; - sourceTree = ""; - }; - 00E356F01AD99517003FC87E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 00E356F11AD99517003FC87E /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; 080C3131575C4BB58D359856 /* Frameworks */ = { isa = PBXGroup; children = ( 273ACDD52A02B36F0041B98E /* JavaScriptCore.framework */, F3F5FA21E7EC46BBB744FE54 /* libz.tbd */, - C4F289E12C8CFFF2BC8FB583 /* Pods_celo.framework */, - F0D58097DC128C43270DD6AE /* Pods_celoTests.framework */, 2B11FD0527A58E309137144D /* Pods_NotificationService.framework */, + EDE6F6B79A9EBECD2E75DE05 /* Pods_MobileStack.framework */, ); name = Frameworks; sourceTree = ""; @@ -205,10 +135,10 @@ path = NotificationService; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* celo */ = { + 13B07FAE1A68108700A75B9A /* MobileStack */ = { isa = PBXGroup; children = ( - 0FE3DE8E2347740700EA87A0 /* celo.entitlements */, + 0FE3DE8E2347740700EA87A0 /* MobileStack.entitlements */, 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.mm */, @@ -217,21 +147,19 @@ 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 13B07FB71A68108700A75B9A /* main.m */, 0F3673F72673A63900F9586A /* File.swift */, - 0F3673F62673A63800F9586A /* celo-Bridging-Header.h */, + 0F3673F62673A63800F9586A /* MobileStack-Bridging-Header.h */, 0FC6C312256FEF2700C35F47 /* InfoPlist.strings */, ); - name = celo; + name = MobileStack; sourceTree = ""; }; 24A671CF55B1A8A5DB61A139 /* Pods */ = { isa = PBXGroup; children = ( - 8FA5FF3642E0FD77DA6C6EDB /* Pods-celo.debug.xcconfig */, - 857F8D4FD9C93B1CF2E57BE2 /* Pods-celo.release.xcconfig */, - A7DD4FB9579104C1EB8C2328 /* Pods-celoTests.debug.xcconfig */, - 1931B4D04F9947C23D830F1D /* Pods-celoTests.release.xcconfig */, BE34411039D35338B8E3513B /* Pods-NotificationService.debug.xcconfig */, E2F7CB3EF18F92CA4317058A /* Pods-NotificationService.release.xcconfig */, + 655FF2C6085531DCF1C9DCFF /* Pods-MobileStack.debug.xcconfig */, + C7874C52FE57DB6D985B63AA /* Pods-MobileStack.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -247,9 +175,8 @@ isa = PBXGroup; children = ( 27DBFF6A2BDA6EED00863BC5 /* PrivacyInfo.xcprivacy */, - 13B07FAE1A68108700A75B9A /* celo */, + 13B07FAE1A68108700A75B9A /* MobileStack */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* celoTests */, 0F49F5EE270F2F2A0005F897 /* NotificationService */, 83CBBA001A601CBA00E9B192 /* Products */, E3041EF3155B4320B4CF8300 /* Resources */, @@ -264,10 +191,7 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* valora.app */, - 00E356EE1AD99517003FC87E /* celoTests.xctest */, - 2D02E47B1E0B4A5D006451C7 /* celo-tvOS.app */, - 2D02E4901E0B4A5D006451C7 /* celo-tvOSTests.xctest */, + 13B07F961A680F5B00A75B9A /* Valora.app */, 0F49F5ED270F2F2A0005F897 /* NotificationService.appex */, ); name = Products; @@ -287,25 +211,6 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* celoTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "celoTests" */; - buildPhases = ( - 3E70E5A0080C95486E5D574B /* [CP] Check Pods Manifest.lock */, - 00E356EA1AD99517003FC87E /* Sources */, - 00E356EB1AD99517003FC87E /* Frameworks */, - 00E356EC1AD99517003FC87E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 00E356F51AD99517003FC87E /* PBXTargetDependency */, - ); - name = celoTests; - productName = celoTests; - productReference = 00E356EE1AD99517003FC87E /* celoTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; 0F49F5EC270F2F2A0005F897 /* NotificationService */ = { isa = PBXNativeTarget; buildConfigurationList = 0F49F5F9270F2F2A0005F897 /* Build configuration list for PBXNativeTarget "NotificationService" */; @@ -325,9 +230,9 @@ productReference = 0F49F5ED270F2F2A0005F897 /* NotificationService.appex */; productType = "com.apple.product-type.app-extension"; }; - 13B07F861A680F5B00A75B9A /* celo */ = { + 13B07F861A680F5B00A75B9A /* MobileStack */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "celo" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "MobileStack" */; buildPhases = ( EFFE2BA11B469E4A10E2CDE6 /* [CP] Check Pods Manifest.lock */, 13B07F871A680F5B00A75B9A /* Sources */, @@ -346,47 +251,11 @@ dependencies = ( 0F49F5F4270F2F2A0005F897 /* PBXTargetDependency */, ); - name = celo; + name = MobileStack; productName = "Hello World"; - productReference = 13B07F961A680F5B00A75B9A /* valora.app */; - productType = "com.apple.product-type.application"; - }; - 2D02E47A1E0B4A5D006451C7 /* celo-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "celo-tvOS" */; - buildPhases = ( - 2D02E4771E0B4A5D006451C7 /* Sources */, - 2D02E4781E0B4A5D006451C7 /* Frameworks */, - 2D02E4791E0B4A5D006451C7 /* Resources */, - 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "celo-tvOS"; - productName = "celo-tvOS"; - productReference = 2D02E47B1E0B4A5D006451C7 /* celo-tvOS.app */; + productReference = 13B07F961A680F5B00A75B9A /* Valora.app */; productType = "com.apple.product-type.application"; }; - 2D02E48F1E0B4A5D006451C7 /* celo-tvOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "celo-tvOSTests" */; - buildPhases = ( - 2D02E48C1E0B4A5D006451C7 /* Sources */, - 2D02E48D1E0B4A5D006451C7 /* Frameworks */, - 2D02E48E1E0B4A5D006451C7 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, - ); - name = "celo-tvOSTests"; - productName = "celo-tvOSTests"; - productReference = 2D02E4901E0B4A5D006451C7 /* celo-tvOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -396,11 +265,6 @@ LastUpgradeCheck = 610; ORGANIZATIONNAME = Facebook; TargetAttributes = { - 00E356ED1AD99517003FC87E = { - CreatedOnToolsVersion = 6.2; - DevelopmentTeam = HDPUB8C3KG; - TestTargetID = 13B07F861A680F5B00A75B9A; - }; 0F49F5EC270F2F2A0005F897 = { CreatedOnToolsVersion = 12.5; DevelopmentTeam = HDPUB8C3KG; @@ -418,18 +282,9 @@ }; }; }; - 2D02E47A1E0B4A5D006451C7 = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - 2D02E48F1E0B4A5D006451C7 = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - TestTargetID = 2D02E47A1E0B4A5D006451C7; - }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "celo" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "MobileStack" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -455,23 +310,13 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* celo */, - 00E356ED1AD99517003FC87E /* celoTests */, - 2D02E47A1E0B4A5D006451C7 /* celo-tvOS */, - 2D02E48F1E0B4A5D006451C7 /* celo-tvOSTests */, + 13B07F861A680F5B00A75B9A /* MobileStack */, 0F49F5EC270F2F2A0005F897 /* NotificationService */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 00E356EC1AD99517003FC87E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 0F49F5EB270F2F2A0005F897 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -495,22 +340,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 2D02E4791E0B4A5D006451C7 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E42EEBEF2C49737700038A5D /* PrivacyInfo.xcprivacy in Resources */, - 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2D02E48E1E0B4A5D006451C7 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -559,27 +388,13 @@ shellPath = /bin/sh; shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n##########################################################################\n##########################################################################\n#\n# NOTE THAT IF YOU CHANGE THIS FILE YOU MUST RUN pod install AFTERWARDS\n#\n# This file is installed as an Xcode build script in the project file\n# by cocoapods, and you will not see your changes until you pod install\n#\n##########################################################################\n##########################################################################\n\nset -e\n\n_MAX_LOOKUPS=2;\n_SEARCH_RESULT=''\n_RN_ROOT_EXISTS=''\n_CURRENT_LOOKUPS=1\n_JSON_ROOT=\"'react-native'\"\n_JSON_FILE_NAME='firebase.json'\n_JSON_OUTPUT_BASE64='e30=' # { }\n_CURRENT_SEARCH_DIR=${PROJECT_DIR}\n_PLIST_BUDDY=/usr/libexec/PlistBuddy\n_TARGET_PLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\n_DSYM_PLIST=\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist\"\n\n# plist arrays\n_PLIST_ENTRY_KEYS=()\n_PLIST_ENTRY_TYPES=()\n_PLIST_ENTRY_VALUES=()\n\nfunction setPlistValue {\n echo \"info: setting plist entry '$1' of type '$2' in file '$4'\"\n ${_PLIST_BUDDY} -c \"Add :$1 $2 '$3'\" $4 || echo \"info: '$1' already exists\"\n}\n\nfunction getFirebaseJsonKeyValue () {\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n ruby -Ku -e \"require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']\"\n else\n echo \"\"\n fi;\n}\n\nfunction jsonBoolToYesNo () {\n if [[ $1 == \"false\" ]]; then\n echo \"NO\"\n elif [[ $1 == \"true\" ]]; then\n echo \"YES\"\n else echo \"NO\"\n fi\n}\n\necho \"info: -> RNFB build script started\"\necho \"info: 1) Locating ${_JSON_FILE_NAME} file:\"\n\nif [[ -z ${_CURRENT_SEARCH_DIR} ]]; then\n _CURRENT_SEARCH_DIR=$(pwd)\nfi;\n\nwhile true; do\n _CURRENT_SEARCH_DIR=$(dirname \"$_CURRENT_SEARCH_DIR\")\n if [[ \"$_CURRENT_SEARCH_DIR\" == \"/\" ]] || [[ ${_CURRENT_LOOKUPS} -gt ${_MAX_LOOKUPS} ]]; then break; fi;\n echo \"info: ($_CURRENT_LOOKUPS of $_MAX_LOOKUPS) Searching in '$_CURRENT_SEARCH_DIR' for a ${_JSON_FILE_NAME} file.\"\n _SEARCH_RESULT=$(find \"$_CURRENT_SEARCH_DIR\" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | /usr/bin/head -n 1)\n if [[ ${_SEARCH_RESULT} ]]; then\n echo \"info: ${_JSON_FILE_NAME} found at $_SEARCH_RESULT\"\n break;\n fi;\n _CURRENT_LOOKUPS=$((_CURRENT_LOOKUPS+1))\ndone\n\nif [[ ${_SEARCH_RESULT} ]]; then\n _JSON_OUTPUT_RAW=$(cat \"${_SEARCH_RESULT}\")\n _RN_ROOT_EXISTS=$(ruby -Ku -e \"require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]\" || echo '')\n\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n if ! python3 --version >/dev/null 2>&1; then echo \"python3 not found, firebase.json file processing error.\" && exit 1; fi\n _JSON_OUTPUT_BASE64=$(python3 -c 'import json,sys,base64;print(base64.b64encode(bytes(json.dumps(json.loads(open('\"'${_SEARCH_RESULT}'\"', '\"'rb'\"').read())['${_JSON_ROOT}']), '\"'utf-8'\"')).decode())' || echo \"e30=\")\n fi\n\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n\n # config.app_data_collection_default_enabled\n _APP_DATA_COLLECTION_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_data_collection_default_enabled\")\n if [[ $_APP_DATA_COLLECTION_ENABLED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseDataCollectionDefaultEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_DATA_COLLECTION_ENABLED\")\")\n fi\n\n # config.analytics_auto_collection_enabled\n _ANALYTICS_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_auto_collection_enabled\")\n if [[ $_ANALYTICS_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AUTO_COLLECTION\")\")\n fi\n\n # config.analytics_collection_deactivated\n _ANALYTICS_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_collection_deactivated\")\n if [[ $_ANALYTICS_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_DEACTIVATED\")\")\n fi\n\n # config.analytics_idfv_collection_enabled\n _ANALYTICS_IDFV_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_idfv_collection_enabled\")\n if [[ $_ANALYTICS_IDFV_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_IDFV_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_IDFV_COLLECTION\")\")\n fi\n\n # config.analytics_default_allow_analytics_storage\n _ANALYTICS_STORAGE=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_analytics_storage\")\n if [[ $_ANALYTICS_STORAGE ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_ANALYTICS_STORAGE\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_STORAGE\")\")\n fi\n\n # config.analytics_default_allow_ad_storage\n _ANALYTICS_AD_STORAGE=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_ad_storage\")\n if [[ $_ANALYTICS_AD_STORAGE ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_STORAGE\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AD_STORAGE\")\")\n fi\n\n # config.analytics_default_allow_ad_user_data\n _ANALYTICS_AD_USER_DATA=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_ad_user_data\")\n if [[ $_ANALYTICS_AD_USER_DATA ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_USER_DATA\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AD_USER_DATA\")\")\n fi\n\n # config.analytics_default_allow_ad_personalization_signals\n _ANALYTICS_PERSONALIZATION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_ad_personalization_signals\")\n if [[ $_ANALYTICS_PERSONALIZATION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_PERSONALIZATION\")\")\n fi\n\n # config.analytics_registration_with_ad_network_enabled\n _ANALYTICS_REGISTRATION_WITH_AD_NETWORK=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"google_analytics_registration_with_ad_network_enabled\")\n if [[ $_ANALYTICS_REGISTRATION_WITH_AD_NETWORK ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_REGISTRATION_WITH_AD_NETWORK_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_REGISTRATION_WITH_AD_NETWORK\")\")\n fi\n\n # config.google_analytics_automatic_screen_reporting_enabled\n _ANALYTICS_AUTO_SCREEN_REPORTING=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"google_analytics_automatic_screen_reporting_enabled\")\n if [[ $_ANALYTICS_AUTO_SCREEN_REPORTING ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseAutomaticScreenReportingEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AUTO_SCREEN_REPORTING\")\")\n fi\n\n # config.perf_auto_collection_enabled\n _PERF_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_auto_collection_enabled\")\n if [[ $_PERF_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_enabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_AUTO_COLLECTION\")\")\n fi\n\n # config.perf_collection_deactivated\n _PERF_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_collection_deactivated\")\n if [[ $_PERF_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_deactivated\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_DEACTIVATED\")\")\n fi\n\n # config.messaging_auto_init_enabled\n _MESSAGING_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"messaging_auto_init_enabled\")\n if [[ $_MESSAGING_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseMessagingAutoInitEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_MESSAGING_AUTO_INIT\")\")\n fi\n\n # config.in_app_messaging_auto_colllection_enabled\n _FIAM_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"in_app_messaging_auto_collection_enabled\")\n if [[ $_FIAM_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseInAppMessagingAutomaticDataCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_FIAM_AUTO_INIT\")\")\n fi\n\n # config.app_check_token_auto_refresh\n _APP_CHECK_TOKEN_AUTO_REFRESH=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_check_token_auto_refresh\")\n if [[ $_APP_CHECK_TOKEN_AUTO_REFRESH ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseAppCheckTokenAutoRefreshEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_CHECK_TOKEN_AUTO_REFRESH\")\")\n fi\n\n # config.crashlytics_disable_auto_disabler - undocumented for now - mainly for debugging, document if becomes useful\n _CRASHLYTICS_AUTO_DISABLE_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"crashlytics_disable_auto_disabler\")\n if [[ $_CRASHLYTICS_AUTO_DISABLE_ENABLED == \"true\" ]]; then\n echo \"Disabled Crashlytics auto disabler.\" # do nothing\n else\n _PLIST_ENTRY_KEYS+=(\"FirebaseCrashlyticsCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"NO\")\n fi\nelse\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n echo \"warning: A firebase.json file was not found, whilst this file is optional it is recommended to include it to configure firebase services in React Native Firebase.\"\nfi;\n\necho \"info: 2) Injecting Info.plist entries: \"\n\n# Log out the keys we're adding\nfor i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n echo \" -> $i) ${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\"\ndone\n\nfor plist in \"${_TARGET_PLIST}\" \"${_DSYM_PLIST}\" ; do\n if [[ -f \"${plist}\" ]]; then\n\n # paths with spaces break the call to setPlistValue. temporarily modify\n # the shell internal field separator variable (IFS), which normally\n # includes spaces, to consist only of line breaks\n oldifs=$IFS\n IFS=\"\n\"\n\n for i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n setPlistValue \"${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\" \"${plist}\"\n done\n\n # restore the original internal field separator value\n IFS=$oldifs\n else\n echo \"warning: A Info.plist build output file was not found (${plist})\"\n fi\ndone\n\necho \"info: <- RNFB build script finished\"\n"; }; - 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Bundle React Native Code And Images"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# First set the path to sentry.properties\nexport SENTRY_PROPERTIES=sentry.properties\n\n# Setup nvm and set node\n[ -z \"$NVM_DIR\" ] && export NVM_DIR=\"$HOME/.nvm\"\n\nif [[ -s \"$HOME/.nvm/nvm.sh\" ]]; then\n. \"$HOME/.nvm/nvm.sh\"\nelif [[ -x \"$(command -v brew)\" && -s \"$(brew --prefix nvm)/nvm.sh\" ]]; then\n. \"$(brew --prefix nvm)/nvm.sh\"\nfi\n\n# Set up the nodenv node version manager if present\nif [[ -x \"$HOME/.nodenv/bin/nodenv\" ]]; then\neval \"$(\"$HOME/.nodenv/bin/nodenv\" init -)\"\nfi\n\n[ -z \"$NODE_BINARY\" ] && export NODE_BINARY=\"node\"\n\n$NODE_BINARY ../node_modules/@sentry/cli/bin/sentry-cli react-native xcode \\\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; - }; 32DB46242FD085CEFD30BC90 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-celo/Pods-celo-resources.sh", + "${PODS_ROOT}/Target Support Files/Pods-MobileStack/Pods-MobileStack-resources.sh", "${PODS_CONFIGURATION_BUILD_DIR}/Adjust/Adjust.bundle", "${PODS_ROOT}/CleverTap-iOS-SDK/CleverTapSDK/AmazonRootCA1.cer", "${PODS_CONFIGURATION_BUILD_DIR}/CleverTap-iOS-SDK/CleverTapSDK.bundle", @@ -624,29 +439,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-celo/Pods-celo-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 3E70E5A0080C95486E5D574B /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-celoTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - 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"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MobileStack/Pods-MobileStack-resources.sh\"\n"; showEnvVarsInLog = 0; }; 67AE4B745DA21694F659A4A5 /* [CP] Embed Pods Frameworks */ = { @@ -655,7 +448,7 @@ files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-celo/Pods-celo-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-MobileStack/Pods-MobileStack-frameworks.sh", "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-DoubleConversion/double-conversion.framework/double-conversion", "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", "${PODS_XCFRAMEWORKS_BUILD_DIR}/PersonaInquirySDK2/Persona2.framework/Persona2", @@ -670,7 +463,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-celo/Pods-celo-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MobileStack/Pods-MobileStack-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; A5860B5C637E3FE79F7525C7 /* [CP] Copy Pods Resources */ = { @@ -730,7 +523,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-celo-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-MobileStack-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -754,14 +547,6 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 00E356EA1AD99517003FC87E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 00E356F31AD99517003FC87E /* celoTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 0F49F5E9270F2F2A0005F897 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -780,42 +565,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 2D02E4771E0B4A5D006451C7 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, - 0F3673F92673A71100F9586A /* File.swift in Sources */, - 2D02E4BC1E0B4A80006451C7 /* AppDelegate.mm in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2D02E48C1E0B4A5D006451C7 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2DCD954D1E0B4F2C00145EB5 /* celoTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* celo */; - targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; - }; 0F49F5F4270F2F2A0005F897 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 0F49F5EC270F2F2A0005F897 /* NotificationService */; targetProxy = 0F49F5F3270F2F2A0005F897 /* PBXContainerItemProxy */; }; - 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 2D02E47A1E0B4A5D006451C7 /* celo-tvOS */; - targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -836,7 +593,7 @@ E47888B729494A2C00308F07 /* zh-Hans */, ); name = InfoPlist.strings; - path = celo; + path = MobileStack; sourceTree = ""; }; 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { @@ -845,61 +602,12 @@ 13B07FB21A68108700A75B9A /* Base */, ); name = LaunchScreen.xib; - path = celo; + path = MobileStack; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - 00E356F61AD99517003FC87E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A7DD4FB9579104C1EB8C2328 /* Pods-celoTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - DEVELOPMENT_TEAM = HDPUB8C3KG; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = celoTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - OTHER_LDFLAGS = ( - "-ObjC", - "-lc++", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/celo.app/celo"; - }; - name = Debug; - }; - 00E356F71AD99517003FC87E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1931B4D04F9947C23D830F1D /* Pods-celoTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COPY_PHASE_STRIP = NO; - DEVELOPMENT_TEAM = HDPUB8C3KG; - INFOPLIST_FILE = celoTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - OTHER_LDFLAGS = ( - "-ObjC", - "-lc++", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/celo.app/celo"; - }; - name = Release; - }; 0F49F5F7270F2F2A0005F897 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = BE34411039D35338B8E3513B /* Pods-NotificationService.debug.xcconfig */; @@ -979,15 +687,15 @@ }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8FA5FF3642E0FD77DA6C6EDB /* Pods-celo.debug.xcconfig */; + baseConfigurationReference = 655FF2C6085531DCF1C9DCFF /* Pods-MobileStack.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = celo/celo.entitlements; + CODE_SIGN_ENTITLEMENTS = MobileStack/MobileStack.entitlements; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = HDPUB8C3KG; - INFOPLIST_FILE = celo/Info.plist; + INFOPLIST_FILE = MobileStack/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LIBRARY_SEARCH_PATHS = ( "$(SDKROOT)/usr/lib/swift", @@ -1001,7 +709,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "$(APP_BUNDLE_ID)"; PRODUCT_NAME = "$(APP_REGISTRY_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "celo/celo-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "MobileStack/MobileStack-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; }; @@ -1009,14 +717,14 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 857F8D4FD9C93B1CF2E57BE2 /* Pods-celo.release.xcconfig */; + baseConfigurationReference = C7874C52FE57DB6D985B63AA /* Pods-MobileStack.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = celo/celo.entitlements; + CODE_SIGN_ENTITLEMENTS = MobileStack/MobileStack.entitlements; DEVELOPMENT_TEAM = HDPUB8C3KG; - INFOPLIST_FILE = celo/Info.plist; + INFOPLIST_FILE = MobileStack/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LIBRARY_SEARCH_PATHS = ( "$(SDKROOT)/usr/lib/swift", @@ -1030,127 +738,11 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "$(APP_BUNDLE_ID)"; PRODUCT_NAME = "$(APP_REGISTRY_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "celo/celo-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "MobileStack/MobileStack-Bridging-Header.h"; SWIFT_VERSION = 5.0; }; name = Release; }; - 2D02E4971E0B4A5E006451C7 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - CLANG_ANALYZER_NONNULL = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "celo-tvOS/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - OTHER_LDFLAGS = ( - "-ObjC", - "-lc++", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.celo-tvOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.2; - }; - name = Debug; - }; - 2D02E4981E0B4A5E006451C7 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - CLANG_ANALYZER_NONNULL = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "celo-tvOS/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - OTHER_LDFLAGS = ( - "-ObjC", - "-lc++", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.celo-tvOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.2; - }; - name = Release; - }; - 2D02E4991E0B4A5E006451C7 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "celo-tvOSTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.celo-tvOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/celo-tvOS.app/celo-tvOS"; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Debug; - }; - 2D02E49A1E0B4A5E006451C7 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "celo-tvOSTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "$(SRCROOT)/$(TARGET_NAME)", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.celo-tvOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/celo-tvOS.app/celo-tvOS"; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Release; - }; 83CBBA201A601CBA00E9B192 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1274,15 +866,6 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "celoTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 00E356F61AD99517003FC87E /* Debug */, - 00E356F71AD99517003FC87E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 0F49F5F9270F2F2A0005F897 /* Build configuration list for PBXNativeTarget "NotificationService" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1292,7 +875,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "celo" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "MobileStack" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -1301,25 +884,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "celo-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2D02E4971E0B4A5E006451C7 /* Debug */, - 2D02E4981E0B4A5E006451C7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "celo-tvOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2D02E4991E0B4A5E006451C7 /* Debug */, - 2D02E49A1E0B4A5E006451C7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "celo" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "MobileStack" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajores.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajores.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajores.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajores.xcscheme index 79d4287650b..024317fa613 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajores.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajores.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresdev.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresdev.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresdev.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresdev.xcscheme index 8eaca6659af..75af021938b 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresdev.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresdev.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresnightly.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresnightly.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresnightly.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresnightly.xcscheme index 4aee2ac28b8..50c79f14f41 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-alfajoresnightly.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-alfajoresnightly.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnet.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnet.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnet.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnet.xcscheme index 958dacbde78..4583303947f 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnet.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnet.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetdev.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetdev.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetdev.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetdev.xcscheme index 97ed02ee4b1..29f38aa7837 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetdev.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetdev.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetnightly.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetnightly.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetnightly.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetnightly.xcscheme index 6c7d5d2a890..55d1e08f1b3 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-mainnetnightly.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-mainnetnightly.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-test.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-test.xcscheme similarity index 65% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/celo-test.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-test.xcscheme index 3c1fb4e7bf6..c142ab1a005 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/celo-test.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/MobileStack-test.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -33,23 +33,9 @@ - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -63,22 +49,12 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> - - - - + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -113,9 +89,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme similarity index 85% rename from ios/celo.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme rename to ios/MobileStack.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme index ef5a36ff43d..a885b5a980e 100644 --- a/ios/celo.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme +++ b/ios/MobileStack.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme @@ -18,7 +18,7 @@ BlueprintIdentifier = "0F49F5EC270F2F2A0005F897" BuildableName = "NotificationService.appex" BlueprintName = "NotificationService" - ReferencedContainer = "container:celo.xcodeproj"> + ReferencedContainer = "container:MobileStack.xcodeproj"> + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -62,9 +62,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> @@ -81,9 +81,9 @@ + BuildableName = "Valora.app" + BlueprintName = "MobileStack" + ReferencedContainer = "container:MobileStack.xcodeproj"> diff --git a/ios/celo.xcworkspace/contents.xcworkspacedata b/ios/MobileStack.xcworkspace/contents.xcworkspacedata similarity index 79% rename from ios/celo.xcworkspace/contents.xcworkspacedata rename to ios/MobileStack.xcworkspace/contents.xcworkspacedata index 87ba74c36f5..585b9f14785 100644 --- a/ios/celo.xcworkspace/contents.xcworkspacedata +++ b/ios/MobileStack.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:MobileStack.xcodeproj"> diff --git a/ios/celo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/MobileStack.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from ios/celo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to ios/MobileStack.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/ios/celo/AppDelegate.h b/ios/MobileStack/AppDelegate.h similarity index 100% rename from ios/celo/AppDelegate.h rename to ios/MobileStack/AppDelegate.h diff --git a/ios/celo/AppDelegate.mm b/ios/MobileStack/AppDelegate.mm similarity index 99% rename from ios/celo/AppDelegate.mm rename to ios/MobileStack/AppDelegate.mm index 42133ed9ffc..622ade82774 100644 --- a/ios/celo/AppDelegate.mm +++ b/ios/MobileStack/AppDelegate.mm @@ -16,7 +16,8 @@ #import #import -@import Firebase; +#import +#import #import "RNSplashScreen.h" #import diff --git a/ios/celo/Base.lproj/InfoPlist.strings b/ios/MobileStack/Base.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/Base.lproj/InfoPlist.strings rename to ios/MobileStack/Base.lproj/InfoPlist.strings diff --git a/ios/celo/Base.lproj/LaunchScreen.xib b/ios/MobileStack/Base.lproj/LaunchScreen.xib similarity index 100% rename from ios/celo/Base.lproj/LaunchScreen.xib rename to ios/MobileStack/Base.lproj/LaunchScreen.xib diff --git a/ios/celo/File.swift b/ios/MobileStack/File.swift similarity index 89% rename from ios/celo/File.swift rename to ios/MobileStack/File.swift index 0da8f8461c0..5546e375003 100644 --- a/ios/celo/File.swift +++ b/ios/MobileStack/File.swift @@ -1,6 +1,6 @@ // // File.swift -// celo +// MobileStack // // Created by Jean Regisser on 11/06/2021. // Copyright © 2021 Facebook. All rights reserved. diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Contents.json b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Contents.json rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/ios/celo/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png b/ios/MobileStack/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png similarity index 100% rename from ios/celo/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png rename to ios/MobileStack/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png diff --git a/ios/celo/Images.xcassets/Contents.json b/ios/MobileStack/Images.xcassets/Contents.json similarity index 100% rename from ios/celo/Images.xcassets/Contents.json rename to ios/MobileStack/Images.xcassets/Contents.json diff --git a/ios/celo/Images.xcassets/logo.imageset/Contents.json b/ios/MobileStack/Images.xcassets/logo.imageset/Contents.json similarity index 100% rename from ios/celo/Images.xcassets/logo.imageset/Contents.json rename to ios/MobileStack/Images.xcassets/logo.imageset/Contents.json diff --git a/ios/celo/Images.xcassets/logo.imageset/logo@2x.png b/ios/MobileStack/Images.xcassets/logo.imageset/logo@2x.png similarity index 100% rename from ios/celo/Images.xcassets/logo.imageset/logo@2x.png rename to ios/MobileStack/Images.xcassets/logo.imageset/logo@2x.png diff --git a/ios/celo/Images.xcassets/logo.imageset/logo@3x.png b/ios/MobileStack/Images.xcassets/logo.imageset/logo@3x.png similarity index 100% rename from ios/celo/Images.xcassets/logo.imageset/logo@3x.png rename to ios/MobileStack/Images.xcassets/logo.imageset/logo@3x.png diff --git a/ios/celo/Images.xcassets/splashBackground.imageset/Contents.json b/ios/MobileStack/Images.xcassets/splashBackground.imageset/Contents.json similarity index 100% rename from ios/celo/Images.xcassets/splashBackground.imageset/Contents.json rename to ios/MobileStack/Images.xcassets/splashBackground.imageset/Contents.json diff --git a/ios/celo/Images.xcassets/splashBackground.imageset/splashBackground@2x.jpg b/ios/MobileStack/Images.xcassets/splashBackground.imageset/splashBackground@2x.jpg similarity index 100% rename from ios/celo/Images.xcassets/splashBackground.imageset/splashBackground@2x.jpg rename to ios/MobileStack/Images.xcassets/splashBackground.imageset/splashBackground@2x.jpg diff --git a/ios/celo/Images.xcassets/splashBackground.imageset/splashBackground@3x.jpg b/ios/MobileStack/Images.xcassets/splashBackground.imageset/splashBackground@3x.jpg similarity index 100% rename from ios/celo/Images.xcassets/splashBackground.imageset/splashBackground@3x.jpg rename to ios/MobileStack/Images.xcassets/splashBackground.imageset/splashBackground@3x.jpg diff --git a/ios/celo/Info.plist b/ios/MobileStack/Info.plist similarity index 100% rename from ios/celo/Info.plist rename to ios/MobileStack/Info.plist diff --git a/ios/celo/celo-Bridging-Header.h b/ios/MobileStack/MobileStack-Bridging-Header.h similarity index 100% rename from ios/celo/celo-Bridging-Header.h rename to ios/MobileStack/MobileStack-Bridging-Header.h diff --git a/ios/celo/celo.entitlements b/ios/MobileStack/MobileStack.entitlements similarity index 100% rename from ios/celo/celo.entitlements rename to ios/MobileStack/MobileStack.entitlements diff --git a/ios/celo/PrivacyInfo.xcprivacy b/ios/MobileStack/PrivacyInfo.xcprivacy similarity index 100% rename from ios/celo/PrivacyInfo.xcprivacy rename to ios/MobileStack/PrivacyInfo.xcprivacy diff --git a/ios/celo/de.lproj/InfoPlist.strings b/ios/MobileStack/de.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/de.lproj/InfoPlist.strings rename to ios/MobileStack/de.lproj/InfoPlist.strings diff --git a/ios/celo/en.lproj/InfoPlist.strings b/ios/MobileStack/en.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/en.lproj/InfoPlist.strings rename to ios/MobileStack/en.lproj/InfoPlist.strings diff --git a/ios/celo/es-419.lproj/InfoPlist.strings b/ios/MobileStack/es-419.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/es-419.lproj/InfoPlist.strings rename to ios/MobileStack/es-419.lproj/InfoPlist.strings diff --git a/ios/celo/fr.lproj/InfoPlist.strings b/ios/MobileStack/fr.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/fr.lproj/InfoPlist.strings rename to ios/MobileStack/fr.lproj/InfoPlist.strings diff --git a/ios/celo/it.lproj/InfoPlist.strings b/ios/MobileStack/it.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/it.lproj/InfoPlist.strings rename to ios/MobileStack/it.lproj/InfoPlist.strings diff --git a/ios/celo/main.m b/ios/MobileStack/main.m similarity index 100% rename from ios/celo/main.m rename to ios/MobileStack/main.m diff --git a/ios/celo/pl.lproj/InfoPlist.strings b/ios/MobileStack/pl.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/pl.lproj/InfoPlist.strings rename to ios/MobileStack/pl.lproj/InfoPlist.strings diff --git a/ios/celo/pt-BR.lproj/InfoPlist.strings b/ios/MobileStack/pt-BR.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/pt-BR.lproj/InfoPlist.strings rename to ios/MobileStack/pt-BR.lproj/InfoPlist.strings diff --git a/ios/celo/ru.lproj/InfoPlist.strings b/ios/MobileStack/ru.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/ru.lproj/InfoPlist.strings rename to ios/MobileStack/ru.lproj/InfoPlist.strings diff --git a/ios/celo/th.lproj/InfoPlist.strings b/ios/MobileStack/th.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/th.lproj/InfoPlist.strings rename to ios/MobileStack/th.lproj/InfoPlist.strings diff --git a/ios/celo/tr.lproj/InfoPlist.strings b/ios/MobileStack/tr.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/tr.lproj/InfoPlist.strings rename to ios/MobileStack/tr.lproj/InfoPlist.strings diff --git a/ios/celo/uk.lproj/InfoPlist.strings b/ios/MobileStack/uk.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/uk.lproj/InfoPlist.strings rename to ios/MobileStack/uk.lproj/InfoPlist.strings diff --git a/ios/celo/vi.lproj/InfoPlist.strings b/ios/MobileStack/vi.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/vi.lproj/InfoPlist.strings rename to ios/MobileStack/vi.lproj/InfoPlist.strings diff --git a/ios/celo/zh-Hans.lproj/InfoPlist.strings b/ios/MobileStack/zh-Hans.lproj/InfoPlist.strings similarity index 100% rename from ios/celo/zh-Hans.lproj/InfoPlist.strings rename to ios/MobileStack/zh-Hans.lproj/InfoPlist.strings diff --git a/ios/Podfile b/ios/Podfile index e6e3075c488..07a4c5225cf 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -3,11 +3,11 @@ source 'https://cdn.cocoapods.org/' # Allow using RNFirebase as static frameworks # https://rnfirebase.io/#allow-ios-static-frameworks # Otherwise we get the following error: -# `The 'Pods-celo' target has transitive dependencies that include statically linked binaries [...]` +# `The 'Pods-MobileStack' target has transitive dependencies that include statically linked binaries [...]` $RNFirebaseAsStaticFramework = true # Workaround for the following error: -# `The 'Pods-celo' target has transitive dependencies that include statically linked binaries [...]` +# `The 'Pods-MobileStack' target has transitive dependencies that include statically linked binaries [...]` $static_framework = [ 'react-native-flipper', 'FlipperKit', @@ -65,11 +65,7 @@ end setup_permissions(['Camera', 'AppTrackingTransparency', 'Contacts']) -target "celo" do - target "celoTests" do - inherit! :search_paths - end - +target "MobileStack" do config = use_native_modules! # Flags change depending on the env values. diff --git a/ios/Podfile.lock b/ios/Podfile.lock index bb0494306ee..d2df45bf69f 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1336,6 +1336,6 @@ SPEC CHECKSUMS: Yoga: 6f5ab94cd8b1ecd04b6e973d0bc583ede2a598cc YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 808576fd1f756a5c445d38f3edabfddbca4576fd +PODFILE CHECKSUM: e49ec411923f9bb1906dff8d0e27d0aa410bf3ad COCOAPODS: 1.15.2 diff --git a/ios/celoTests/Info.plist b/ios/celoTests/Info.plist deleted file mode 100644 index 86d31dc8a65..00000000000 --- a/ios/celoTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - $(MARKETING_VERSION) - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - - diff --git a/ios/celoTests/celoTests.m b/ios/celoTests/celoTests.m deleted file mode 100644 index 4ebcb5e140f..00000000000 --- a/ios/celoTests/celoTests.m +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -#import -#import - -#import -#import - -#define TIMEOUT_SECONDS 600 -#define TEXT_TO_LOOK_FOR @"Welcome to React Native!" - -@interface celoTests : XCTestCase - -@end - -@implementation celoTests - -- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test -{ - if (test(view)) { - return YES; - } - for (UIView *subview in [view subviews]) { - if ([self findSubviewInView:subview matching:test]) { - return YES; - } - } - return NO; -} - -- (void)testRendersWelcomeScreen -{ - UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; - NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; - BOOL foundElement = NO; - - __block NSString *redboxError = nil; - RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { - if (level >= RCTLogLevelError) { - redboxError = message; - } - }); - - while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { - [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; - [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; - - foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { - if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { - return YES; - } - return NO; - }]; - } - - RCTSetLogFunction(RCTDefaultLogFunction); - - XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); - XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); -} - - -@end diff --git a/jest.config.js b/jest.config.js index 36fa50d7a3d..8b0234867bd 100644 --- a/jest.config.js +++ b/jest.config.js @@ -41,6 +41,6 @@ module.exports = { '^.+\\.(txt)$': require.resolve('./node_modules/react-native/jest/assetFileTransformer.js'), }, transformIgnorePatterns: [ - 'node_modules/(?!(@celo/)?@?react-native|@react-navigation|@react-native-community|uuid|statsig-js|@react-native-firebase|react-navigation|redux-persist|date-fns|victory-*|@walletconnect/react-native-compat|react-redux)', + 'node_modules/(?!@?react-native|@react-navigation|@react-native-community|uuid|statsig-js|@react-native-firebase|react-navigation|redux-persist|date-fns|victory-*|@walletconnect/react-native-compat|react-redux)', ], } diff --git a/package.json b/package.json index 7d2ff40845d..fb6a242d86b 100644 --- a/package.json +++ b/package.json @@ -316,13 +316,13 @@ "__comment2": "Specifying 'testBinaryPath' otherwise detox infers the wrong APK name because we're using split APKs" }, "ios.debug": { - "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/valora.app", - "build": "unset PREFIX && set -o pipefail && xcodebuild -workspace ios/celo.xcworkspace -scheme celo-test -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | bundle exec xcpretty", + "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Valora.app", + "build": "unset PREFIX && set -o pipefail && xcodebuild -workspace ios/MobileStack.xcworkspace -scheme MobileStack-test -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | bundle exec xcpretty", "type": "ios.app" }, "ios.release": { - "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/valora.app", - "build": "unset PREFIX && set -o pipefail && xcodebuild -workspace ios/celo.xcworkspace -scheme celo-test -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | bundle exec xcpretty", + "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Valora.app", + "build": "unset PREFIX && set -o pipefail && xcodebuild -workspace ios/MobileStack.xcworkspace -scheme MobileStack-test -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | bundle exec xcpretty", "type": "ios.app" } }, diff --git a/renovate.json5 b/renovate.json5 index 49325b5c241..9ebcaaedafa 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -57,14 +57,6 @@ matchManagers: ['gradle', 'gradle-wrapper'], prPriority: -1, }, - { - // Group updates for @celo packages - matchPackagePatterns: ['^@celo/'], - groupName: 'celo', - // major upgrade has multiple breaking changes - // TODO(ACT-1088): enable once done - enabled: false, - }, { // Group updates for @testing-library packages matchPackagePatterns: ['^@testing-library/'], diff --git a/scripts/pre-deploy.sh b/scripts/pre-deploy.sh index 65382f6c91b..368e219cea6 100755 --- a/scripts/pre-deploy.sh +++ b/scripts/pre-deploy.sh @@ -39,7 +39,7 @@ new_version_code=$((current_version_code + 1)) sed -i "" "s/^VERSION_CODE=.*/VERSION_CODE=$new_version_code/" $gradle_properties # iOS: use sed to change MARKETING_VERSION in the project (agvtool unfortunately changes the plist files which we don't want) -sed -i '' -e "s/MARKETING_VERSION \= [^\;]*\;/MARKETING_VERSION = $new_version;/" ios/celo.xcodeproj/project.pbxproj +sed -i '' -e "s/MARKETING_VERSION \= [^\;]*\;/MARKETING_VERSION = $new_version;/" ios/MobileStack.xcodeproj/project.pbxproj # agvtool works correctly for CURRENT_PROJECT_VERSION though and only touches the project and not the plist files pushd ios; agvtool next-version; popd echo "===Done updating versions===" diff --git a/scripts/run_app.sh b/scripts/run_app.sh index 4639181facf..39b4d3e3b4b 100755 --- a/scripts/run_app.sh +++ b/scripts/run_app.sh @@ -130,7 +130,7 @@ elif [ "$PLATFORM" = "ios" ]; then if [ -n "$DEVICE" ]; then device_param="--device=$DEVICE" fi - yarn react-native run-ios --scheme "celo-${ENV_NAME}" --configuration "$CONFIGURATION" --no-packager "${simulator_param}" "${device_param}" + yarn react-native run-ios --scheme "MobileStack-${ENV_NAME}" --configuration "$CONFIGURATION" --no-packager "${simulator_param}" "${device_param}" else echo "Invalid value for platform, must be 'android' or 'ios'" diff --git a/scripts/sync_ios_info_plist_strings.sh b/scripts/sync_ios_info_plist_strings.sh index e69376dcc98..9cbef37f6e3 100755 --- a/scripts/sync_ios_info_plist_strings.sh +++ b/scripts/sync_ios_info_plist_strings.sh @@ -17,11 +17,11 @@ plist_keys=( NSFaceIDUsageDescription ) -info_plist_strings="ios/celo/Base.lproj/InfoPlist.strings" +info_plist_strings="ios/MobileStack/Base.lproj/InfoPlist.strings" echo -e "/* DO NOT EDIT MANUALLY, SEE scripts/sync_ios_info_plist_strings.sh */\n" > $info_plist_strings for plist_key in "${plist_keys[@]}"; do - plist_value=$(/usr/libexec/PlistBuddy -c "Print :$plist_key" ios/celo/Info.plist) + plist_value=$(/usr/libexec/PlistBuddy -c "Print :$plist_key" ios/MobileStack/Info.plist) echo "$plist_key = \"$plist_value\";" >> $info_plist_strings done