File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- PATH_UNITY=" /Applications/Unity/Unity.app/Contents/MacOS/Unity"
3
+ PATH_UNITY=" /Applications/Unity/Hub/Editor/2021.3.26f1/ Unity.app/Contents/MacOS/Unity"
4
4
PATH_TO_UNITY_SDK_SAMPLE_APP=" ./"
5
5
BUILD_METHOD=" MobileBuilder.BuildForAltTester"
6
6
APPLE_TEAM_ID=" 54XMLXPF98"
@@ -26,6 +26,10 @@ clear_directory "$BUILD_XCODE_PATH"
26
26
clear_directory " $BUILD_ARCHIVE_PATH "
27
27
clear_directory " $BUILD_IPA_PATH "
28
28
29
+ mkdir -p " $BUILD_XCODE_PATH "
30
+ mkdir -p " $BUILD_ARCHIVE_PATH "
31
+ mkdir -p " $BUILD_IPA_PATH "
32
+
29
33
# Unity build command
30
34
UNITY_COMMAND=" $PATH_UNITY -projectPath \" $PATH_TO_UNITY_SDK_SAMPLE_APP \" -executeMethod $BUILD_METHOD -logFile logFile.log -quit -batchmode --buildPath \" $BUILD_XCODE_PATH \" --platform iOS"
31
35
echo " Running command: $UNITY_COMMAND "
41
45
42
46
mkdir -p " $( pwd) /build/output/iOS/DerivedData"
43
47
48
+ echo " Building app..."
44
49
xcodebuild clean build \
45
50
-project " $( pwd) /build/output/iOS/Xcode/Unity-iPhone.xcodeproj" \
46
51
-scheme Unity-iPhone \
You can’t perform that action at this time.
0 commit comments