Open malikdoksoz opened 2 weeks ago
I added this code in PodFile
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
I getting:
Swift Compiler Error (Xcode): Unsupported Swift architecture /Users/mlkdksz/files/file/mobile/laravelechotest/build/ios/Debug-iphonesimulator/PusherSwiftWithEncryption/PusherSwiftWithEncryption.framework/Headers/PusherSwiftWithEncryption-Swift.h:746:1 PusherSwiftWithEncryption-Swift.h:746
Swift Compiler Error (Xcode): Could not build Objective-C module 'PusherSwiftWithEncryption'
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 15.
In fact, I repaired the package just for Android. For IOS, I need a Mac, so I cannot help you, but if you want, we can work together to fix it.
Error (Xcode): Building for 'iOS-simulator', but linking in object file (/Users/mlkdksz/files/file/mobile/laravelechotest/ios/Pods/Sodium/Sodium/libsodium/libsodium-ios.a[arm64]3) built for 'iOS'
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 15.
dependencies: flutter: sdk: flutter
cupertino_icons: ^1.0.6 socket_io_client: ^2.0.3+1 laravel_echo_null: ^0.0.5+10 pusher_client_fixed: ^0.0.2+2
Flutter 3.19 Macbook Pro M1 Pro