-
Notifications
You must be signed in to change notification settings - Fork 85
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
SwiftPM Results in Binary Rejection on Submission to Apple #216
Comments
Hi @spr, Thanks for the issue report! We appreciate you giving the new major release a try, and letting us know about this app store submission rejection. We'll start looking into this right away to get a 5.1 release out to correct this issue. Thanks, |
## [5.1.0] - 2020-08-04 ### Added - The ability to specify additional headers to be included on HTTP requests to LaunchDarkly services using `LDConfig.additionalHeaders`. This feature is to enable certain proxy configurations, and is not needed for normal use. - Support for building docs with [jazzy](https://github.com/realm/jazzy). These docs will be available through [GitHub Pages](https://launchdarkly.github.io/ios-client-sdk/). ### Fixed - SDK causing nested bundles in archived product when including the SDK through Carthage. This caused rejections when submitted to the App Store. Thanks to @spr for reporting ([#217](#217)). - SDK causing application to expect LDSwiftEventSource dynamic framework when built with SwiftPM, which does not include the dynamic framework in the resulting application. This causes the application to be rejected when submitted to the App Store. Thanks to @spr for reporting ([#216](#216)).
Hi @spr, We've just released 5.1.0 which should resolve this issue. Please give it a try and let us know if you run into any issues. Thanks! |
The |
Closing this for now, thanks for taking a look even though you didn't plan to use SwiftPM. Thanks, |
After much discussion and debate about how backwards compatibility concerns would be addressed, we have decided that we are going to keep the name anonymous and abandon transient.
Is this a support request?
No
Describe the bug
If you use SwiftPM to add LaunchDarkly 5.0.1 to an application, and submit to the app store, it is rejected with
According to https://developer.apple.com/library/archive/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING You can obtain the dynamic libraries the app is expecting via
otool -L <AppName>.app/<AppBinary>
. When run on a sample project the output includes:However, SwiftPM dependencies use static linking. Consequently, the framework is not included in the resulting application.
To reproduce
Steps to reproduce the behavior.
otool -L
and drag the binary onto the terminal, hit enter, observe the@rpath
present.Expected behavior
No
@rpath
present inotool -L
output.Logs
Full
otool -L
output for test project:SDK version
The version of this SDK that you are using.
5.0.1
Language version, developer tools
Xcode 11.6
OS/platform
macOS 10.15.5
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: