Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in upload IOS version #203

Open
adham-ashraf77 opened this issue Oct 1, 2024 · 2 comments
Open

Error in upload IOS version #203

adham-ashraf77 opened this issue Oct 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@adham-ashraf77
Copy link

WhatsApp Image 2024-10-01 at 18 09 14_5b853bcf
I face this error since update Xcode to 16 and ios 18 can't upload the version any help please?

@adham-ashraf77 adham-ashraf77 added the bug Something isn't working label Oct 1, 2024
@adham-ashraf77
Copy link
Author

adham-ashraf77 commented Oct 1, 2024

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

WhatsApp Image 2024-10-01 at 21 21 25_83f8331c

please update the package as soon as possible.

Note: Bitcode is no longer supported From the Xcode 15.

@xainar
Copy link

xainar commented Oct 4, 2024

XCode Cloud also gives me error. ITMS-90482: Invalid Executable. Please upgrade package asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants