Skip to content

Commit 862a620

Browse files
author
devz906
committed
Re-enable DynaRec with PAGE16K and fix iOS app build
- Add back -DPAGE16K=ON for A18 Pro 16KB page optimization - Re-enable DynaRec compilation with proper iOS compatibility - Update build message to reflect DynaRec is enabled - Fix iOS app build with CODE_SIGNING_ALLOWED=NO - Remove -allowProvisioningUpdates to prevent provisioning errors - This should enable full Box64 performance while building successfully Now using the original A18 Pro optimization flags as documented
1 parent bb07f3b commit 862a620

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ jobs:
8080
echo "⚙️ Generating Xcode project..."
8181
xcodegen generate
8282
83-
- name: Build iOS app
83+
- name: Build IMGTool iOS app
8484
run: |
8585
echo "🔨 Building IMGTool iOS app..."
8686
xcodebuild -project IMGTool.xcodeproj \
8787
-scheme IMGTool \
8888
-configuration Debug \
8989
-destination generic/platform=iOS \
9090
-derivedDataPath build \
91-
-allowProvisioningUpdates \
91+
CODE_SIGNING_ALLOWED=NO \
9292
clean build
9393
9494
- name: Upload Box64 Framework

compile_engine.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ cmake ../box64_source \
8787
-DCMAKE_INSTALL_PREFIX="../$INSTALL_DIR" \
8888
-DARM_DYNAREC=ON \
8989
-DAPPLE=1 \
90+
-DPAGE16K=ON \
9091
-DNOGIT=ON \
9192
-DARM64=1 \
9293
-DLD80BITS=1 \
@@ -95,8 +96,8 @@ cmake ../box64_source \
9596
-DCMAKE_INSTALL_LIBDIR="lib" \
9697
-DCMAKE_MACOSX_BUNDLE=OFF
9798

98-
# Build Box64 - build interpreter and main box64 executable (skip dynarec for iOS compatibility)
99-
echo "🔨 Building Box64 for iOS A18 Pro (interpreter + main executable, no dynarec)..."
99+
# Build Box64 - build interpreter and main box64 executable with DynaRec enabled
100+
echo "🔨 Building Box64 for iOS A18 Pro (interpreter + main executable with DynaRec)..."
100101
make interpreter -j$(sysctl -n hw.ncpu)
101102

102103
# Try to build main box64 executable, but skip if dynarec fails

0 commit comments

Comments
 (0)