Skip to content

Commit 1b60690

Browse files
Matthew BenedictMatthew Benedict
authored andcommitted
Alpha 6
1 parent 3743b93 commit 1b60690

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

Source/CyberCore/Configurations/CyberCore.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ WK_DEBUG_LDFLAGS[config=Debug] = -Wl,-debug_variant
147147
// FIXME: Reduce the number of allowable_clients <rdar://problem/31823969>
148148
OTHER_LDFLAGS = $(inherited) $(WK_RELOCATABLE_FRAMEWORK_LDFLAGS) -weak-lxslt -lsqlite3 -lobjc -allowable_client CyberCoreTestSupport -allowable_client CyberKitLegacy -allowable_client TestIPC -force_load $(BUILT_PRODUCTS_DIR)/libPAL.a -framework CFNetwork -framework CoreAudio -framework CoreGraphics -framework CoreText -framework Foundation -framework IOSurface -framework ImageIO -framework Metal $(OTHER_LDFLAGS_PLATFORM_$(WK_COCOA_TOUCH)) $(OTHER_LDFLAGS_PLATFORM_$(WK_PLATFORM_NAME)) $(WK_ANGLE_LDFLAGS) $(WK_WEBGPU_LDFLAGS) $(WK_APPKIT_LDFLAGS) $(WK_APPSUPPORT_LDFLAGS) $(WK_AUDIO_UNIT_LDFLAGS) $(WK_CARBON_LDFLAGS) $(WK_CORE_UI_LDFLAGS) $(WK_DATA_DETECTORS_CORE_LDFLAGS) $(WK_GRAPHICS_SERVICES_LDFLAGS) $(WK_IOSURFACE_ACCELERATOR_LDFLAGS) $(WK_LIBWEBRTC_LDFLAGS) $(WK_MOBILE_CORE_SERVICES_LDFLAGS) $(WK_MOBILE_GESTALT_LDFLAGS) $(WK_NETWORK_EXTENSION_LDFLAGS) $(WK_SYSTEM_CONFIGURATION_LDFLAGS) $(WK_CORE_IMAGE_LDFLAGS) $(WK_URL_FORMATTING_LDFLAGS) $(WK_UNIFORM_TYPE_IDENTIFIERS_LDFLAGS) $(WK_SCENEKIT_LDFLAGS) $(SOURCE_VERSION_LDFLAGS) $(PROFILE_GENERATE_OR_USE_LDFLAGS) $(WK_NO_STATIC_INITIALIZERS) $(WK_DEBUG_LDFLAGS);
149149

150-
OTHER_LDFLAGS_PLATFORM_cocoatouch = -allowable_client CyberKit -allowable_client iTunesU -allowable_client Casablanca -allowable_client Remote -allowable_client TVBooks -allowable_client DumpRenderTree -allowable_client CyberKitTestRunner -allowable_client TestCyberKitAPI -allowable_client MobileMiniBrowser;
150+
OTHER_LDFLAGS_PLATFORM_cocoatouch = -allowable_client CyberKit -allowable_client iTunesU -allowable_client Casablanca -allowable_client Remote -allowable_client TVBooks -allowable_client DumpRenderTree -allowable_client CyberKitTestRunner -allowable_client TestCyberKitAPI -allowable_client MobileMiniBrowser -allowable_client Client;
151151
OTHER_LDFLAGS_PLATFORM_macosx = -sub_library libobjc -umbrella CyberKit $(PROFILE_GENERATE_OR_USE_LDFLAGS);
152152

153153
SECTORDER_FLAGS = $(SECTORDER_FLAGS_$(CONFIGURATION));

Source/CyberCore/platform/ios/UserAgentIOS.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ String standardUserAgentWithApplicationName(const String& applicationName, const
9292
#if 1 || USE(STATIC_IPAD_USER_AGENT_VALUE)
9393
UNUSED_PARAM(userAgentOSVersion);
9494
UNUSED_PARAM(separator);
95-
return makeString("Mozilla/5.0 (iPad; CPU OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Mobile/15E148 Safari/604.1");
95+
return makeString("Mozilla/5.0 (iPad; CPU OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1");
9696
#else
9797
// FIXME: We should deprecate and remove this override; see https://bugs.webkit.org/show_bug.cgi?id=217927 for details.
9898
if (auto override = dynamic_cf_cast<CFStringRef>(adoptCF(CFPreferencesCopyAppValue(CFSTR("UserAgent"), CFSTR("com.apple.WebFoundation")))))

Source/CyberKit/CyberKit.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17688,7 +17688,7 @@
1768817688
CODE_SIGN_IDENTITY = "Apple Development";
1768917689
CODE_SIGN_STYLE = Automatic;
1769017690
DEVELOPMENT_TEAM = SJ87WGCZM7;
17691-
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit.WebContent.Development;
17691+
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit.WebContent;
1769217692
PROVISIONING_PROFILE_SPECIFIER = "";
1769317693
};
1769417694
name = Debug;
@@ -17700,7 +17700,7 @@
1770017700
CODE_SIGN_IDENTITY = "Apple Development";
1770117701
CODE_SIGN_STYLE = Automatic;
1770217702
DEVELOPMENT_TEAM = "";
17703-
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit.WebContent.Development;
17703+
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit.WebContent;
1770417704
PROVISIONING_PROFILE_SPECIFIER = "";
1770517705
};
1770617706
name = Release;

Source/CyberKit/UIProcess/API/ios/WKWebViewIOS.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ - (void)_restorePageStateToUnobscuredCenter:(std::optional<CyberCore::FloatPoint
11891189

11901190
- (RefPtr<CyberKit::ViewSnapshot>)_takeViewSnapshot
11911191
{
1192-
#if HAVE(CORE_ANIMATION_RENDER_SERVER)
1192+
#if HAVE(CORE_ANIMATION_RENDER_SERVER) && 0
11931193
float deviceScale = CyberCore::screenScaleFactor();
11941194
CyberCore::FloatSize snapshotSize(self.bounds.size);
11951195
snapshotSize.scale(deviceScale);

Source/ThirdParty/ANGLE/Configurations/ANGLE-dynamic.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PRODUCT_NAME = ANGLE-shared;
44
EXECUTABLE_PREFIX = lib;
55

6-
ANGLE_OTHER_LDFLAGS = -allowable_client CyberCore -allowable_client CyberCoreTestSupport -allowable_client MobileMiniBrowser -framework QuartzCore -framework CoreGraphics -framework Foundation -framework IOSurface -framework Metal $(ANGLE_OTHER_LDFLAGS_$(WK_PLATFORM_NAME)) -Wl;
6+
ANGLE_OTHER_LDFLAGS = -allowable_client CyberCore -allowable_client CyberCoreTestSupport -allowable_client MobileMiniBrowser -allowable_client Client -framework QuartzCore -framework CoreGraphics -framework Foundation -framework IOSurface -framework Metal $(ANGLE_OTHER_LDFLAGS_$(WK_PLATFORM_NAME)) -Wl;
77
ANGLE_OTHER_LDFLAGS_iphoneos = -lz;
88
ANGLE_OTHER_LDFLAGS_iphonesimulator = $(ANGLE_OTHER_LDFLAGS_iphoneos);
99
ANGLE_OTHER_LDFLAGS_watchos = $(ANGLE_OTHER_LDFLAGS_iphoneos);

Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@
563563
"$(inherited)",
564564
"@executable_path/Frameworks",
565565
);
566-
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.MobileMiniBrowser;
566+
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.ios.Fennec;
567567
PRODUCT_NAME = MobileMiniBrowser;
568568
PROVISIONING_PROFILE_SPECIFIER = "";
569569
TARGETED_DEVICE_FAMILY = "1,2";
@@ -584,7 +584,7 @@
584584
"$(inherited)",
585585
"@executable_path/Frameworks",
586586
);
587-
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.MobileMiniBrowser;
587+
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.ios.Fennec;
588588
PRODUCT_NAME = MobileMiniBrowser;
589589
PROVISIONING_PROFILE_SPECIFIER = "";
590590
TARGETED_DEVICE_FAMILY = "1,2";

Tools/MobileMiniBrowser/script_fakesigner.entitlements

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
<key>com.apple.security.exception.files.home-relative-path.read-write</key>
145145
<array>
146146
<string>/Library/Safari/AutoFillQuirks.plist</string>
147-
<string>/Documents/</string>
148147
</array>
149148
<key>com.apple.security.exception.mach-lookup.global-name</key>
150149
<array>

Tools/MobileMiniBrowser/script_fakesigner.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ ln -s ../../../../Frameworks $app/Frameworks/CyberKit.framework/XPCServices/com.
4646
ln -s ../../../../Frameworks $app/Frameworks/CyberKit.framework/XPCServices/com.matthewbenedict.CyberKit.WebContent.xpc
4747
cp ../adattributiond $app/Frameworks/CyberKit.framework/Daemons
4848
cp ../webpushd $app/Frameworks/CyberKit.framework/Daemons
49+
plutil -convert xml1 $app/Info.plist
50+
gsed -i -e 's/com.matthewbenedict.ios.Fennec/com.matthewbenedict.MobileMiniBrowser/g' $app/Info.plist
51+
plutil -convert binary1 $app/Info.plist
4952
else
5053
echo "[!] No .ipa file supplied!"
5154
fi
@@ -90,4 +93,4 @@ cd ..
9093
echo "[*] packaging.."
9194
rm -f "$ipa.zip" || true
9295
zip -r -y "$ipa.zip" Payload
93-
echo "[*] Created $ipa.zip"
96+
echo "[*] Created $ipa.zip"

0 commit comments

Comments
 (0)