GoogleMaps-SP
GoogleMaps-SP copied to clipboard
swift build fails
Hi! I'm using this repo as a dependency in my own Package, however if I try to run
swift build -Xswiftc "-sdk" -Xswiftc "
xcrun --sdk iphonesimulator --show-sdk-path" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios14.0-simulator"
I get an error:
error: artifact 'GoogleMapsCore' does not support the target platform and architecture ('Triple(tripleString: "x86_64-apple-macosx", arch: TSCUtility.Triple.Arch.x86_64, vendor: TSCUtility.Triple.Vendor.apple, os: TSCUtility.Triple.OS.macOS, abi: TSCUtility.Triple.ABI.unknown)')
error: artifact 'GoogleMapsBase' does not support the target platform and architecture ('Triple(tripleString: "x86_64-apple-macosx", arch: TSCUtility.Triple.Arch.x86_64, vendor: TSCUtility.Triple.Vendor.apple, os: TSCUtility.Triple.OS.macOS, abi: TSCUtility.Triple.ABI.unknown)')
error: artifact 'GoogleMaps' does not support the target platform and architecture ('Triple(tripleString: "x86_64-apple-macosx", arch: TSCUtility.Triple.Arch.x86_64, vendor: TSCUtility.Triple.Vendor.apple, os: TSCUtility.Triple.OS.macOS, abi: TSCUtility.Triple.ABI.unknown)')
@davidlashkhi Can you provide a sample and some information about your environment such as Xcode version, macOS version, Mac CPU/Chip type, hardware info
hi @karimhm , thanks for responding: my current setup is: Xcode: Version 12.5.1 (12E507) MacOS: 11.5.1 (20G80), 2,3 GHz Quad-Core Intel Core i7
@davidlashkhi Can you provide a sample code?