Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed May 8, 2024
1 parent 9f702fe commit 3d2a20f
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,26 +376,25 @@ jobs:
env:
VERSION: ${{ needs.get-release.outputs.version }}
run: |
gem install xcodeproj
cat <<EOF > temp.rb
require 'xcodeproj'
project_path = 'ui/flutter/ios/Runner.xcodeproj'
project = Xcodeproj::Project.open(project_path)
target = project.targets.first
# 添加系统库
lib_name = 'libresolv.tbd'
framework = 'usr/lib/' + lib_name
target.frameworks_build_phase.add_file_reference(project.frameworks_group.new_file(framework))
project.save
EOF
ruby temp.rb
echo "==========edit project.pbxproj============"
cat ui/flutter/ios/Runner.xcodeproj/project.pbxproj
echo "==========edit project.pbxproj============"
# gem install xcodeproj
# cat <<EOF > temp.rb
# require 'xcodeproj'
# project_path = 'ui/flutter/ios/Runner.xcodeproj'
# project = Xcodeproj::Project.open(project_path)
# target = project.targets.first
#
# # 添加系统库
# lib_name = 'libresolv.tbd'
# framework = 'usr/lib/' + lib_name
# target.frameworks_build_phase.add_file_reference(project.frameworks_group.new_file(framework))
#
# project.save
# EOF
# ruby temp.rb
#
# echo "==========edit project.pbxproj============"
# cat ui/flutter/ios/Runner.xcodeproj/project.pbxproj
# echo "==========edit project.pbxproj============"
go install golang.org/x/mobile/cmd/gomobile@latest
go get golang.org/x/mobile/bind
gomobile init
Expand Down

0 comments on commit 3d2a20f

Please sign in to comment.