ज्ञात समस्याएं
-
Release build विफल होता है लेकिन debug काम करता है — Android side पर संभवतः obfuscation की समस्या है। Native SDKs को obfuscated नहीं किया जा सकता। ProGuard/DexGuard नियमों की समीक्षा करें।
-
Plugin update करने के बाद
pod installविफल होता है —ios/Podfile.lockहटाएं औरios/directory सेpod installफिर से चलाएं। -
Xcode 16 का उपयोग करके app distribution में Bitcode error — Xcode 16 की official release (Sep 17, 2024) के बाद, CocoaPods का उपयोग करते समय दो internal dependencies (
DeviceProfilingऔरUnicoSdkLogger) में bitcode usage के कारण App Store पर distribution blocked हो सकती है। जब तक permanent fix न आए, अपनेios/Podfileमें नीचे दिया गया workaround लागू करें:
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/unicocheck-ios/DeviceProfiling.xcframework/ios-arm64/DeviceProfiling.framework/DeviceProfiling",
"Pods/unicocheck-ios/UnicoSdkLogger.xcframework/ios-arm64/UnicoSdkLogger.framework/UnicoSdkLogger"
]
framework_paths.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
end
यदि post_install do |installer| मौजूद नहीं है, तो इसे अंतिम end से पहले जोड़ें।
स्रोत: Bitrise, Xcode 16 release notes, Stack Overflow।
-
Platform channel के माध्यम से त्रुटियां — आमतौर पर underlying platform के अधूरे configuration का संकेत देती हैं। Specific setup की समीक्षा करें।
-
Official plugin के बजाय bridges का उपयोग करने का प्रयास — समर्थित नहीं। Official plugin में migrate करें।