GoogleMaps-SP icon indicating copy to clipboard operation
GoogleMaps-SP copied to clipboard

swift build fails

Open davidlashkhi opened this issue 3 years ago • 3 comments

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 avatar Jan 19 '22 13:01 davidlashkhi

@davidlashkhi Can you provide a sample and some information about your environment such as Xcode version, macOS version, Mac CPU/Chip type, hardware info

karimhm avatar Jan 19 '22 14:01 karimhm

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 avatar Jan 21 '22 09:01 davidlashkhi

@davidlashkhi Can you provide a sample code?

karimhm avatar Jan 24 '22 08:01 karimhm