diff options
| author | ruki <[email protected]> | 2020-11-13 23:59:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-13 23:59:24 +0800 |
| commit | f98e16155b53e199b40c8d8fe9c0d7c4ffc4659c (patch) | |
| tree | 56ad111d96184b78973d258927c52bcdcafab23c /tests/projects/objc/iosapp_with_framework/src/framework | |
| parent | e88fec9971eae101529deb7b2bcd58b2284c5e41 (diff) | |
add iosapp with framework
Diffstat (limited to 'tests/projects/objc/iosapp_with_framework/src/framework')
3 files changed, 33 insertions, 0 deletions
diff --git a/tests/projects/objc/iosapp_with_framework/src/framework/Info.plist b/tests/projects/objc/iosapp_with_framework/src/framework/Info.plist new file mode 100644 index 000000000..20608314e --- /dev/null +++ b/tests/projects/objc/iosapp_with_framework/src/framework/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>$(DEVELOPMENT_LANGUAGE)</string> + <key>CFBundleExecutable</key> + <string>$(EXECUTABLE_NAME)</string> + <key>CFBundleIdentifier</key> + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>$(PRODUCT_NAME)</string> + <key>CFBundlePackageType</key> + <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>$(CURRENT_PROJECT_VERSION)</string> + <key>NSHumanReadableCopyright</key> + <string>Copyright © 2020 tboox. All rights reserved.</string> +</dict> +</plist> diff --git a/tests/projects/objc/iosapp_with_framework/src/framework/test.h b/tests/projects/objc/iosapp_with_framework/src/framework/test.h new file mode 100644 index 000000000..d882546d1 --- /dev/null +++ b/tests/projects/objc/iosapp_with_framework/src/framework/test.h @@ -0,0 +1,3 @@ +#import <Foundation/Foundation.h> + +FOUNDATION_EXPORT int add(int a, int b); diff --git a/tests/projects/objc/iosapp_with_framework/src/framework/test.m b/tests/projects/objc/iosapp_with_framework/src/framework/test.m new file mode 100644 index 000000000..84422f6a7 --- /dev/null +++ b/tests/projects/objc/iosapp_with_framework/src/framework/test.m @@ -0,0 +1,6 @@ +#include "test.h" + +int add(int a, int b) +{ + return a + b; +} |
