Skip to content

Commit

Permalink
chore(Cross): [IOAPPX-347] Remove react-native-text-input-mask build …
Browse files Browse the repository at this point in the history
…phase script on iOS (#6310)

## Short description
This PR removes the build script patch for
`react-native-text-input-mask` which is a removed dependency.

## List of changes proposed in this pull request
- Remove the workaround from the `Build Phases`.

## How to test
```bash
# If you store DeriveData with relative path to the project folder, otherwise use Xcode to clean the build
> rm -rf ios/DerivedData 
> rm -rf ios/Pods
> cd ios && bundler exec pod install && cd .. 
> yarn react-native run-ios
```
This should also fix a warning we receive when building the iOS app.

Co-authored-by: Federico Mastrini <federicomastrini93@gmail.com>
Co-authored-by: Alessandro <alessandro.izzo998@gmail.com>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 274fa6f commit f5cf7ce
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions ios/ItaliaApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
61CC933C2135818C00206602 /* Embed Frameworks */,
7A034949213D55CA0064B689 /* Work around InputMask.xcodeproj embedding an extra set of Swift libraries */,
520BD832C8035EF5E68D9913 /* [CP] Embed Pods Frameworks */,
963519164D766C5238AA1B42 /* [CP] Copy Pods Resources */,
749771495C064EBF91231ED5 /* Upload Debug Symbols to Sentry */,
Expand Down Expand Up @@ -565,20 +564,6 @@
shellPath = /bin/sh;
shellScript = "/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh";
};
7A034949213D55CA0064B689 /* Work around InputMask.xcodeproj embedding an extra set of Swift libraries */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Work around InputMask.xcodeproj embedding an extra set of Swift libraries";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# see https://github.com/react-native-community/react-native-text-input-mask/issues/22#issuecomment-344765116\n\nEXTRA_DIR=\"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Frameworks/InputMask.framework/Frameworks\"\n\nif [[ -d \"${EXTRA_DIR}\" ]]; then\n rm -rf \"${EXTRA_DIR}\"\nfi\n";
};
95AEBF4A23D0A295000598A9 /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down

0 comments on commit f5cf7ce

Please sign in to comment.