Skip to content

iOS模拟器上运行报错: #182

@diankuanghuolong

Description

@diankuanghuolong

配置了这个也不行:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
end
end
end

报错:
Error (Xcode): Building for 'iOS-simulator', but linking in object file (/Users/xxx/Desktop/xxx/ios/Pods/Bugly/Bugly.framework/Bugly[arm64]2) built for 'iOS'

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone 17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions