-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Conversation
28be20c
to
c5edb1c
Compare
Generated by 🚫 danger |
@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 |
There was a problem hiding this comment.
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.
c7f5492
to
0e5fe4f
Compare
Ready to go from my side pending 👍 from @jcampbell05 and @lacostej |
Looks good to me :) thanks for all your help on this @mfurtak :) |
Fine for me ! |
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.