Skip to content

Commit 15ed2fd

Browse files
authored
Merge pull request #245 from sendbird/ios-certs
chore: update ios cert, profile
2 parents feebbb8 + 529ae7f commit 15ed2fd

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

sample/ios/SendbirdUIKitSample.xcodeproj/project.pbxproj

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,14 @@
365365
inputFileListPaths = (
366366
"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
367367
);
368+
inputPaths = (
369+
);
368370
name = "[CP] Embed Pods Frameworks";
369371
outputFileListPaths = (
370372
"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
371373
);
374+
outputPaths = (
375+
);
372376
runOnlyForDeploymentPostprocessing = 0;
373377
shellPath = /bin/sh;
374378
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-frameworks.sh\"\n";
@@ -383,6 +387,8 @@
383387
"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)",
384388
);
385389
name = "[CP-User] [RNFB] Core Configuration";
390+
outputPaths = (
391+
);
386392
runOnlyForDeploymentPostprocessing = 0;
387393
shellPath = /bin/sh;
388394
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#\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 -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 -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_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.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";
@@ -439,10 +445,14 @@
439445
inputFileListPaths = (
440446
"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-resources-${CONFIGURATION}-input-files.xcfilelist",
441447
);
448+
inputPaths = (
449+
);
442450
name = "[CP] Copy Pods Resources";
443451
outputFileListPaths = (
444452
"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-resources-${CONFIGURATION}-output-files.xcfilelist",
445453
);
454+
outputPaths = (
455+
);
446456
runOnlyForDeploymentPostprocessing = 0;
447457
shellPath = /bin/sh;
448458
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SendbirdUIKitSample/Pods-SendbirdUIKitSample-resources.sh\"\n";
@@ -591,8 +601,7 @@
591601
);
592602
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.reactnative.sample;
593603
PRODUCT_NAME = SendbirdUIKitSample;
594-
PROVISIONING_PROFILE_SPECIFIER = "match Development com.sendbird.uikit.reactnative.sample";
595-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.sendbird.uikit.reactnative.sample 1728706970";
604+
PROVISIONING_PROFILE_SPECIFIER = "Dev - uikit.reactnative";
596605
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
597606
SWIFT_VERSION = 5.0;
598607
TARGETED_DEVICE_FAMILY = 1;
@@ -612,6 +621,7 @@
612621
CODE_SIGN_STYLE = Manual;
613622
CURRENT_PROJECT_VERSION = 2022.0403.1912;
614623
DEVELOPMENT_TEAM = RM4A5PXTUX;
624+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RM4A5PXTUX;
615625
INFOPLIST_FILE = SendbirdUIKitSample/Info.plist;
616626
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
617627
LD_RUNPATH_SEARCH_PATHS = (
@@ -627,7 +637,7 @@
627637
);
628638
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.reactnative.sample;
629639
PRODUCT_NAME = SendbirdUIKitSample;
630-
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.sendbird.uikit.reactnative.sample";
640+
PROVISIONING_PROFILE_SPECIFIER = "Dist - uikit.reactnative";
631641
SWIFT_VERSION = 5.0;
632642
TARGETED_DEVICE_FAMILY = 1;
633643
VERSIONING_SYSTEM = "apple-generic";
@@ -707,10 +717,7 @@
707717
"-DFOLLY_CFG_NO_COROUTINES=1",
708718
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
709719
);
710-
OTHER_LDFLAGS = (
711-
"$(inherited)",
712-
" ",
713-
);
720+
OTHER_LDFLAGS = "$(inherited) ";
714721
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../node_modules/react-native";
715722
SDKROOT = iphoneos;
716723
USE_HERMES = true;
@@ -782,10 +789,7 @@
782789
"-DFOLLY_CFG_NO_COROUTINES=1",
783790
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
784791
);
785-
OTHER_LDFLAGS = (
786-
"$(inherited)",
787-
" ",
788-
);
792+
OTHER_LDFLAGS = "$(inherited) ";
789793
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../node_modules/react-native";
790794
SDKROOT = iphoneos;
791795
USE_HERMES = true;
@@ -826,8 +830,7 @@
826830
MTL_FAST_MATH = YES;
827831
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.reactnative.sample.NotificationService;
828832
PRODUCT_NAME = "$(TARGET_NAME)";
829-
PROVISIONING_PROFILE_SPECIFIER = "match Development com.sendbird.uikit.reactnative.sample.NotificationService";
830-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.sendbird.uikit.reactnative.sample.NotificationService 1728707007";
833+
PROVISIONING_PROFILE_SPECIFIER = "Dev - uikit.reactnative.NotificationService";
831834
SKIP_INSTALL = YES;
832835
SWIFT_EMIT_LOC_STRINGS = YES;
833836
TARGETED_DEVICE_FAMILY = "1,2";
@@ -851,6 +854,7 @@
851854
CURRENT_PROJECT_VERSION = 2022.0403.1912;
852855
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
853856
DEVELOPMENT_TEAM = RM4A5PXTUX;
857+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RM4A5PXTUX;
854858
GCC_C_LANGUAGE_STANDARD = gnu11;
855859
GENERATE_INFOPLIST_FILE = YES;
856860
INFOPLIST_FILE = NotificationService/Info.plist;
@@ -866,7 +870,7 @@
866870
MTL_FAST_MATH = YES;
867871
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.reactnative.sample.NotificationService;
868872
PRODUCT_NAME = "$(TARGET_NAME)";
869-
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.sendbird.uikit.reactnative.sample.NotificationService";
873+
PROVISIONING_PROFILE_SPECIFIER = "Dist - uikit.reactnative.NotificationService";
870874
SKIP_INSTALL = YES;
871875
SWIFT_EMIT_LOC_STRINGS = YES;
872876
TARGETED_DEVICE_FAMILY = "1,2";

0 commit comments

Comments
 (0)