ObjectMapper
ObjectMapper copied to clipboard
ObjectMapper causes build error in Xcode 11.4 (11E146)
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'ObjectMapper' from project 'ObjectMapper') cd /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name ObjectMapper -Onone -enable-batch-mode -enforce-exclusivity=checked @/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper.o.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -target x86_64-apple-ios8.0-simulator -g -module-cache-path /Users/dj/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Index/DataStore -swift-version 4.2 -I /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -c -j6 -output-file-map /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper.swiftmodule -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/swift-overrides.hmap -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources-normal/x86_64 -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources/x86_64 -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper-Swift.h -working-directory /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper
Same here. I've tried deleting Derived Data
, clean builds, etc. but nothing helps.
Duplicate of #1082
Try downgrading to XCode 11.3.1 - I had issues with another library as well, downgrading the XCode version fixed it perfectly.
There appears to be a shortcut to the "Sources" directory named "ObjectMapper", which causes recursion. In Xcode 11.4, this causes the source files to show up twice.
Why still not fixed?
Any update? :/
This seems to be an issue in Xcode 11.4.1 as I still get the same error.
Facing issue with Xcode 11.5 Mac - Catilina Swift Language Version in Xcode: Swift 5
/Users/SS/Documents/Workspace/XXX/XX/XX/Models/SignIn/SamlAuthRequest.swift:10:8: Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler: /Users/SS/Documents/Workspace/XXX/XX/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
Facing issue with Xcode 11.5 Mac - Catilina Swift Language Version in Xcode: Swift 5
/Users/SS/Documents/Workspace/XXX/XX/XX/Models/SignIn/SamlAuthRequest.swift:10:8: Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler: /Users/SS/Documents/Workspace/XXX/XX/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
same here