Closed HevaWu closed 4 years ago
@ishkawa , Sorry for the direct mention. Could you help checking this problem? 😭
This is related to #160 and #209. It's unfortunate that Xcode 11's SwiftPM packages support is a bit different from usual SwiftPM CLI (swift build
command). Specifically the SWIFT_PACKAGE
condition is not set on Xcode 11's Swift packages build.
Regarding the AbstractInputStream
workaround used here, we should be able to remove the workaround if we bump iOS Deployment Target to 9 or above: https://github.com/ishkawa/APIKit/blob/e5724dc54d9a2f294875d65241edb0cc41654a25/Sources/APIKit/APIKit.h#L8-L9
@ikesyo san Thank you for the reply. I've checked that the error only appears around ⬇️ . https://github.com/ishkawa/APIKit/blob/master/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift#L9-L15
I'm thinking maybe this setting have conflicts with our project SWIFT_ACTIVE_COMPILATION_CONDITIONS
flag.
I got that AbstractInputStream
is for fixing the iOS 8, do you have any plan that for iOS 9+, don't contain this code anymore?
@ikesyo san
Sorry for late reply.
Based on the SWIFT_PACKAGE
flag problem, we might find some solution for fixing the conflicts with our SWIFT_ACTIVE_COMPILATION_CONDITIONS
.
-> by setting our SWIFT_ACTIVE_COMPILATION_CONDITIONS
with $(inherited)
So I will close this ticket. :) Have a nice day!! 😄
I'm glad to hear that 😄
Thank you for all of the help !! 👍
Hi
Recently we are trying the use SwiftPackage of APIKit into our project. After importing, Xcode build successfully but the
xcodebuild
command part failed.By looking into the log, since APIKit have this code:
and the
overriding & super
related code failed. It looks like it cannot be archive the correct super one.I would be appreciate if you could tell me how we could fix it.
Best regards
Here is the script of the failed log: