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
signing error when not using the legacy build option #7717
Comments
It seems like this issue might be related to code signing 🚫 Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues 👍 |
So since your project doesn't have a distribution certificate, how should it work to build an ipa file? Do you not code sign? |
@KrauseFx We sign with our development certificate. Right now we distribute our app using Crashlytics Beta. We have plans to distribute in the App Store eventually and we will get a distribution certificate, of course, but this will happen in a distant future. |
I don't think you can sign using a development signing identity and then distribute using Crashlytics Beta. |
Well, I currently do that successfully with This project never had a distribution signing identify and I have several builds on Crashlytics Beta that were generated before with legacy build. Are you saying that this is something that Apple changed recently? |
have very similar issue everything use to work fine, commented here as well #3184 |
Sorry, I don't know how to fix that - it's probably related to either your project or your machine. If you have any idea on how fastlane should behave differently to fix that issue, please let me know. For now, you should be fine using the legacy build API, however be aware that it's been deprecated by Apple. |
I'm also experiencing this too, our scenario is for a project that is distributed and resigned by the client, we package up release builds with Hockey for ipas but not for the 'production' target which is for the app store. For the production target we generate an xcarchive, where we don't have distribution rights, they then resign this. Gym has always been able to generate this xcarchive. With error shown:
more detail: gym command:
with
identical gym command without
So it looks like archive_path behaviour may have changed? or will it be no longer possible to use gym to export archives for this scenario when it is fully deprecated? |
Fixed the issue by explicitly providing the btcode flag and specifying tookchain. Thanks. |
Tried @romk1n 's suggestion. Didn't solve the issue. I have the same issue when I set use_legacy_build_api to false with Xcode8. A whole day spent with no solution but make it set to true. |
I've noticed that when removing legacy build API option I have to
explicitly provide export_mode option. In my case I set it as "enterprise".
Then export works.
He next challenge that we are e facing is whether it is possible to
reexport the same archive, while replacing bundle ids and entitlements in
the process. The archive is just an info plist and .app file, so seems
possible to resign the .app first, the run export - I'm in the middle of
figuring it out.
On Thu, 9 Feb 2017 at 8:05 am, tomachi <notifications@github.com> wrote:
Tried @romk1n <https://github.com/romk1n> 's suggestion. Didn't solve the
issue. I have the same issue when I set use_legacy_build_api to false with
Xcode8. A whole day spent with no solution but make it set to true.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7717 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVZvkXDc8A6kbiWK67ITi-NxoFaTNrxks5rai36gaJpZM4LZavO>
.
|
Setting the Please notice:
Thanks @mgrebenets for this hint. |
I already have this enabled, but with development and not enterprise. You think this is the case? |
@tomachi. So we had to remove the legacy build API option. And by removing
I mean not providing it at all, as opposites to setting it to false.
@riko. Right. Method and not mode :)
At the moment we have some custom action on top of sigh that can resign the
_archive_. Once archive is resigned (changing bundle is but the process) we
later re export it for AppStore distribution
…On Thu, 2 Mar 2017 at 12:58 am, tomachi ***@***.***> wrote:
I already have this enabled, but with development and not enterprise. You
think this is the case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7717 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVZvngqakqk4X9rdS8Kqr0BioyveZdWks5rhXlwgaJpZM4LZavO>
.
|
I am facing this issue too, even I have changed "export_method" to "enterprise", It still not work for me. Previous, in Xcode 8.2.1, I used --use_legacy_build_api with true is fine |
I changed export method from ad-hoc to development, and that solved this issue for me. |
I just ran into this challenge today for a group that only provides a dev cert and provision profile. They prefer to sign for distribution on their own and not hand that out to anyone. As @redi-wassere mentioned, setting the gym parameter to the following resolved the issue.
Seems like we could close this now, @vegidio-symbio what do you think? |
New Issue Checklist
Issue Description
I updated to Fastlane 2.3.1 recently and now when I tried to build my app with
gym
using legacy build I get this message: Using deprecated option: '--use_legacy_build_api' (Don't use this option any more, as it's deprecated by Apple)The app was built fine, but since you are recommending me to stop using --use_legacy_build_api I decided to build my app again without this flag, but I got the following error:
Based what I see in the error message, it looks like it is complaining about some distribution signing identify during the archive phase. Just to clarify, my project doesn't have a distribution profile. This is an internal project that we don't have any plan to release in the near future, so we only have a development profile.
When I archive the project manually (using Xcode IDE) or when I build the project using
gym
with --use_legacy_build_api, this problem doesn't happen. This only happens when I usegym
without the legacy build.Complete output when running fastlane, including the stack trace and command used
[INSERT OUTPUT HERE]
Environment
Please run
fastlane env
and copy the output below. This will help us help you 👍If you used
--capture_output
option please remove this block - as it is already included there.🚫 fastlane environment 🚫
Stack
System Locale
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2017-01-03
The text was updated successfully, but these errors were encountered: