Post

Replies

Boosts

Views

Activity

Xcode 13 arm64 Command CompileSwiftSources failed with a nonzero exit code
Since XCode 13, I have this error on multiple SPM dependencies. It seems like it's not the combine error. Command CompileSwiftSources failed with a nonzero exit code CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Kingfisher' from project 'Kingfisher')     cd /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/SourcePackages/checkouts/Kingfisher     export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer     export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name Kingfisher -Onone -enable-batch-mode -enforce-exclusivity\=checked @/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/Objects-normal/arm64/Kingfisher.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk -target arm64-apple-ios10.0 -g -module-cache-path /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -embed-bitcode-marker -enable-testing -index-store-path /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Index/DataStore -swift-version 5 -I /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Products/development-iphoneos -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Products/development-iphoneos -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/Developer/Library/Frameworks -c -j12 -output-file-map /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/Objects-normal/arm64/Kingfisher-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/Objects-normal/arm64/Kingfisher.swiftmodule -Xcc -I/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/swift-overrides.hmap -Xcc -I/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Products/development-iphoneos/include -Xcc -I/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/DerivedSources-normal/arm64 -Xcc -I/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/DerivedSources/arm64 -Xcc -I/Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/Build/Intermediates.noindex/Kingfisher.build/development-iphoneos/Kingfisher.build/Objects-normal/arm64/Kingfisher-Swift.h -working-directory /Users/pierrebrisorgueil/Library/Developer/Xcode/DerivedData/waosSwift-blklsvylyurdhqcbfsxcfirghxkd/SourcePackages/checkouts/Kingfi my repo is available in OpenSource here: https://github.com/weareopensource/Swift
9
2
18k
Oct ’21
tableView Cell gesture disabled, strange behavior Xcode 12 ios14
Hello, I observe something strange today, similar to this feedback: https://stackoverflow.com/questions/63987896/problem-with-gesture-in-xcode-12-and-ios-14 In my case we have an UICollectionView which contain an UiTableView. My UITableViewCells will contain an UIView container, parent of the entire contents of the cell. let container: UIView = {         let v = UIView()         v.translatesAutoresizingMaskIntoConstraints = false         return v }() override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {         super.init(style: style, reuseIdentifier: reuseIdentifier)         self.addSubview(container) ...         self.updateConstraintsIfNeeded() } Nothing really complex. But since ios14 xCode 12 all my interactions contained in my container are disabled. I then discovered the post above, which refers to the mandatory use of contentView now. self.contentView.addSubview(container) I have also observed that by simply doing this : self.contentView.backgroundColor = .clear self.addSubview(container) without using the contentView, everything was fixed. Which makes me think of a bug. My question is therefore the following, I have successfully migrated to using contentView, but is this a bug or should we now use default contentView in a cell? Thx for you time :)
1
0
1.2k
Sep ’20