Skip to content
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

Implement workaround for generic archive bug. #4325

Merged
merged 2 commits into from
Apr 25, 2016
Merged

Conversation

mfurtak
Copy link
Contributor

@mfurtak mfurtak commented Apr 22, 2016

Workaround for CocoaPods/CocoaPods#4178

In certain project configurations Xcodebuild creates a generic archive with the iOS App with Apple Watch App and the Apple Watch app in the products folder.

This is a small tweak to remove any Watch IPAs in the root of the archive (i.e not inside of a iOS App) since in pretty much all cases a developer wouldn't want / need this.

Hopefully this will increase the chances that gym will pick the correct IPA file when this bug occurs.

@mfurtak mfurtak changed the title [gym] Implement workaround for generic archive bug. Implement workaround for generic archive bug. Apr 22, 2016
@mfurtak mfurtak self-assigned this Apr 22, 2016
@fastlane-danger-bot
Copy link

      <tr>
    <td>:white_check_mark:</td>
    <td data-sticky="true"><del>Please provide a changelog summary in the Pull Request description @mfurtak</del></td>
  </tr>
        1 Warning
    
  </th>
 </tr>
⚠️ Before submitting a Pull Request, please create an issue on GitHub to discuss the change. Please add a link to the issue in the PR body.

Generated by 🚫 danger

@mfurtak
Copy link
Contributor Author

mfurtak commented Apr 22, 2016

@jcampbell05 Can you give this a quick once-over to make sure that it still looks good after the recreation? 👍

@@ -16,6 +16,7 @@ def run
FileUtils.mkdir_p(Gym.config[:output_directory])

if Gym.project.ios? || Gym.project.tvos?
fix_archive
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it may be nice to use a more precise method name.

@mfurtak
Copy link
Contributor Author

mfurtak commented Apr 22, 2016

Ready to go from my side pending 👍 from @jcampbell05 and @lacostej

@jcampbell05
Copy link
Contributor

Looks good to me :) thanks for all your help on this @mfurtak :)

@lacostej
Copy link
Collaborator

Fine for me !

@mfurtak mfurtak merged commit 8619c77 into master Apr 25, 2016
@mfurtak mfurtak deleted the generic-archives-bug branch April 25, 2016 14:08
@fastlane fastlane locked and limited conversation to collaborators Feb 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants