From 4e5ed1978d69b9c7a957073b8100f3220c7af406 Mon Sep 17 00:00:00 2001 From: Volodymyr Nazarkevych Date: Mon, 26 Dec 2022 17:33:29 +0200 Subject: [PATCH] fixed assets tests --- .../project.pbxproj | 46 +++++++++++++++++++ .../project.pbxproj | 1 + .../project.pbxproj | 2 + .../project.pbxproj | 10 ++++ ParseUI/ParseUI.xcodeproj/project.pbxproj | 2 + Rakefile | 34 +++++++------- 6 files changed, 78 insertions(+), 17 deletions(-) diff --git a/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj b/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj index acb0392ca..b74f47c28 100644 --- a/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj +++ b/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj @@ -45,6 +45,15 @@ 7C78240529290CA600E9364E /* FBSDKCoreKit_Basics.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240129290C9A00E9364E /* FBSDKCoreKit_Basics.xcframework */; }; 7C78240629290CA600E9364E /* FBSDKCoreKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240029290C9A00E9364E /* FBSDKCoreKit.xcframework */; }; 7C78240729290CA600E9364E /* FBSDKLoginKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240229290C9B00E9364E /* FBSDKLoginKit.xcframework */; }; + 844D0B9F2959AE120026E74D /* FBAEMKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240329290C9B00E9364E /* FBAEMKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA02959AE120026E74D /* FBSDKCoreKit_Basics.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240129290C9A00E9364E /* FBSDKCoreKit_Basics.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA12959AE120026E74D /* FBSDKCoreKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240029290C9A00E9364E /* FBSDKCoreKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA22959AE130026E74D /* FBSDKLoginKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240229290C9B00E9364E /* FBSDKLoginKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA32959AE1B0026E74D /* FBAEMKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240329290C9B00E9364E /* FBAEMKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA42959AE1B0026E74D /* FBSDKCoreKit_Basics.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240129290C9A00E9364E /* FBSDKCoreKit_Basics.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA52959AE1B0026E74D /* FBSDKCoreKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240029290C9A00E9364E /* FBSDKCoreKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA62959AE1B0026E74D /* FBSDKLoginKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C78240229290C9B00E9364E /* FBSDKLoginKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 844D0BA72959AE1B0026E74D /* FBSDKTVOSKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7C77D01B2929114E00C4D90E /* FBSDKTVOSKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -155,6 +164,10 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 844D0B9F2959AE120026E74D /* FBAEMKit.xcframework in Embed Frameworks */, + 844D0BA02959AE120026E74D /* FBSDKCoreKit_Basics.xcframework in Embed Frameworks */, + 844D0BA12959AE120026E74D /* FBSDKCoreKit.xcframework in Embed Frameworks */, + 844D0BA22959AE130026E74D /* FBSDKLoginKit.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -165,6 +178,11 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 844D0BA32959AE1B0026E74D /* FBAEMKit.xcframework in Embed Frameworks */, + 844D0BA42959AE1B0026E74D /* FBSDKCoreKit_Basics.xcframework in Embed Frameworks */, + 844D0BA52959AE1B0026E74D /* FBSDKCoreKit.xcframework in Embed Frameworks */, + 844D0BA62959AE1B0026E74D /* FBSDKLoginKit.xcframework in Embed Frameworks */, + 844D0BA72959AE1B0026E74D /* FBSDKTVOSKit.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -853,6 +871,9 @@ isa = XCBuildConfiguration; baseConfigurationReference = F52CD64A1B5838560051AB86 /* ParseFacebookUtilsV4-iOS.xcconfig */; buildSettings = { + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; SUPPORTS_MACCATALYST = NO; @@ -864,8 +885,12 @@ isa = XCBuildConfiguration; baseConfigurationReference = F52CD64A1B5838560051AB86 /* ParseFacebookUtilsV4-iOS.xcconfig */; buildSettings = { + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; + ONLY_ACTIVE_ARCH = YES; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -908,7 +933,10 @@ baseConfigurationReference = 4AAEAA92200C025100AA7479 /* ParseFacebookUtilsV4-iOS-Dynamic.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_MODULES_AUTOLINK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; SUPPORTS_MACCATALYST = NO; @@ -922,9 +950,13 @@ baseConfigurationReference = 4AAEAA92200C025100AA7479 /* ParseFacebookUtilsV4-iOS-Dynamic.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_MODULES_AUTOLINK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; + ONLY_ACTIVE_ARCH = YES; SUPPORTS_MACCATALYST = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -936,7 +968,10 @@ baseConfigurationReference = 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsV4-tvOS-Dynamic.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_MODULES_AUTOLINK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; SWIFT_VERSION = 5.0; TVOS_DEPLOYMENT_TARGET = 9.0; @@ -948,8 +983,12 @@ baseConfigurationReference = 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsV4-tvOS-Dynamic.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_MODULES_AUTOLINK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; + ONLY_ACTIVE_ARCH = YES; SWIFT_VERSION = 5.0; TVOS_DEPLOYMENT_TARGET = 9.0; }; @@ -960,6 +999,9 @@ baseConfigurationReference = 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsV4-tvOS.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; TVOS_DEPLOYMENT_TARGET = 9.0; }; @@ -970,7 +1012,11 @@ baseConfigurationReference = 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsV4-tvOS.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; + ONLY_ACTIVE_ARCH = YES; TVOS_DEPLOYMENT_TARGET = 9.0; }; name = Release; diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj index b6b536a39..a61d9a574 100644 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj +++ b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj @@ -734,6 +734,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); + ONLY_ACTIVE_ARCH = YES; SDKROOT = appletvos; SWIFT_VERSION = 5.0; TVOS_DEPLOYMENT_TARGET = 9.0; diff --git a/ParseFacebookUtilsiOS/ParseFacebookUtilsiOS.xcodeproj/project.pbxproj b/ParseFacebookUtilsiOS/ParseFacebookUtilsiOS.xcodeproj/project.pbxproj index 7b47f8960..2c58877dc 100644 --- a/ParseFacebookUtilsiOS/ParseFacebookUtilsiOS.xcodeproj/project.pbxproj +++ b/ParseFacebookUtilsiOS/ParseFacebookUtilsiOS.xcodeproj/project.pbxproj @@ -1064,6 +1064,7 @@ FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = "$(SRCROOT)/ParseFacebookUtilsiOS/Resources/Info-iOS.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; + ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.parse.facebookutilsios; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; @@ -1148,6 +1149,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); + ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.parse.facebookutilsios; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; diff --git a/ParseTwitterUtils/ParseTwitterUtils.xcodeproj/project.pbxproj b/ParseTwitterUtils/ParseTwitterUtils.xcodeproj/project.pbxproj index 9629649f1..5e48b5de8 100644 --- a/ParseTwitterUtils/ParseTwitterUtils.xcodeproj/project.pbxproj +++ b/ParseTwitterUtils/ParseTwitterUtils.xcodeproj/project.pbxproj @@ -222,6 +222,10 @@ 81CB98D31AB7906D00136FA5 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../Resources/Info.plist; sourceTree = ""; }; 81ECACD71D1E14E000FA7673 /* ParseTwitterUtils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ParseTwitterUtils.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 81ECACD91D1E14F300FA7673 /* ParseTwitterUtils-iOS-Dynamic.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "ParseTwitterUtils-iOS-Dynamic.xcconfig"; sourceTree = ""; }; + 848E11B22959EF2100BA2457 /* FBAEMKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBAEMKit.xcframework; path = "/Users/admin/Documents/Projects/Parse-SDK-iOS-OSX/ParseFacebookUtils/../Carthage/Build/FBAEMKit.xcframework"; sourceTree = ""; }; + 848E11B42959EF2100BA2457 /* FBSDKCoreKit_Basics.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit_Basics.xcframework; path = "/Users/admin/Documents/Projects/Parse-SDK-iOS-OSX/ParseFacebookUtils/../Carthage/Build/FBSDKCoreKit_Basics.xcframework"; sourceTree = ""; }; + 848E11B62959EF2100BA2457 /* FBSDKCoreKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit.xcframework; path = "/Users/admin/Documents/Projects/Parse-SDK-iOS-OSX/ParseFacebookUtils/../Carthage/Build/FBSDKCoreKit.xcframework"; sourceTree = ""; }; + 848E11B82959EF2100BA2457 /* FBSDKLoginKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKLoginKit.xcframework; path = "/Users/admin/Documents/Projects/Parse-SDK-iOS-OSX/ParseFacebookUtils/../Carthage/Build/FBSDKLoginKit.xcframework"; sourceTree = ""; }; B9783172240D14A50049C02B /* OCMock.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OCMock.framework; sourceTree = BUILT_PRODUCTS_DIR; }; B99F4FFE2444B5B00061A6F5 /* ParseTwitterTestApplication.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ParseTwitterTestApplication.entitlements; sourceTree = ""; }; B9A7EEC123C49D94003E606E /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; @@ -297,6 +301,10 @@ 0867D69AFE84028FC02AAC07 /* Frameworks */ = { isa = PBXGroup; children = ( + 848E11B22959EF2100BA2457 /* FBAEMKit.xcframework */, + 848E11B42959EF2100BA2457 /* FBSDKCoreKit_Basics.xcframework */, + 848E11B62959EF2100BA2457 /* FBSDKCoreKit.xcframework */, + 848E11B82959EF2100BA2457 /* FBSDKLoginKit.xcframework */, B9783172240D14A50049C02B /* OCMock.framework */, B9A7EEC123C49D94003E606E /* CoreGraphics.framework */, 4A13522820282037000F5FD5 /* Bolts.framework */, @@ -952,6 +960,7 @@ baseConfigurationReference = F51535531B57453700C49F56 /* ParseTwitterUtils-iOS.xcconfig */; buildSettings = { IPHONEOS_DEPLOYMENT_TARGET = 9.0; + ONLY_ACTIVE_ARCH = YES; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -1046,6 +1055,7 @@ buildSettings = { CLANG_MODULES_AUTOLINK = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; + ONLY_ACTIVE_ARCH = YES; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; }; diff --git a/ParseUI/ParseUI.xcodeproj/project.pbxproj b/ParseUI/ParseUI.xcodeproj/project.pbxproj index a2ab7ce4f..36969872e 100644 --- a/ParseUI/ParseUI.xcodeproj/project.pbxproj +++ b/ParseUI/ParseUI.xcodeproj/project.pbxproj @@ -2118,6 +2118,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = NO; + ONLY_ACTIVE_ARCH = YES; SKIP_INSTALL = YES; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; @@ -2244,6 +2245,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = NO; + ONLY_ACTIVE_ARCH = YES; SKIP_INSTALL = YES; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/Rakefile b/Rakefile index 9a3511ac2..4a6418181 100644 --- a/Rakefile +++ b/Rakefile @@ -346,23 +346,23 @@ namespace :package do [watchos_framework_path, bolts_path], package_watchos_name) - # Rake::Task['build:facebook_utils:ios'].invoke - # ios_fb_utils_framework_path = File.join(build_folder, 'iOS', 'ParseFacebookUtilsV4.framework') - # make_package(release_folder, [ios_fb_utils_framework_path], 'ParseFacebookUtils-iOS.zip') - - # Rake::Task['build:twitter_utils:ios'].invoke - # ios_tw_utils_framework_path = File.join(build_folder, 'iOS', 'ParseTwitterUtils.framework') - # make_package(release_folder, [ios_tw_utils_framework_path], 'ParseTwitterUtils-iOS.zip') - - # Rake::Task['build:facebook_utils:tvos'].invoke - # tvos_fb_utils_framework_path = File.join(build_folder, 'tvOS', 'ParseFacebookUtilsV4.framework') - # make_package(release_folder, [tvos_fb_utils_framework_path], 'ParseFacebookUtils-tvOS.zip') - - # Rake::Task['build:parseui:framework'].invoke - # parseui_framework_path = File.join(build_folder, 'iOS', 'ParseUI.framework') - # make_package(release_folder, - # [parseui_framework_path], - # package_parseui_name) + Rake::Task['build:facebook_utils:ios'].invoke + ios_fb_utils_framework_path = File.join(build_folder, 'iOS', 'ParseFacebookUtilsV4.framework') + make_package(release_folder, [ios_fb_utils_framework_path], 'ParseFacebookUtils-iOS.zip') + + Rake::Task['build:twitter_utils:ios'].invoke + ios_tw_utils_framework_path = File.join(build_folder, 'iOS', 'ParseTwitterUtils.framework') + make_package(release_folder, [ios_tw_utils_framework_path], 'ParseTwitterUtils-iOS.zip') + + Rake::Task['build:facebook_utils:tvos'].invoke + tvos_fb_utils_framework_path = File.join(build_folder, 'tvOS', 'ParseFacebookUtilsV4.framework') + make_package(release_folder, [tvos_fb_utils_framework_path], 'ParseFacebookUtils-tvOS.zip') + + Rake::Task['build:parseui:framework'].invoke + parseui_framework_path = File.join(build_folder, 'iOS', 'ParseUI.framework') + make_package(release_folder, + [parseui_framework_path], + package_parseui_name) end desc 'Build and package all starter projects for the release'