From 5f5daf64c504e1103a355f45bf925a5149b03e24 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 9 Aug 2026 18:06:16 +0800 Subject: move templates dir --- xmake/templates/objc/xcode/bundle/src/Info.plist | 24 ++++++++++++++++++++++++ xmake/templates/objc/xcode/bundle/src/test.h | 3 +++ xmake/templates/objc/xcode/bundle/src/test.m | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 xmake/templates/objc/xcode/bundle/src/Info.plist create mode 100644 xmake/templates/objc/xcode/bundle/src/test.h create mode 100644 xmake/templates/objc/xcode/bundle/src/test.m (limited to 'xmake/templates/objc/xcode/bundle/src') diff --git a/xmake/templates/objc/xcode/bundle/src/Info.plist b/xmake/templates/objc/xcode/bundle/src/Info.plist new file mode 100644 index 000000000..20608314e --- /dev/null +++ b/xmake/templates/objc/xcode/bundle/src/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2020 tboox. All rights reserved. + + diff --git a/xmake/templates/objc/xcode/bundle/src/test.h b/xmake/templates/objc/xcode/bundle/src/test.h new file mode 100644 index 000000000..d882546d1 --- /dev/null +++ b/xmake/templates/objc/xcode/bundle/src/test.h @@ -0,0 +1,3 @@ +#import + +FOUNDATION_EXPORT int add(int a, int b); diff --git a/xmake/templates/objc/xcode/bundle/src/test.m b/xmake/templates/objc/xcode/bundle/src/test.m new file mode 100644 index 000000000..20e29bd0a --- /dev/null +++ b/xmake/templates/objc/xcode/bundle/src/test.m @@ -0,0 +1,5 @@ +#include "test.h" + +int add(int a, int b) { + return a + b; +} -- cgit v1.3.1