googleads/swift-package-manager-google-mobile-ads

Linker Error v11+ with SPM and SwiftUI

Closed this issue · 1 comments

Hey, I've been having this error

linker command failed with exit code 1 (use -v to see invocation)

For quite some time using v11+ with SPM and SwiftUI on iOS 16+ and iOS 16.4+. I cannot figure out what's wrong, nor can GPT, lol. I've been using the latest version under v10 and it works fine. Please let me know if you are unable to reproduce it. I'm seriously just using the latest Xcode version, on iOS 16 or iOS 16.4, and add this via SPM adding to targets and everything, and it causes this linker issue. Patch is downgrading to v10.

I don't think this is user error because it's happened on three different projects and I have actually never gotten v11+ to work with SPM and SwiftUI at all. Thank you!

My mistake, the minimum Xcode version listed is 15.3, and I was on 15.2.. Wow!