Skip to content

Commit 4245b84

Browse files
author
zhaoyongqiang
committed
fix bug
1 parent 408e5df commit 4245b84

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

iOS/APIExample.xcodeproj/project.pbxproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,8 @@
17361736
"$(inherited)",
17371737
"$(PROJECT_DIR)/Agora-ScreenShare-Extension",
17381738
);
1739-
PRODUCT_BUNDLE_IDENTIFIER = "io.agora.api.examples.collections.Agora-ScreenShare-Extension";
1739+
MARKETING_VERSION = 4.0.0;
1740+
PRODUCT_BUNDLE_IDENTIFIER = "io.agora.api.examples.Agora-ScreenShare-Extension";
17401741
PRODUCT_NAME = "$(TARGET_NAME)";
17411742
PROVISIONING_PROFILE_SPECIFIER = "";
17421743
SKIP_INSTALL = YES;
@@ -1770,7 +1771,8 @@
17701771
"$(inherited)",
17711772
"$(PROJECT_DIR)/Agora-ScreenShare-Extension",
17721773
);
1773-
PRODUCT_BUNDLE_IDENTIFIER = "io.agora.api.examples.collections.Agora-ScreenShare-Extension";
1774+
MARKETING_VERSION = 4.0.0;
1775+
PRODUCT_BUNDLE_IDENTIFIER = "io.agora.api.examples.Agora-ScreenShare-Extension";
17741776
PRODUCT_NAME = "$(TARGET_NAME)";
17751777
PROVISIONING_PROFILE_SPECIFIER = "";
17761778
SKIP_INSTALL = YES;
@@ -1919,6 +1921,7 @@
19191921
"$(inherited)",
19201922
"@executable_path/Frameworks",
19211923
);
1924+
MARKETING_VERSION = 4.0.0;
19221925
OTHER_LDFLAGS = (
19231926
"$(inherited)",
19241927
"-ObjC",
@@ -1958,7 +1961,7 @@
19581961
"-framework",
19591962
"\"UIKit\"",
19601963
);
1961-
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples.collections;
1964+
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples;
19621965
PRODUCT_NAME = "$(TARGET_NAME)";
19631966
PROVISIONING_PROFILE_SPECIFIER = "";
19641967
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";
@@ -1990,6 +1993,7 @@
19901993
"$(inherited)",
19911994
"@executable_path/Frameworks",
19921995
);
1996+
MARKETING_VERSION = 4.0.0;
19931997
OTHER_LDFLAGS = (
19941998
"$(inherited)",
19951999
"-ObjC",
@@ -2029,7 +2033,7 @@
20292033
"-framework",
20302034
"\"UIKit\"",
20312035
);
2032-
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples.collections;
2036+
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples;
20332037
PRODUCT_NAME = "$(TARGET_NAME)";
20342038
PROVISIONING_PROFILE_SPECIFIER = "";
20352039
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";

iOS/APIExample/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>BGTaskSchedulerPermittedIdentifiers</key>
6+
<array>
7+
<string>com.yourCompanyName.appName</string>
8+
</array>
59
<key>CFBundleDevelopmentRegion</key>
610
<string>$(DEVELOPMENT_LANGUAGE)</string>
711
<key>CFBundleExecutable</key>
@@ -15,7 +19,7 @@
1519
<key>CFBundlePackageType</key>
1620
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1721
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
22+
<string>$(MARKETING_VERSION)</string>
1923
<key>CFBundleVersion</key>
2024
<string>$(CURRENT_PROJECT_VERSION)</string>
2125
<key>LSRequiresIPhoneOS</key>

iOS/Agora-ScreenShare-Extension/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>NSExtension</key>

macOS/APIExample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@
13321332
"@executable_path/../Frameworks",
13331333
);
13341334
MARKETING_VERSION = 3.8.200;
1335-
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples.collections;
1335+
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples;
13361336
PRODUCT_NAME = "$(TARGET_NAME)";
13371337
PROVISIONING_PROFILE_SPECIFIER = "";
13381338
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";
@@ -1362,7 +1362,7 @@
13621362
"@executable_path/../Frameworks",
13631363
);
13641364
MARKETING_VERSION = 3.8.200;
1365-
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples.collections;
1365+
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.examples;
13661366
PRODUCT_NAME = "$(TARGET_NAME)";
13671367
PROVISIONING_PROFILE_SPECIFIER = "";
13681368
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";

0 commit comments

Comments
 (0)