-
Notifications
You must be signed in to change notification settings - Fork 135
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
Xcode Cloud + Bitcode Issues #624
Comments
Hey @dcilia , thanks for details 👋. Before we dig further, we need some more info:
|
@ncreated Hi! Have faced the same issues with original Xcode (Version 13.0 (13A233)) Apple says that there are problem in app thinning process and bitcode: |
hi @dcilia and @lanserxt 👋
|
Hi @buranmert,
Try to upload to TF any build with latest Xcode, iOS 15 SDK |
hey again @lanserxt 👋 unfortunately i haven't been able to reproduce the exact same error yet.
after the very last step (selecting code signing method, i chose "Automatically manage signing") Xcode 13 crashes while "Compiling bitcode..." text is on the screen. I'm guessing this might be the same issue since Tech Note 2432 says that this is the way to reproduce App Thinning process locally. i managed to solve this problem by making sure that prior to Xcode 13, packages were added with correct default attributes ( can you please let us know if that solves the issue whenever you have a chance? 🙏 |
Hi @buranmert! Interesting... Will try and let you know! |
hey @lanserxt 👋 |
Hi @buranmert ! Sorry, checked just now. Still persists. The same error that @floriangbh have. |
unfortunately, i can't reproduce |
Hi, using static version of Datadog will cause bitcode not to work. The error goes away though. |
hey again @dcilia 👋
can you look inside your app bundle? |
Sure, I can spend some time looking into this, will report back what I find. |
@buranmert I tried with below and for me this is solving the issue with
After changing it to static in SPM its compiling and submitted to testflight without any problems. |
the issue seems to be resolved. |
Not sure if this should be closed. The XCode Cloud issue still persist, there is just temporary workaround to use static version. I believe this should be reopen so people like me can find it easier in the future until the Dynamic version is reworked. I believe it's the same issue as #250 and similar. |
I think this might be resolved with Xcode 13.3.1? Can anyone confirm? |
@buranmert This issue was fixed with https://github.com/DatadogStatic/dd-sdk-ios.git getting 404. Is it removed or moved to different source ? |
Hey @pf-AliKemal 👋. |
@ncreated ok cool. now it is working as expected thanks 👍 |
Using DataDogStatic is not a foolproof fix because it breaks SwiftUI Previews. Is there no solution to getting either DataDog to be dynamic, or fixing SwiftUI previews for DatadogStatic? |
+1 to the above; using |
Just an FYI Xcode 14 does not fix this issue either. |
What is the history behind explicitly offering both dynamic and static versions of the library, versus letting SPM and the build system handle it? Searches elsewhere consistently point to using |
@kylebrowning I noticed that the |
Hello 👋. Thanks for update folks. Speaking of SwiftUI previews, this was recently fixed in #949 and the
I feel it is a legacy after we added multiple patches to our SPM support. I gave some more context in this comment. Until we make |
Wow look at that timing haha |
In my case, it did. Funny enough, it was also my first day setting up Datadog in my Swift project. |
@ncreated I can verify that with releases prior to |
Thanks for the new betas @ncreated ! Do you have any ETA when the 1.12.0 will be out? :) |
|
The issue
Integrating with Xcode 13 / SPM
When integrating the sdk in an app that uses Xcode Cloud, there are two issues with the archival / Testflight submission process that is done by Xcode Cloud:
Datadog SDK version:
Which version of the Datadog SDK causes this problem? e.g.
1.7.0
Last working Datadog SDK version:
None
Dependency Manager:
SPM
Other toolset:
Xcode Cloud
Xcode version:
Xcode 13
Swift version:
5.5
Deployment Target:
iOS 14.0
macOS version:
N/A
The text was updated successfully, but these errors were encountered: