mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[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:
13
ios/Podfile
13
ios/Podfile
@@ -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|
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user