Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] add flag with null value #349

Open
Maxtam83 opened this issue May 13, 2024 · 0 comments
Open

[FEAT] add flag with null value #349

Maxtam83 opened this issue May 13, 2024 · 0 comments

Comments

@Maxtam83
Copy link

Maxtam83 commented May 13, 2024

I intend to configure the provisioning profile to contain a specific value for iOS, but a null value for macOS. (I don’t have the license for macOS). Adding a flag with an empty value is not possible today. It is not possible for me to define the indicator as follows:

"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""

This would avoid having the same value for PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] and PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] in my XCode project settings.

project.pbxproj:

isa = XCBuildConfiguration;
			baseConfigurationReference = 3047A50F1AB8059700498E2A /* build-debug.xcconfig */;
			buildSettings = {
				ALWAYS_SEARCH_USER_PATHS = NO;
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				CLANG_ENABLE_MODULES = YES;
				CLANG_ENABLE_OBJC_ARC = YES;
				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development: XXXXX (XXXXXX)";
				CODE_SIGN_STYLE = Manual;
				COPY_PHASE_STRIP = NO;
				"DEVELOPMENT_TEAM[sdk=iphoneos*]" = XXXXXXX;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",
					"\"TEST APP/Plugins/@thegrizzlylabs/cordova-plugin-genius-scan\"",
					"\"TEST APP/Plugins/@thegrizzlylabs/cordova-plugin-genius-scan\"",
					"\"TEST APP/Plugins/@thegrizzlylabs/cordova-plugin-genius-scan\"",
				);
				GCC_DYNAMIC_NO_PIC = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PRECOMPILE_PREFIX_HEADER = YES;
				GCC_PREFIX_HEADER = "TEST APP/TEST APP-Prefix.pch";
				GCC_THUMB_SUPPORT = NO;
				GCC_VERSION = "";
				INFOPLIST_FILE = "TEST APP/TEST APP-Info.plist";
				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
				LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
				PRODUCT_BUNDLE_IDENTIFIER = xx.xxx-xxxxxxx.TEST-IOS;
				PRODUCT_NAME = "$(TARGET_NAME)";
				"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "iOS Development 2023";
				SUPPORTS_MACCATALYST = YES;
				TARGETED_DEVICE_FAMILY = "1,2";
				VALIDATE_WORKSPACE = NO;
			};
			name = Debug;

image (1)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant