From f331821314f9b35867a18c5c8fc2f918536d79ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=ADdac=20Coll=20Pujals?= Date: Mon, 3 Jun 2024 19:41:32 +0200 Subject: [PATCH] Include PrivacyInfo.xcprivacy manifest on Krono's target from Kronos.xcodeproj (#117) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add new script Copy Bundle Resource on Krono's Build Phase and include the PrivacyInfo.xcprivacy, otherwise when running xcodebuild create-xcframework command the manifest isn't included on Kronos.xcframework. Signed-off-by: Dídac Coll --- Kronos.xcodeproj/project.pbxproj | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Kronos.xcodeproj/project.pbxproj b/Kronos.xcodeproj/project.pbxproj index 31dc1e6..01c7de0 100644 --- a/Kronos.xcodeproj/project.pbxproj +++ b/Kronos.xcodeproj/project.pbxproj @@ -20,6 +20,7 @@ 26447D8A1D6E54FF00159BEE /* DNSResolverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26447D861D6E54FF00159BEE /* DNSResolverTests.swift */; }; 26447D8B1D6E54FF00159BEE /* NTPClientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26447D871D6E54FF00159BEE /* NTPClientTests.swift */; }; 26447D8C1D6E54FF00159BEE /* NTPPacketTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26447D881D6E54FF00159BEE /* NTPPacketTests.swift */; }; + 5D6654E82BF520FA00FCE215 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 5DB5A05F2BAAF67D0069CCF9 /* PrivacyInfo.xcprivacy */; }; 930B39DD2051E6D300360BA2 /* TimeStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 930B39DC2051E6D300360BA2 /* TimeStorage.swift */; }; 930B39E02051F26500360BA2 /* TimeStorageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 930B39DE2051F25300360BA2 /* TimeStorageTests.swift */; }; C201748E1BD5509D00E4FE18 /* Kronos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C20174831BD5509D00E4FE18 /* Kronos.framework */; }; @@ -156,6 +157,7 @@ buildConfigurationList = C20174971BD5509D00E4FE18 /* Build configuration list for PBXNativeTarget "Kronos" */; buildPhases = ( C201747E1BD5509D00E4FE18 /* Sources */, + 5D6654E72BF520F600FCE215 /* Resources */, ); buildRules = ( ); @@ -222,6 +224,17 @@ }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 5D6654E72BF520F600FCE215 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5D6654E82BF520FA00FCE215 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ C201747E1BD5509D00E4FE18 /* Sources */ = { isa = PBXSourcesBuildPhase;