xcconfig: Make app id platform-specific

This commit is contained in:
Roopesh Chander 2018-11-21 19:35:47 +05:30
parent 1d5b04c822
commit 8715b66caa
6 changed files with 10 additions and 10 deletions

View File

@ -790,7 +790,7 @@
);
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).network-extension";
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID_IOS).network-extension";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h";
@ -812,7 +812,7 @@
"@executable_path/../../Frameworks",
);
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).network-extension";
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID_IOS).network-extension";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h";
@ -977,7 +977,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID)";
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID_IOS)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "WireGuard/WireGuard-Bridging-Header.h";
SWIFT_VERSION = 4.2;
@ -996,7 +996,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID)";
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID_IOS)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "WireGuard/WireGuard-Bridging-Header.h";
SWIFT_VERSION = 4.2;

View File

@ -3,7 +3,7 @@
// You Apple developer account's Team ID
DEVELOPMENT_TEAM = <team_id>
// The bundle identifier of this app.
// The bundle identifier of the iOS app.
// Should be an app id created at developer.apple.com
// with Network Extensions capabilty.
APP_ID = <app_id>
APP_ID_IOS = <app_id>

View File

@ -123,6 +123,6 @@
</dict>
</array>
<key>com.wireguard.ios.app_group_id</key>
<string>group.$(APP_ID)</string>
<string>group.$(APP_ID_IOS)</string>
</dict>
</plist>

View File

@ -8,7 +8,7 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.$(APP_ID)</string>
<string>group.$(APP_ID_IOS)</string>
</array>
</dict>
</plist>

View File

@ -30,6 +30,6 @@
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
</dict>
<key>com.wireguard.ios.app_group_id</key>
<string>group.$(APP_ID)</string>
<string>group.$(APP_ID_IOS)</string>
</dict>
</plist>

View File

@ -8,7 +8,7 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.$(APP_ID)</string>
<string>group.$(APP_ID_IOS)</string>
</array>
</dict>
</plist>