-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
After running the archive and trying to push the build to the app store I get the following error:
ITMS-90482: Invalid Executable - The executable
'AppName.app/Frameworks/KontaktSDK.framework/KontaktSDK' contains bitcode.
I've hadd to addthis in my podfile to fix it manually:
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}"
if File.exist?(framework_path)
system(command)
else
puts "Warning: Framework not found at #{framework_path}"
end
end
framework_paths = [
"../node_modules/react-native-kontaktio/ios/KontaktSDK.framework/KontaktSDK"
]
framework_paths.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
endAdditionally I get these warnings:
Upload Symbols Failed
The archive did not include a dSYM for the KontaktSDK.framework with the UUIDs [CF53FEB9-7892-331C-9184-DD1CF30B6EEE].
Ensure that the archive's dSYM folder includes a DWARF file for KontaktSDK.framework with the expected UUIDs.
Metadata
Metadata
Assignees
Labels
No labels