Coder Social home page Coder Social logo

Comments (6)

HevaWu avatar HevaWu commented on June 16, 2024

@ishkawa , Sorry for the direct mention.
Could you help checking this problem? 😭

from apikit.

ikesyo avatar ikesyo commented on June 16, 2024

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:

// Workaround for http://www.openradar.me/19809067
// This issue only occurs on iOS 8

from apikit.

HevaWu avatar HevaWu commented on June 16, 2024

@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?

from apikit.

HevaWu avatar HevaWu commented on June 16, 2024

@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!! 😄

from apikit.

ikesyo avatar ikesyo commented on June 16, 2024

I'm glad to hear that 😄

from apikit.

HevaWu avatar HevaWu commented on June 16, 2024

Thank you for all of the help !! 👍

from apikit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.