[INJIMOB-0.16.x] ios testflight deploy fix (#1953)

* [INJIMOB-0.16.x] select xcode16.2 for ios-app publish (#1918)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-0.16.x] add post install hook to strip bitcodes from framewrok (#1920)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
This commit is contained in:
abhip2565
2025-06-05 15:09:26 +05:30
committed by GitHub
parent 37e93014a1
commit 021eb1fba1
2 changed files with 14 additions and 1 deletions

View File

@@ -108,6 +108,19 @@ target 'Inji' do
system("plutil -convert xml1 #{plist_path}")
else
Pod::UI.warn "Info.plist not found at #{plist_path}"
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
#strip bitcode from frameworks
bitcode_strip = `xcrun --find bitcode_strip`.strip
Dir.glob("Pods/**/*.framework/*") do |framework_binary|
next if File.directory?(framework_binary)
puts "Stripping bitcode from: #{framework_binary}"
system("#{bitcode_strip} -r \"#{framework_binary}\" -o \"#{framework_binary}\"")
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|

View File

@@ -1,4 +1,4 @@
xcode_select '/Applications/Xcode_15.0.1.app'
xcode_select '/Applications/Xcode_16.2.app'
default_platform(:ios)
APP_STORE_CONNECT_TEAM_ID = ENV["APP_STORE_CONNECT_TEAM_ID"]