tristanhimmelman / ObjectMapper

Simple JSON Object mapping written in Swift
MIT License
9.13k stars 1.03k forks source link

[Carthage] ObjectMapper fails to build on XCODE 12.0 beta 4 (12A8179i) #1105

Closed SudhirGadhvi closed 3 years ago

SudhirGadhvi commented 4 years ago

Describe the bug

ObjectMapper fails to build on XCODE 12.0 beta 4 (12A8179i)

Build Failed
    Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/Sudhir/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8179i/ObjectMapper/3.5.3/Build/Intermediates.noindex/ArchiveIntermediates/ObjectMapper-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ObjectMapper.framework/ObjectMapper /Users/Sudhir/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8179i/ObjectMapper/3.5.3/Build/Products/Release-iphonesimulator/ObjectMapper.framework/ObjectMapper -output /Users/Sudhir/Documents/S!D/Projects/RosterBuster-iOS/Carthage/Build/iOS/ObjectMapper.framework/ObjectMapper

Reproduce Steps to reproduce:

  1. Delete derived Carthage Cache.
  2. Delete Carthage directory in project.
  3. Uninstall Carthage and install it again.
  4. xcode-select --switch to choose the Xcode 12 beta
  5. Remove /Library/Caches/org.carthage.CarthageKit/DerivedData/
  6. carthage update --platform iOS --no-use-binaries
perlasivakrishna commented 3 years ago

I'm using cocoapods, it fails to build for that too

elliotPopina commented 3 years ago

Hello, it's not a ObjectMapper, it's a Carthage problem, see https://github.com/Carthage/Carthage/issues/3019

frandelarosa commented 3 years ago

I'm struggling into this too. Any workaround to fix it?

frandelarosa commented 3 years ago

Hello, it's not a ObjectMapper, it's a Carthage problem, see https://github.com/Carthage/Carthage/issues/3019

I think it's a ObjectMapper problem, I tried both and can't compile.

elliotPopina commented 3 years ago

I have success to build ObjectMapper, with this script for Carthage https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323

frandelarosa commented 3 years ago

I've used the script mentioned above and my project has compiled successfully. Thanks @elliotPopina!