Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 6f7b59d

Browse files
author
Christoph Wendt
committed
Merge branch 'feature/unity5-support' into develop
2 parents eb04d4c + a8d6377 commit 6f7b59d

File tree

295 files changed

+4608
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+4608
-157
lines changed

Documentation/01_add_plugin.png

1.05 MB
Loading

Documentation/02_add_script.png

835 KB
Loading

Documentation/03_add_component.png

1.25 MB
Loading

Documentation/04_script_vars.png

1.17 MB
Loading
620 KB
Loading
1.15 MB
Loading
1.94 MB
Loading

Documentation/Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Changelog
2+
3+
### 1.0.5
4+
5+
* Add Unity 5 support
6+
* Remove warnings
7+
* Allow custom plugin folder structure
8+
* Ease plugin configuration

ExampleGame/Assets/Editor.meta

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ExampleGame/Assets/Editor/PostprocessBuildPlayer

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,25 +115,10 @@ def modifyUrlSchemes(info_plist_path, appID):
115115

116116
plistlib.writePlist(plist, info_plist_path)
117117

118-
def addFrameworks(project):
119-
120-
framework_group = project.get_or_create_group('Frameworks')
121-
project.add_file_if_doesnt_exist('System/Library/Frameworks/Security.framework', tree='SDKROOT', weak=True, parent=framework_group)
122-
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreText.framework', tree='SDKROOT', weak=True, parent=framework_group)
123-
project.add_file_if_doesnt_exist('System/Library/Frameworks/AssetsLibrary.framework', tree='SDKROOT', weak=True, parent=framework_group)
124-
project.add_file_if_doesnt_exist('System/Library/Frameworks/QuickLook.framework', tree='SDKROOT', weak=True, parent=framework_group)
125-
project.add_file_if_doesnt_exist('System/Library/Frameworks/MobileCoreServices.framework', tree='SDKROOT', weak=True, parent=framework_group)
126-
127118
def addAdditionalFiles(assets_path, install_path, project):
128-
129-
library_group = project.get_or_create_group('Libraries')
130-
srcFilePath = assets_path + '/Plugins/iOS/HockeySDKResources.bundle'
131-
dstFilePath = install_path + '/Libraries/HockeySDKResources.bundle'
132-
copyDirectory(srcFilePath, dstFilePath)
133-
project.add_file_if_doesnt_exist(dstFilePath, parent=library_group)
134119

135120
classes_group = project.get_or_create_group('Classes')
136-
srcFilePath = assets_path + '/Plugins/iOS/HockeyAppUnity.h'
121+
srcFilePath = assets_path + '/HockeyAppUnityIOS/HockeyAppUnity.h'
137122
dstFilePath = install_path + '/Classes/HockeyAppUnity.h'
138123
copyFile(srcFilePath, dstFilePath)
139124
project.add_file_if_doesnt_exist(dstFilePath, parent=classes_group)
@@ -178,8 +163,6 @@ project = XcodeProject.Load(pbxproj_path)
178163
info_plist_path = os.path.join(install_path, 'Info.plist')
179164
modifyUrlSchemes(info_plist_path, appID)
180165

181-
addFrameworks(project)
182-
183166
assets_path = getAssetsPath(source_path)
184167
addAdditionalFiles(assets_path, install_path, project)
185168

0 commit comments

Comments
 (0)