mxcl / PromiseKit

Promises for Swift & ObjC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

6.14.0 release candidate not compatible with PMKFoundation

icedice opened this issue · comments

Just a heads up. 6.14.0 RC seems to break compatibility with PMKFoundation (3.3.4) at least when using carthage (0.38) with the --use-xcframeworks flag

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PMKFoundation' from project 'PMKFoundation')
    cd /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation
    export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name PMKFoundation -O -whole-module-optimization -enforce-exclusivity\=checked @/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/PMKFoundation.SwiftFileList -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/ModuleCache.noindex -Xfrontend -serialize-debugging-options -application-extension -embed-bitcode -swift-version 4 -I /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos -F /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos -F /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Carthage/Build/iOS -F /var/folders/ls/4wdkslrx5xj_wqs7hh0sw3yw0000gp/T/carthage-xcframework-l5KS -c -num-threads 8 -output-file-map /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/PMKFoundation-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/PMKFoundation.swiftmodule -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-generated-files.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-own-target-headers.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-project-headers.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos/include -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources-normal/arm64 -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources/arm64 -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/PMKFoundation-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/unextended-module-overlay.yaml -working-directory /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation
CompileSwift normal arm64 (in target 'PMKFoundation' from project 'PMKFoundation')
    cd /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-bc /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Sources/NSNotificationCenter+Promise.swift /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Sources/afterlife.swift /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Sources/NSURLSession+Promise.swift /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Sources/Process+Promise.swift /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Sources/NSObject+Promise.swift -supplementary-output-file-map /var/folders/ls/4wdkslrx5xj_wqs7hh0sw3yw0000gp/T/supplementaryOutputs-efab4c -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -I /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos -F /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos -F /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation/Carthage/Build/iOS -F /var/folders/ls/4wdkslrx5xj_wqs7hh0sw3yw0000gp/T/carthage-xcframework-l5KS -application-extension -g -import-underlying-module -module-cache-path /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/ModuleCache.noindex -swift-version 4 -enforce-exclusivity\=checked -O -serialize-debugging-options -Xcc -working-directory -Xcc /Users/toke.refstrup/git/ios/Carthage/Checkouts/Foundation -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-generated-files.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-own-target-headers.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/PMKFoundation-project-headers.hmap -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/BuildProductsPath/Release-iphoneos/include -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources-normal/arm64 -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources/arm64 -Xcc -I/Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/DerivedSources -Xcc -ivfsoverlay -Xcc /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/unextended-module-overlay.yaml -target-sdk-version 14.5 -module-name PMKFoundation -num-threads 8 -o /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/NSNotificationCenter+Promise.bc -o /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/afterlife.bc -o /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/NSURLSession+Promise.bc -o /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/Process+Promise.bc -o /Users/toke.refstrup/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/Foundation/3.3.4/Build/Intermediates.noindex/ArchiveIntermediates/PMKFoundation/IntermediateBuildFilesPath/PMKFoundation.build/Release-iphoneos/PMKFoundation.build/Objects-normal/arm64/NSObject+Promise.bc
<unknown>:0: error: compiling for iOS 8.0, but module 'PromiseKit' has a minimum deployment target of iOS 12.0: /var/folders/ls/4wdkslrx5xj_wqs7hh0sw3yw0000gp/T/carthage-xcframework-l5KS/PromiseKit.framework/Modules/PromiseKit.swiftmodule/arm64-apple-ios.swiftmodule

** ARCHIVE FAILED **

I dropped deploy back to 8 because of this. Can't break all the extensions, and potentially other projects. Needs a major version bump.