ios: This fixes the build on macos and runs in the simulator.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
3029919553
commit
8f4b6e83eb
16
GNUmakefile
16
GNUmakefile
@ -912,8 +912,10 @@ src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
|
||||
|
||||
src/ios/Info.plist : $(firstword $(MAKEFILE_LIST))
|
||||
@echo "[ios_version] $@"
|
||||
@sed -z -r -i \
|
||||
-e 's@(<key>CFBundleShortVersionString</key>\s*<string>)[0-9.]*(</string>)@\1$(VERSION_NUMBER)\2@' \
|
||||
@cat $@ | \
|
||||
tr '\n' '^' | \
|
||||
sed -r -e 's@(<key>CFBundleShortVersionString</key>\s*<string>)[0-9.]*(</string>)@\1$(VERSION_NUMBER)\2@' | \
|
||||
tr '^' '\n' > \
|
||||
$@
|
||||
|
||||
##
|
||||
@ -973,11 +975,11 @@ out/apk/classes.dex: $(CLASS_FILES)
|
||||
@$(ANDROID_BUILD_TOOLS)/d8 --lib $(ANDROID_PLATFORM)/android.jar --output $(dir $@) out/classes/com/unprompted/tildefriends/*.class
|
||||
|
||||
PACKAGE_DIRS := \
|
||||
apps/ \
|
||||
core/ \
|
||||
deps/codemirror/ \
|
||||
deps/prettier/ \
|
||||
deps/lit/
|
||||
apps \
|
||||
core \
|
||||
deps/codemirror \
|
||||
deps/prettier \
|
||||
deps/lit
|
||||
|
||||
RAW_FILES := $(sort $(filter-out apps/blog% apps/issues% apps/welcome% apps/journal% %.map, $(shell find $(PACKAGE_DIRS) -type f -not -name '.*')))
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>6</string>
|
||||
<string>7</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
|
Loading…
x
Reference in New Issue
Block a user