Closed gujintao1900 closed 9 months ago
我通过这种方式暂时解决
在Podfile里的post_install里添加这段可以编译通过:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
# alipay_kit_ios,使编译成功
if target.name == "alipay_kit_ios"
config.build_settings["OTHER_LDFLAGS"] = config.build_settings["OTHER_LDFLAGS"] + " -ld_classic"
end
#......
end
end
end
Xcode 15 编译失败,日志如下
根据 https://developer.apple.com/forums/thread/735426 在
Other Link Flags
添加-ld64
还是报错但是换了另一个支付宝 https://github.com/OpenFlutter/tobias 编译能通过