├── Android └── My_Plugin_Android │ ├── My_Plugin │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── eppz │ │ │ │ └── myplugin │ │ │ │ └── My_Plugin.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ └── build.gradle │ ├── settings.gradle │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── build.gradle │ ├── .idea │ ├── runConfigurations.xml │ └── gradle.xml │ ├── .gitignore │ ├── gradle.properties │ ├── gradlew.bat │ └── gradlew ├── ProjectSettings ├── ProjectVersion.txt ├── TagManager.asset ├── AudioManager.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── TimeManager.asset ├── DynamicsManager.asset ├── EditorSettings.asset ├── NetworkManager.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── GraphicsSettings.asset ├── Physics2DSettings.asset ├── UnityAdsSettings.asset ├── ClusterInputManager.asset ├── EditorBuildSettings.asset └── UnityConnectSettings.asset ├── Assets ├── Scene.unity ├── Plugins │ ├── My Plugin │ │ ├── My Plugin iOS.a │ │ ├── My Plugin Android.aar │ │ ├── My_Plugin.cs.meta │ │ ├── My Plugin iOS.a.meta │ │ ├── My Plugin Android.aar.meta │ │ └── My_Plugin.cs │ └── My Plugin.meta ├── Scene.unity.meta └── Plugins.meta ├── iOS └── My_Plugin_iOS │ ├── My_Plugin_iOS.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── eppz.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ ├── xcuserdata │ │ └── eppz.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ └── My_Plugin_iOS.xcscheme │ └── project.pbxproj │ └── My_Plugin_iOS │ ├── My_Plugin_C.mm │ └── UnityString.m ├── README.md └── .gitignore /Android/My_Plugin_Android/My_Plugin/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':My_Plugin', ':My_Plugin', ':My_Plugin' 2 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.4f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /Assets/Scene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/Assets/Scene.unity -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My Plugin iOS.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/Assets/Plugins/My Plugin/My Plugin iOS.a -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My Plugin Android.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/Assets/Plugins/My Plugin/My Plugin Android.aar -------------------------------------------------------------------------------- /Android/My_Plugin_Android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/Android/My_Plugin_Android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Assets/Scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a66530c189df40af883e3f4bc13450e 3 | timeCreated: 1460840723 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/My_Plugin/src/main/java/com/eppz/myplugin/My_Plugin.java: -------------------------------------------------------------------------------- 1 | package com.eppz.myplugin; 2 | 3 | public class My_Plugin 4 | { 5 | public static String getMessage() 6 | { return "Hello World!"; } 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb698ec51b7d447d3927599243479a58 3 | folderAsset: yes 4 | timeCreated: 1460808441 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf02988c658ca4e05a75c83ab8f79b77 3 | folderAsset: yes 4 | timeCreated: 1460834081 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/project.xcworkspace/xcuserdata/eppz.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geri-Borbas/Unity.Blog.My_Plugin/HEAD/iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/project.xcworkspace/xcuserdata/eppz.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Android/My_Plugin_Android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My_Plugin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f90eacf712ccb4022bdc958c12e6dc25 3 | timeCreated: 1460834097 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/My_Plugin/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS/My_Plugin_C.mm: -------------------------------------------------------------------------------- 1 | // 2 | // My_Plugin_C.mm 3 | // My_Plugin_iOS 4 | // 5 | // Created by eppz! on 18/04/16. 6 | // Copyright © 2016 eppz!. All rights reserved. 7 | // 8 | 9 | #import "UnityString.m" 10 | 11 | 12 | extern "C" 13 | { 14 | const char* getMessage() 15 | { return UnityStringFromNSString(@"Hello Wolrd!"); } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My Plugin iOS.a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7aebb3ad6466d41cba44ed2a286fa076 3 | timeCreated: 1460997913 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | userData: 15 | assetBundleName: 16 | assetBundleVariant: 17 | -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My Plugin Android.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6adf7b273a9374827825ae1a8b0e5e49 3 | timeCreated: 1460834082 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | userData: 15 | assetBundleName: 16 | assetBundleVariant: 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Unity native plugin (iOS / Android) Hello World! example project. More on [**Unity Android Plugin Tutorial 2.** Project setup and workflow](http://eppz.eu/blog/unity-android-plugin-tutorial-2/). 2 | 3 | To start inspect files just start with `Assets/Scene.unity` scene. Note that the iOS / Android **plugin projects also included** in the project root in their respective folders ([Xcode](https://developer.apple.com/xcode/) project is at `iOS/EPPZ_Alert_iOS`, [Android Studio](http://developer.android.com/tools/studio/index.html) project is at `Android/EPPZ_Alert_Android`). -------------------------------------------------------------------------------- /Assets/Plugins/My Plugin/My_Plugin.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | using System.Runtime.InteropServices; 5 | 6 | public class My_Plugin : MonoBehaviour 7 | { 8 | [DllImport("__Internal")] 9 | extern static public string getMessage(); 10 | 11 | void Start() 12 | { 13 | #if UNITY_ANDROID 14 | AndroidJavaClass pluginClass = new AndroidJavaClass("com.eppz.myplugin.My_Plugin"); 15 | GetComponent().text = pluginClass.CallStatic("getMessage"); 16 | #elif UNITY_IOS 17 | GetComponent().text = getMessage(); 18 | #endif 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.0.0' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/xcuserdata/eppz.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | My_Plugin_iOS.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 555A77541CC576DB00D8D415 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io 2 | 3 | # Unity 4 | Library/ 5 | Temp/ 6 | obj/ 7 | Build/ 8 | Builds/ 9 | 10 | /Library/ 11 | /Temp/ 12 | /obj/ 13 | /Build/ 14 | /Builds/ 15 | 16 | # Additions from http://answers.unity3d.com/questions/408802/help-with-using-git-for-version-control.html 17 | # Metadata can go as long as set Visible Meta Files http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html 18 | 19 | # Autogenerated VS/MD solution and project files 20 | *.csproj 21 | *.unityproj 22 | *.sln 23 | *.suo 24 | *.tmp 25 | *.user 26 | *.userprefs 27 | *.pidb 28 | *.booproj 29 | 30 | # Unity3D generated meta files 31 | *.pidb.meta 32 | 33 | # Unity3D Generated File On Crash Reports 34 | sysinfo.txt 35 | 36 | # OSX 37 | .DS_Store 38 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/My_Plugin/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/eppz/Developer/Android_SDK/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/.gitignore: -------------------------------------------------------------------------------- 1 | # From https://gist.github.com/iainconnor/8605514 2 | 3 | # Built application files 4 | /*/build/ 5 | 6 | # Crashlytics configuations 7 | com_crashlytics_export_strings.xml 8 | 9 | # Local configuration file (sdk path, etc) 10 | local.properties 11 | 12 | # Gradle generated files 13 | .gradle/ 14 | 15 | # Signing files 16 | .signing/ 17 | 18 | # User-specific configurations 19 | .idea/libraries/ 20 | .idea/workspace.xml 21 | .idea/tasks.xml 22 | .idea/.name 23 | .idea/compiler.xml 24 | .idea/copyright/profiles_settings.xml 25 | .idea/encodings.xml 26 | .idea/misc.xml 27 | .idea/modules.xml 28 | .idea/scopes/scope_settings.xml 29 | .idea/vcs.xml 30 | *.iml 31 | 32 | # OS-specific files 33 | .DS_Store 34 | .DS_Store? 35 | ._* 36 | .Spotlight-V100 37 | .Trashes 38 | ehthumbs.db 39 | Thumbs.db -------------------------------------------------------------------------------- /Android/My_Plugin_Android/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS/UnityString.m: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2016 eppz! mobile, Gergely Borbás (SP) 3 | // 4 | // http://www.twitter.com/_eppz 5 | // 6 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 7 | // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 8 | // PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 9 | // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 10 | // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 11 | // OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | // 13 | 14 | #import 15 | 16 | 17 | const char* UnityStringFromNSString(NSString* string) 18 | { 19 | const char* cString = string.UTF8String; 20 | char* _unityString = (char*)malloc(strlen(cString) + 1); 21 | strcpy(_unityString, cString); 22 | return _unityString; 23 | } 24 | 25 | NSString* NSStringFromUnityString(const char* unityString_) 26 | { 27 | if (unityString_ == nil) return [NSString new]; 28 | return [NSString stringWithUTF8String:unityString_]; 29 | } 30 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/My_Plugin/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.3" 6 | 7 | defaultConfig { 8 | minSdkVersion 11 9 | targetSdkVersion 23 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | } 23 | 24 | android.libraryVariants.all { variant -> 25 | 26 | // Task names. 27 | String variantName = "${variant.name.capitalize()}"; // Like 'Debug' 28 | String deployTaskGroup = "plugin"; 29 | String deployTaskName = "deploy${variantName}PluginArchive"; // Like 'deployDebugPluginArchive' 30 | String dependencyTaskName = "assemble${variantName}"; // Like 'assembleDebug' 31 | 32 | // Source. 33 | String sourceAARFolder = "${buildDir.getPath()}/outputs/aar/"; 34 | String sourceAARName = "${project.name}-${variant.name}.aar"; 35 | 36 | // Target. 37 | String targetAssetFolder = "Assets/Plugins/My Plugin"; 38 | String targetAARFolder = "${rootDir.getPath()}/../../${targetAssetFolder}"; // Navigate into 'Assets' 39 | String targetAARName = "My Plugin Android.aar"; // The form you ship your plugin 40 | 41 | // Create task. 42 | task(deployTaskName, dependsOn: dependencyTaskName, type: Copy) { 43 | logger.lifecycle("${variant.name.capitalize()} AAR Folder: ${sourceAARFolder}") 44 | logger.lifecycle("${variant.name.capitalize()} Target AAR Folder: ${targetAARFolder}") 45 | logger.lifecycle("${variant.name.capitalize()} Target AAR name: ${targetAARName}") 46 | 47 | from(sourceAARFolder) 48 | into(targetAARFolder) 49 | include(sourceAARName) 50 | rename(sourceAARName, targetAARName) 51 | }.group = deployTaskGroup; 52 | } -------------------------------------------------------------------------------- /Android/My_Plugin_Android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/xcuserdata/eppz.xcuserdatad/xcschemes/My_Plugin_iOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Android/My_Plugin_Android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /iOS/My_Plugin_iOS/My_Plugin_iOS.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 555A77621CC5772300D8D415 /* My_Plugin_C.mm in Sources */ = {isa = PBXBuildFile; fileRef = 555A77611CC5772300D8D415 /* My_Plugin_C.mm */; }; 11 | 555A77651CC5774800D8D415 /* UnityString.m in Sources */ = {isa = PBXBuildFile; fileRef = 555A77641CC5774800D8D415 /* UnityString.m */; }; 12 | 555A77661CC5783800D8D415 /* My Plugin iOS.a in CopyFiles */ = {isa = PBXBuildFile; fileRef = 555A77551CC576DB00D8D415 /* My Plugin iOS.a */; }; 13 | /* End PBXBuildFile section */ 14 | 15 | /* Begin PBXCopyFilesBuildPhase section */ 16 | 555A77531CC576DB00D8D415 /* CopyFiles */ = { 17 | isa = PBXCopyFilesBuildPhase; 18 | buildActionMask = 2147483647; 19 | dstPath = "${SRCROOT}/../../Assets/Plugins/My Plugin"; 20 | dstSubfolderSpec = 0; 21 | files = ( 22 | 555A77661CC5783800D8D415 /* My Plugin iOS.a in CopyFiles */, 23 | ); 24 | runOnlyForDeploymentPostprocessing = 0; 25 | }; 26 | /* End PBXCopyFilesBuildPhase section */ 27 | 28 | /* Begin PBXFileReference section */ 29 | 555A77551CC576DB00D8D415 /* My Plugin iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "My Plugin iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 555A77611CC5772300D8D415 /* My_Plugin_C.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = My_Plugin_C.mm; sourceTree = ""; }; 31 | 555A77641CC5774800D8D415 /* UnityString.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UnityString.m; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 555A77521CC576DB00D8D415 /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 555A774C1CC576DB00D8D415 = { 46 | isa = PBXGroup; 47 | children = ( 48 | 555A77571CC576DB00D8D415 /* My_Plugin_iOS */, 49 | 555A77561CC576DB00D8D415 /* Products */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | 555A77561CC576DB00D8D415 /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 555A77551CC576DB00D8D415 /* My Plugin iOS.a */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | 555A77571CC576DB00D8D415 /* My_Plugin_iOS */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 555A77611CC5772300D8D415 /* My_Plugin_C.mm */, 65 | 555A77641CC5774800D8D415 /* UnityString.m */, 66 | ); 67 | path = My_Plugin_iOS; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | 555A77541CC576DB00D8D415 /* My_Plugin_iOS */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = 555A775E1CC576DB00D8D415 /* Build configuration list for PBXNativeTarget "My_Plugin_iOS" */; 76 | buildPhases = ( 77 | 555A77511CC576DB00D8D415 /* Sources */, 78 | 555A77521CC576DB00D8D415 /* Frameworks */, 79 | 555A77531CC576DB00D8D415 /* CopyFiles */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = My_Plugin_iOS; 86 | productName = My_Plugin_iOS; 87 | productReference = 555A77551CC576DB00D8D415 /* My Plugin iOS.a */; 88 | productType = "com.apple.product-type.library.static"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | 555A774D1CC576DB00D8D415 /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | LastUpgradeCheck = 0730; 97 | ORGANIZATIONNAME = "eppz!"; 98 | TargetAttributes = { 99 | 555A77541CC576DB00D8D415 = { 100 | CreatedOnToolsVersion = 7.3; 101 | }; 102 | }; 103 | }; 104 | buildConfigurationList = 555A77501CC576DB00D8D415 /* Build configuration list for PBXProject "My_Plugin_iOS" */; 105 | compatibilityVersion = "Xcode 3.2"; 106 | developmentRegion = English; 107 | hasScannedForEncodings = 0; 108 | knownRegions = ( 109 | en, 110 | ); 111 | mainGroup = 555A774C1CC576DB00D8D415; 112 | productRefGroup = 555A77561CC576DB00D8D415 /* Products */; 113 | projectDirPath = ""; 114 | projectRoot = ""; 115 | targets = ( 116 | 555A77541CC576DB00D8D415 /* My_Plugin_iOS */, 117 | ); 118 | }; 119 | /* End PBXProject section */ 120 | 121 | /* Begin PBXSourcesBuildPhase section */ 122 | 555A77511CC576DB00D8D415 /* Sources */ = { 123 | isa = PBXSourcesBuildPhase; 124 | buildActionMask = 2147483647; 125 | files = ( 126 | 555A77621CC5772300D8D415 /* My_Plugin_C.mm in Sources */, 127 | 555A77651CC5774800D8D415 /* UnityString.m in Sources */, 128 | ); 129 | runOnlyForDeploymentPostprocessing = 0; 130 | }; 131 | /* End PBXSourcesBuildPhase section */ 132 | 133 | /* Begin XCBuildConfiguration section */ 134 | 555A775C1CC576DB00D8D415 /* Debug */ = { 135 | isa = XCBuildConfiguration; 136 | buildSettings = { 137 | ALWAYS_SEARCH_USER_PATHS = NO; 138 | CLANG_ANALYZER_NONNULL = YES; 139 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 140 | CLANG_CXX_LIBRARY = "libc++"; 141 | CLANG_ENABLE_MODULES = YES; 142 | CLANG_ENABLE_OBJC_ARC = YES; 143 | CLANG_WARN_BOOL_CONVERSION = YES; 144 | CLANG_WARN_CONSTANT_CONVERSION = YES; 145 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 146 | CLANG_WARN_EMPTY_BODY = YES; 147 | CLANG_WARN_ENUM_CONVERSION = YES; 148 | CLANG_WARN_INT_CONVERSION = YES; 149 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 150 | CLANG_WARN_UNREACHABLE_CODE = YES; 151 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 152 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 153 | COPY_PHASE_STRIP = NO; 154 | DEBUG_INFORMATION_FORMAT = dwarf; 155 | ENABLE_STRICT_OBJC_MSGSEND = YES; 156 | ENABLE_TESTABILITY = YES; 157 | GCC_C_LANGUAGE_STANDARD = gnu99; 158 | GCC_DYNAMIC_NO_PIC = NO; 159 | GCC_NO_COMMON_BLOCKS = YES; 160 | GCC_OPTIMIZATION_LEVEL = 0; 161 | GCC_PREPROCESSOR_DEFINITIONS = ( 162 | "DEBUG=1", 163 | "$(inherited)", 164 | ); 165 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 166 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 167 | GCC_WARN_UNDECLARED_SELECTOR = YES; 168 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 169 | GCC_WARN_UNUSED_FUNCTION = YES; 170 | GCC_WARN_UNUSED_VARIABLE = YES; 171 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 172 | MTL_ENABLE_DEBUG_INFO = YES; 173 | ONLY_ACTIVE_ARCH = YES; 174 | SDKROOT = iphoneos; 175 | }; 176 | name = Debug; 177 | }; 178 | 555A775D1CC576DB00D8D415 /* Release */ = { 179 | isa = XCBuildConfiguration; 180 | buildSettings = { 181 | ALWAYS_SEARCH_USER_PATHS = NO; 182 | CLANG_ANALYZER_NONNULL = YES; 183 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 184 | CLANG_CXX_LIBRARY = "libc++"; 185 | CLANG_ENABLE_MODULES = YES; 186 | CLANG_ENABLE_OBJC_ARC = YES; 187 | CLANG_WARN_BOOL_CONVERSION = YES; 188 | CLANG_WARN_CONSTANT_CONVERSION = YES; 189 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 190 | CLANG_WARN_EMPTY_BODY = YES; 191 | CLANG_WARN_ENUM_CONVERSION = YES; 192 | CLANG_WARN_INT_CONVERSION = YES; 193 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 194 | CLANG_WARN_UNREACHABLE_CODE = YES; 195 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 196 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 197 | COPY_PHASE_STRIP = NO; 198 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 199 | ENABLE_NS_ASSERTIONS = NO; 200 | ENABLE_STRICT_OBJC_MSGSEND = YES; 201 | GCC_C_LANGUAGE_STANDARD = gnu99; 202 | GCC_NO_COMMON_BLOCKS = YES; 203 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 204 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 205 | GCC_WARN_UNDECLARED_SELECTOR = YES; 206 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 207 | GCC_WARN_UNUSED_FUNCTION = YES; 208 | GCC_WARN_UNUSED_VARIABLE = YES; 209 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 210 | MTL_ENABLE_DEBUG_INFO = NO; 211 | SDKROOT = iphoneos; 212 | VALIDATE_PRODUCT = YES; 213 | }; 214 | name = Release; 215 | }; 216 | 555A775F1CC576DB00D8D415 /* Debug */ = { 217 | isa = XCBuildConfiguration; 218 | buildSettings = { 219 | EXECUTABLE_PREFIX = ""; 220 | OTHER_LDFLAGS = "-ObjC"; 221 | PRODUCT_NAME = "My Plugin iOS"; 222 | SKIP_INSTALL = YES; 223 | }; 224 | name = Debug; 225 | }; 226 | 555A77601CC576DB00D8D415 /* Release */ = { 227 | isa = XCBuildConfiguration; 228 | buildSettings = { 229 | EXECUTABLE_PREFIX = ""; 230 | OTHER_LDFLAGS = "-ObjC"; 231 | PRODUCT_NAME = "My Plugin iOS"; 232 | SKIP_INSTALL = YES; 233 | }; 234 | name = Release; 235 | }; 236 | /* End XCBuildConfiguration section */ 237 | 238 | /* Begin XCConfigurationList section */ 239 | 555A77501CC576DB00D8D415 /* Build configuration list for PBXProject "My_Plugin_iOS" */ = { 240 | isa = XCConfigurationList; 241 | buildConfigurations = ( 242 | 555A775C1CC576DB00D8D415 /* Debug */, 243 | 555A775D1CC576DB00D8D415 /* Release */, 244 | ); 245 | defaultConfigurationIsVisible = 0; 246 | defaultConfigurationName = Release; 247 | }; 248 | 555A775E1CC576DB00D8D415 /* Build configuration list for PBXNativeTarget "My_Plugin_iOS" */ = { 249 | isa = XCConfigurationList; 250 | buildConfigurations = ( 251 | 555A775F1CC576DB00D8D415 /* Debug */, 252 | 555A77601CC576DB00D8D415 /* Release */, 253 | ); 254 | defaultConfigurationIsVisible = 0; 255 | defaultConfigurationName = Release; 256 | }; 257 | /* End XCConfigurationList section */ 258 | }; 259 | rootObject = 555A774D1CC576DB00D8D415 /* Project object */; 260 | } 261 | --------------------------------------------------------------------------------