Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - The package product 'Introspect' requires minimum platform version 13.0 for the iOS platform, but this target supports 11.0 #127

Closed
maxxy212 opened this issue Feb 22, 2023 · 10 comments
Assignees
Labels
possible bug Something isn't working

Comments

@maxxy212
Copy link

Describe the bug
I get this error after adding to SPM and building

To Reproduce
Steps to reproduce the behavior:

  1. Add through SPM
  2. Clean and build

Expected behavior
Project should build successfully

Screenshots

Desktop (please complete the following information):

  • Mac OS 12.6.3 (21G419)
  • Xcode 14.2 (14C18)

Additional context

@maxxy212 maxxy212 added the possible bug Something isn't working label Feb 22, 2023
@jevonmao
Copy link
Owner

@maxxy212 Were you able to resolve this or is this still an issue?

@fnazarios
Copy link
Contributor

This is happening here too
Screenshot 2023-02-27 at 14 04 47

@maxxy212
Copy link
Author

Yes I was able to resolve the issue.

  • Once build is finished, right click on permissionUtils to locate in finder.
  • Click on the package.swift file to edit. I edited with VSCode.
  • Scroll down to the package declaration and edit the platform from 11 to 13. Save and build again.

Thanks.

@jevonmao
Copy link
Owner

cc @fnazarios and @MartinOSX you can try this as a temporary fix. My apologies for the inconvenience, I don't have access to my Mac machine right now so I can't edit the project code and fix this nicely.

@MartinOSX
Copy link

Nice, I'll try asap, thank you! @maxxy212 @jevonmao

@Dave181295
Copy link

Dave181295 commented Mar 19, 2023

  • permissionUtils

Capture d’écran 2023-03-19 à 23 34 41

I changed it and did a clean build, still got the same error..

@freddokresna
Copy link

i'm solved it
with change the
project->general-> minimal deployment ,
pods -> target -> build setting

all to 16.4 and then solved

before that , just llike @Dave181295
,hope this help others who used this package

@freddokresna
Copy link

today accidentally i'm clean up the project and the error show up again

and i had realized, to resolve this was to update the package for cocoapod and do pod install

hope this help other with how to reproduce and solve it

@JoeyEamigh
Copy link

Add the package Introspect (https://github.com/siteline/SwiftUI-Introspect) with exact version v0.1.4 to your package dependencies and it fixes it.

@jevonmao jevonmao reopened this Aug 7, 2023
@jevonmao jevonmao self-assigned this Aug 7, 2023
@jevonmao
Copy link
Owner

jevonmao commented Aug 7, 2023

Fixed by #130

@jevonmao jevonmao closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants