-
Notifications
You must be signed in to change notification settings - Fork 738
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 12 Beta Archive issue #1300
Comments
Weird! I'm literally testing the new beta right now, and I was just able to build and test |
I've tried it but it hasn't helped... Could you try setting the build configuration to release? |
Can't really do archive on a framework, but can confirm this is showing up if I switch the Run action to build for release. It looks like the issue is some kind of bug with substrings in the beta. Unfortunately because we support older versions of iOS, disabling armv7 support in the library isn't really a good option for us. It also looks like the workaround for our library isn't as simple as Lottie's - we're not using If you have some time to dig around, I'd encourage you to. At this point I've got enough on my plate that something clearly acknowledged by Apple as a bug and which only affects release builds on a beta Xcode is not going to be something I prioritize digging into on my own. Will definitely check back in on this with subsequent beta releases though. |
@designatednerd Thank you for your research. I want to wait for this bug to be fixed in a future Xcode version. |
I am experiencing this issue as well, which prevented Carthage from building Apollo. I mentioned the issue in the Xcode 12 thread: #1280 I fixed the issue here: https://github.com/danl3v/apollo-ios/tree/0.29.1-xcode12 and it works fine. Feel free to cherry-pick the latest commit to another version of apollo as required. Hopefully Apple will fix its substring issue |
Will do early next week |
@designatednerd @danl3v I confirmed the issue on the |
@nkmrh Weird! Did you do |
@designatednerd I checked the betas/xcode-12 branch again and the build was successful but when I add it to a simple project with cocoapods, it still fails to build... (archive is still failing) |
Interesting....I'll poke at that today. Thanks! |
@designatednerd I tried it with Xcode 12 beta 4, it solved! |
Excellent! I'm going to close this issue out then - if anyone has issues archiving on Beta 4 or after, please open a new issue. Thank you! |
Beta 4 works for us! |
I failed to archive app with 12.0 beta 2 and I found that other libraries have similar issues.
Error message
Environment
Apollo version: 0.28.0
Xcode version: 12.0 beta 2 (12A6163b)
Swift version: 5.3 (swiftlang-1200.0.16.13 clang-1200.0.22.25)
Platform(s) running Apollo: iOS
macOS version running Xcode: 10.15.5
The text was updated successfully, but these errors were encountered: