Code Monkey home page Code Monkey logo

Comments (21)

mxcl avatar mxcl commented on June 10, 2024 8

The objective C portions of PromiseKit use some pretty low level tricks, it's possible Apple has now decided this is not acceptable.

I do not have a lot of time for PromiseKit nowadays since I’m trying to solve the fact I don’t have time with it via https://github.com/teaxyz, so if anyone affected by this could do the preliminary research I will then take over after that.

Specifically:

  1. what's the beef
  2. which part of the code?

from promisekit.

mpretty-cyro avatar mpretty-cyro commented on June 10, 2024 2

The app got approved even with this warning (both to TestFlight and the AppStore)

from promisekit.

Kaspik avatar Kaspik commented on June 10, 2024 2

FYI this is not an issue with SPM.

from promisekit.

tureck1y avatar tureck1y commented on June 10, 2024 1

Any updates to this issue?

from promisekit.

jhonatangeison avatar jhonatangeison commented on June 10, 2024 1

lib signing issue reported by applestore

The app references non-public selectors in Payload/UnimedPlanoDeCuidado.app/Frameworks/PromiseKit.framework/PromiseKit: promise

from promisekit.

bevbomb avatar bevbomb commented on June 10, 2024 1

@mxcl I'm not sure if this is worth mentioning or not but this warning only occurs for me when I'm archiving projects that were created in the latest versions of Xcode. I have a more mature project that I continuously update which utilizes PromiseKit a lot in the same manner as my newer projects and I'm yet to see the warning for it. If I archive my new projects in an older version of Xcode the warning does not occur on upload.

I have also had my newer project rejected from the store on a few occasions because of this warning but it seems to be up to the discretion of the tester as to whether the app should pass or not as they sometimes allow it even with the warning.

from promisekit.

sfiligoj avatar sfiligoj commented on June 10, 2024 1

I've tried to validate an app with both 6.15.3 and 6.17.1, the warning is always there. I'm using Xcode 14.2.

from promisekit.

sfiligoj avatar sfiligoj commented on June 10, 2024 1

I've just uploaded an app to App Store (TestFlight) and the warning is gone... (v6.18.1 from CocoaPods, Xcode 14.3)

image

from promisekit.

RomanPodymov avatar RomanPodymov commented on June 10, 2024 1

Hello @mpretty-cyro
Great! Can you close the ticket please?

from promisekit.

DeanGuo avatar DeanGuo commented on June 10, 2024

Even though the upload is successful, submitting the release for review is rejected on the grounds of 2.3, how can this be resolved?

from promisekit.

178408714 avatar 178408714 commented on June 10, 2024

Has anyone solved this problem?

from promisekit.

mxcl avatar mxcl commented on June 10, 2024

I just took a cursory glance through our objc sources and we don’t seem to do anything that isn't public API. It's all C magic that is per the binary spec for objc.

Also I can't find a function called promise so. hmm.

from promisekit.

kikeenrique avatar kikeenrique commented on June 10, 2024

I'm using version 6.15.3 via SPM and I have not yet seen this App Store warning using Xcode 14.x
@Kaspik what version are you using?

I don't think this could be related to using the framework via SPM, so I've run a diff between versions 6.15.3 and 6.18.1 (reported in first comment). There is a change adding a file, Async.swift, that imports swift concurrency and uses async code with a function named async.
Extremelly wild guessing, could it be possible that using swift concurrency adds Apple extra checks for the framework about "restricted api words"?

from promisekit.

avlaev avatar avlaev commented on June 10, 2024

I updated to version 6.18.1 and I still see the issue. We have a whitelabel app with various targets. For old existing targets when I upload the app I don't see the warning, for a new app which we are uploading to Testflight for the very first time I see the warning which leads me to think that this is some new validation which apple does for new apps. The two apps are almost identical otherwise - especially the parts dealing with PromiseKit.

from promisekit.

mxcl avatar mxcl commented on June 10, 2024

SwiftPM doesn't have the objc portions so it is likely due to the objc portions that this warning shows up.

from promisekit.

RomanPodymov avatar RomanPodymov commented on June 10, 2024

I updated to version 6.18.1 and I still see the issue. We have a whitelabel app with various targets. For old existing targets when I upload the app I don't see the warning, for a new app which we are uploading to Testflight for the very first time I see the warning which leads me to think that this is some new validation which apple does for new apps. The two apps are almost identical otherwise - especially the parts dealing with PromiseKit.

Hello @avlaev
Can you please try v.6.15.3? Or at least v.6.17.1 (the latest PromiseKit 6 without Async.swift).

from promisekit.

RomanPodymov avatar RomanPodymov commented on June 10, 2024

Hello @mpretty-cyro @tureck1y @DeanGuo @Kaspik @jhonatangeison @178408714 @bevbomb @kikeenrique @avlaev
What is the latest PromiseKit 6 version you can use without the warnings you mentioned?

from promisekit.

RomanPodymov avatar RomanPodymov commented on June 10, 2024

Hello @sfiligoj
Did you use PromiseKit 6.22.1?

from promisekit.

sfiligoj avatar sfiligoj commented on June 10, 2024

Hello @sfiligoj Did you use PromiseKit 6.22.1?

No, I'm using the 6.18.1 from CocoaPods. I was surprised about the successful upload without warnings. Does this mean that Apple "released" a little bit the code check? I'm curious if there are other users that noticed this.

from promisekit.

RomanPodymov avatar RomanPodymov commented on June 10, 2024

Hello @sfiligoj Did you use PromiseKit 6.22.1?

No, I'm using the 6.18.1 from CocoaPods. I was surprised about the successful upload without warnings. Does this mean that Apple "released" a little bit the code check? I'm curious if there are other users that noticed this.

Hello @sfiligoj
Thank you for your comment. @mpretty-cyro Can you please upload a build again?

from promisekit.

mpretty-cyro avatar mpretty-cyro commented on June 10, 2024

Thank you for your comment. @mpretty-cyro Can you please upload a build again?

Yep, just submitted a build including 6.15.3 and the warning is gone 👍

from promisekit.

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.