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

alipay_kit_ios-6.0.1 lib库无法兼容x86 iOS模拟器 #62

Open
liuyuesen opened this issue Oct 26, 2023 · 5 comments
Open

alipay_kit_ios-6.0.1 lib库无法兼容x86 iOS模拟器 #62

liuyuesen opened this issue Oct 26, 2023 · 5 comments

Comments

@liuyuesen
Copy link

Error (Xcode): Building for iOS Simulator, but linking in object file built for iOS, file '/Users/sgxm/.pub-cache/hosted/pub.flutter-io.cn/alipay_kit_ios-6.0.1/ios/Libraries/utdid/AlipaySDK.framework/AlipaySDK' for architecture arm64

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

@JhonLee-Up
Copy link

+1

1 similar comment
@Ymmmsick
Copy link

+1

@socialme2
Copy link

socialme2 commented Apr 4, 2024

Building for 'iOS-simulator', but linking in object file (~/.pub-cache/hosted/pub.dev/alipay_kit_ios-6.0.1/ios/Libraries/utdid/AlipaySDK.framework/AlipaySDK) built for 'iOS' .
Linker command failed with exit code 1 (use -v to see invocation)

env: alipay_kit_ios 6.0.1 , Flutter 3.19.4 , XCode 15.2, Simulator iPhone 11 Pro Max

@HongZhiQing
Copy link

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
    end
  end
end

work for me

@quarktimes
Copy link

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
    end
  end
end

work for me

work for me too, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants