Giter Site home page Giter Site logo

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. about mantle HOT 9 CLOSED

mathaeus avatar mathaeus commented on May 25, 2024
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99.

from mantle.

Comments (9)

robb avatar robb commented on May 25, 2024 1

I guess then there's little risk in bumping the minimum deployment target without a major version increase ¯_(ツ)_/¯ Would you mind filing a PR to that effect?

Providing an xcframework would have the advantage that the target app wouldn't need to build the source code.

Yeah, I kinda want to offer this but I haven't made particularly great experiences with GH actions to automate this.

from mantle.

robb avatar robb commented on May 25, 2024

Do you mind checking if setting the minimum deployment target to 9 is enough to resolve this issue? (I don't use SPM for ObjC dependencies and I wouldn't be surprised if it took more than that to make this work.)

from mantle.

mathaeus avatar mathaeus commented on May 25, 2024

@robb sorry for not mentioning this, deployment target is iOS 12.

From what I know the underlying problem is an Xcode problem and there have been equivalent issues in other SDKs, e.g. firebase/firebase-ios-sdk#6533
But since we are not using cocoapods anymore, I can't use a pod-post-install script to solve it.

from mantle.

robb avatar robb commented on May 25, 2024

Hmm, so there's nothing we can do? Would a precompiled XCFramework help? See #879.

from mantle.

mathaeus avatar mathaeus commented on May 25, 2024

Hmm, so there's nothing we can do?

This could be increased to .iOS(.v9),.
https://github.com/Mantle/Mantle/blob/master/Package.swift#L9

I would say it's safe to assume that people using SPM are using Xcode 12 and therefore the minimum deployment target is iOS 9. But again, this is just an assumption :)

Would a precompiled XCFramework help? See #879

I'm honestly not sure what #879 is asking for? 🤔

from mantle.

robb avatar robb commented on May 25, 2024

Haha, I completely forgot that we have a Package.swift 😵‍💫.

I would say it's safe to assume that people using SPM are using Xcode 12

That sounds like a reasonably assumption. However, for this to work, we would also have to raise the minimum deployment target in the Xcode project, right? That would technically be a breaking change that required a new major version. I have a feeling that Mantle skews towards older apps. Do you happen to know if Apple still lets you submit iOS 8.0 apps to the store?

I'm honestly not sure what #879 is asking for? 🤔

I think they are asking for the ability to download a zipped XCFramework from GitHub's release page. My understanding is that could also be used by SPM to download a binary artifact.

from mantle.

mathaeus avatar mathaeus commented on May 25, 2024

Do you happen to know if Apple still lets you submit iOS 8.0 apps to the store?

Doesn't look like:

Starting April 26, 2021, all iPhone and iPad apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK or later

Xcode 12 has the minimum deployment target of iOS 9, hence also the warning.
Screenshot 2021-06-15 at 10 13 53


My understanding is that could also be used by SPM to download a binary artifact.

👍
Providing an xcframework would have the advantage that the target app wouldn't need to build the source code.

from mantle.

mathaeus avatar mathaeus commented on May 25, 2024

@robb sure, there you go #886

from mantle.

robb avatar robb commented on May 25, 2024

Closed in #886

from mantle.

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.