I am trying to upload my app to app store connect through xcode, but when it reaches the step of sending SPI analysis to app store connect, no progress is made. I left it for over 3 hours and the bar didn't move an inch. I tried removing and readding my account in xcode and also tried exporting it then uploading it through transporter. In transporter, it would get to the uploading step as usual. The problem in transporter was that the progress bar would move up a certain amount and then just reset back to a lower amount, leading to an infinite loop of the app never being uploaded. I also left this for 3 hours and came back to no progress. How can I fix these issues? I don't know what the issue could be.
Stuck on sending SPI analysis to App Store Connect
Have you had any luck with this yet? I just updated to Xcode 14.3 and I'm having this same issue.
Try thiis post_install do |installer|
Disable Bitcode and set deployment target
installer.pods_project.targets.each do |target| target.build_configurations.each do |config| # Disable bitcode for all configurations if config.build_settings['ENABLE_BITCODE'] config.build_settings['ENABLE_BITCODE'] = 'NO' end
# Set deployment target for all pods
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 13.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
Strip Bitcode from specific frameworks
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
Specify the relative paths to the frameworks that require bitcode stripping
framework_paths = [ "Pods/LibraryA/LibraryA/dynamic/LibraryA.xcframework/ios-arm64_armv7/LibraryA.framework/LibraryA", "Pods/LibraryB/LibraryB.xcframework/ios-arm64_armv7/LibraryB.framework/LibraryB" ]
Loop through each framework and strip bitcode
framework_paths.each do |framework_relative_path| strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path) end end