Skip to content

Commit

Permalink
(ios) Adding build script to fix duplicated framework
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiehanson committed Nov 18, 2024
1 parent 99ee89b commit 2131996
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions phoenix-ios/phoenix-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,7 @@
buildConfigurationList = DCB0DB8C255AE42F005B29C8 /* Build configuration list for PBXNativeTarget "phoenix-ios-framework" */;
buildPhases = (
DCB0DB95255AE43E005B29C8 /* ShellScript */,
DCB0DB9F255AE6F1005B29C8 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -1784,6 +1785,24 @@
shellPath = /bin/sh;
shellScript = "cd \"$SRCROOT/..\"\necho ./gradlew embedAndSignAppleFrameworkForXcode\n./gradlew embedAndSignAppleFrameworkForXcode\n";
};
DCB0DB9F255AE6F1005B29C8 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"$SRCROOT/../phoenix-shared/build/xcode-frameworks/$CONFIGURATION/$SDK_NAME/PhoenixShared.framework",
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "FrmkDuplicate=\"$SRCROOT/../phoenix-shared/build/xcode-frameworks/$CONFIGURATION/$SDK_NAME/PhoenixShared.framework/Frameworks/PhoenixShared.framework\"\n\nif [ -e \"$FrmkDuplicate\" ]; then\n echo \"Deleting duplicate framework: $FrmkDuplicate\"\n rm -R \"$FrmkDuplicate\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down

0 comments on commit 2131996

Please sign in to comment.