-
Notifications
You must be signed in to change notification settings - Fork 31
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
Unable to archive on XCode 12 #86
Unable to archive on XCode 12 #86
Comments
Hi @camdengilliam, we just released 1.0.15; can you try that and see if it fixes this? We saw this same error on the native side and fixed it there; it's now been updated in 1.0.15 which points to our latest iOS SDK release (2 days ago as of writing). |
Also experiencing this issue. Just tried v1.0.15 and the error persists. xcode 12.0.1 |
Same happening here |
Also updated my project and packages and now seeing this when pod installing:
|
Thanks for the feedback, clearly more investigation/fixing is required. @bradherman can you open a new issue with that error? It looks like a separate error since dependencies should be the same as they have been for a long time. |
I can confirm that 1.0.15 is also not working for me - the same error persists. |
@roninopf... I deleted my node_modules folder, derived data folder, updated all packages in package.json, deintegrated pods, and then reinstalled them and that error cleared up. Still unable to compile/archive for release though. Builds for test devices, but archive fails with the same error others are seeing. |
@roninopf... any update on this? happy to help debug further if you need output from XCode or anything |
+1 |
+1 |
@bradherman Thanks for the note; yes it's something we're working on right now. And yes, please do pass along Xcode output! EDIT: As well as anyone else; the more debug reports, the better! Apologies for the delay on the fix. We know this is an important fix. |
Thanks for being on top of this guys. I'm also seeing the same error message that OP posted - tried to remove node_modules, clear all caches, pod deintegrate, and re-install node modules/pods. like OP I'm able to make a debug build on my iphone with no problem, but trying to archive fails for the same reason. I'm using xcode 12.1 and OSX 10.15.7 if that's helpful at all. Let me know if there's any more info you'd need! Here's the command that it failed on (the step is
with error printed to console of:
|
+1 |
Additionally I've attempted to downgrade xcode to 11.7, and roll back iterable SDK to 1.0.12. Unfortunately I'm getting the same compile error as described above ^^ Should note that we haven't had a successful archive yet - we've just started attempting last week. So I can't confirm if xcode 12 or iterable-rn-sdk 1.0.12 or 1.0.15 is what's causing the issue |
Hi all, thanks for your extreme patience; to give an update, we've identified that the issue is in the configuration of the iOS SDK not being a static library. We're continuing to work on this (of course), and we'll post about it when we have more updates or a new release. Thank you again for your patience and constructive replies! |
Hi again everybody! While we're still working on making the iOS SDK compatible, we do have a POSSIBLE workaround depending on what dependencies you're currently using. We've figured out why this issue came to be; in 0.63, React Native introduced some new libraries that are turned on by default in the So, if you're using We'll continue to leave this issue report open until a more permanent fix is completed, but I very much hope this will unblock releasing for many of you. |
+1 |
@roninopf I received error message if I turn off flipper and set
still not work. |
@blackbing Can you post what the Podfile looks like? Feel free to make a request through a CSM if you don't want to share it publicly. |
@roninopf ok, here is our Podfile
|
Hi all, so we have static dependencies (Firebase). Am I understanding correctly that the use of static libraries means we can't use the workaround? |
How's this coming along? We've been paying thousands of dollars a month for a product we can't use |
We have the same issue here, also using Firebase |
Hi all, I apologize for the delays in fixing this. We think we have a fix which is as follows:
We've tested this on our minimal project that reproduced this issue, and archiving was successful, with the default React Native 0.63 project (and a blank Swift file and bridging header). Please let us know if this works, and if this does NOT work, please file a ticket with your CSM so we can diagnose your specific setup. Lastly, I'd like to add my personal apology; I was the primary driver of trying to solve this issue, and any delays were purely on me, not anyone else at Iterable. |
Thanks for tracking this down! I will post back here if this solution works for me. |
@roninopf The solution works for us, we finally can complete our task upgrading React Native, thanks a lot. |
@roninopf Thanks for the solution it works for us Perhaps this workaround should be temporarily included in iterable react native sdk doc? |
Definitely, I'm planning on adding all of our relevant findings on RN to our docs soon, including this. We're also thinking it might actually not be temporary due to how RN projects get setup. |
Hi all, we've gotten our support article updated for this specific issue, so with that, I'll be closing this issue. I've been gathering more info on different setups and how to resolve them, so, over time, you'll see more instructions on how to fix possible errors that arise from certain setups. As always, if you have any questions for us, please feel free to file a ticket with your CSM (especially if it's an issue/question specific to your configuration, as it's easier to communicate and diagnose that way), or report them here. |
it's not working for me, Xcode 12.5 |
Thanks, worked for me |
When trying to archive a RN iOS build with the Iterable RN SDK as a dependency in XCode 12, the archive process fails:
Note, we are able to run the app in Debug mode.
Environment:
xcode - 12.0.1
build target - iOS 11
The text was updated successfully, but these errors were encountered: