Skip to content

Commit

Permalink
Merge pull request #23 from fuziki/feature/enable-bitcode
Browse files Browse the repository at this point in the history
enable bitcode
  • Loading branch information
fuziki authored Jul 22, 2021
2 parents 7f32dda + b13a0c9 commit 5d5d342
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ EXPORT_DIRECTORY = .

framework:
swift package generate-xcodeproj --skip-extra-files
xcodebuild -project UnityVideoCreator.xcodeproj -scheme UnityVideoCreator-Package -configuration Release -sdk iphoneos CONFIGURATION_BUILD_DIR=Build
xcodebuild \
'ENABLE_BITCODE=YES' \
'BITCODE_GENERATION_MODE=bitcode' \
'OTHER_CFLAGS=-fembed-bitcode' \
'CONFIGURATION_BUILD_DIR=Build' \
-project UnityVideoCreator.xcodeproj \
-scheme UnityVideoCreator-Package \
-configuration Release \
-sdk iphoneos

package:
cd unitypackage-exporter && $(MAKE) package EXPORT_DIRECTORY=$(abspath $(EXPORT_DIRECTORY))

0 comments on commit 5d5d342

Please sign in to comment.