Error in upload IOS version
I face this error since update Xcode to 16 and ios 18 can't upload the version any help please?
there is a workaround in Podfile to add
post_install do |installer|
bitcode_strip_path = xcrun --find bitcode_strip.chop!
def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
framework_path = File.join(Dir.pwd, framework_relative_path)
command = "#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}"
puts "Stripping bitcode: #{command}"
system(command)
end
framework_paths = [
"Pods/AgoraRtm/AgoraRtmKit.xcframework/ios-arm64_armv7/AgoraRtmKit.framework/AgoraRtmKit",
"Pods/AgoraRtm/AgoraRtmKit.xcframework/macos-arm64_x86_64/AgoraRtmKit.framework/AgoraRtmKit",
"Pods/AgoraRtm/AgoraRtmKit.xcframework/xros-arm64/AgoraRtmKit.framework/AgoraRtmKit",
"Pods/AgoraRtm_IOS/AgoraRtmKit.xcframework/ios-arm64_armv7/AgoraRtmKit.framework/AgoraRtmKit"
]
framework_paths.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end end
please update the package as soon as possible.
Note: Bitcode is no longer supported From the Xcode 15.
XCode Cloud also gives me error. ITMS-90482: Invalid Executable. Please upgrade package asap.