Skip to content

Commit

Permalink
Merge pull request #27 from SourcePointUSA/DIA-2811-remove-code-signi…
Browse files Browse the repository at this point in the history
…ng-iOS

DIA-2811 remove code signing for ios
  • Loading branch information
Nevazhnovu authored Jan 24, 2024
2 parents f20dc1c + 82e662d commit b6e969e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using ConsentManagementProviderLib;

public static class CMPPostProcessBuild
{
{
[PostProcessBuild(800)]
public static void OnPostProcessBuild(BuildTarget buildTarget, string buildPath)
{
Expand Down Expand Up @@ -54,7 +54,10 @@ static void AddBridgeToPods(string path, string bridgePath)
pbxPods.ReadFromFile(podsPath);
string bridgeGuid = pbxPods.AddFile(path+"/"+bridgePath,"Pods/ConsentViewController/SwiftBridge.swift");
string cmpGuid = pbxPods.TargetGuidByName("ConsentViewController");
string cmpCmpGuid = pbxPods.TargetGuidByName("ConsentViewController-ConsentViewController");
pbxPods.AddFileToBuild(cmpGuid,bridgeGuid);
pbxPods.AddBuildProperty(cmpGuid, "CODE_SIGN_IDENTITY", "");
pbxPods.AddBuildProperty(cmpCmpGuid, "CODE_SIGN_IDENTITY", "");
pbxPods.WriteToFile(podsPath);
}

Expand Down

0 comments on commit b6e969e

Please sign in to comment.