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
deliver cannot generate ipa due to wrong path #11
Comments
@nandodelauni thanks for implementing You haven't posted your ipa do
system("cd ..; ipa build")
"../file_name.ipa"
end |
Oh, why are you running To create a new action, check out this part of the README. |
Thanks! I was using
In my |
Can you share your |
Sorry. I was using the template and only modified the
You can find the implementation for |
Replace |
I have been trying out and that's not what I want, I just want |
Could not find project folder i replaced : PS : tnx for great project 👍 |
@nandodelauni sorry for the late reply.
The user of the hockey action needs to pass the path to the ipa file to use. I recommend using shenzhen to build your app. ( I took a look at your good, it's a great start, but I'd recommend changing the following: def self.assert_valid_ipa_path!(ipa_path)
return if File.exists?(ipa_path)
raise "IPA file on path '#{File.expand_path(ipa_path)}' not found".red
end to raise "IPA file on path '#{File.expand_path(ipa_path)}' not found".red unless File.exists?(ipa_path) without having a method for each assert. To come back to the original question: Remove Does that make sense? |
Totally. Closing this. I hope to make a PR with crashlytics soon :) |
@nandodelauni So, you're still working on this? If not, I'd add the Crashlytics action |
yep, let me come back to you late on the day |
Thanks, looking forward to it 👍 |
Hey! I've just read your comment, I prefer to have one level of abstraction per method and I think that the guard clause makes the code more idiomatic: def self.assert_valid_ipa_path!(ipa_path)
return if File.exists?(ipa_path)
raise "IPA file on path '#{File.expand_path(ipa_path)}' not found".red
end Also, I don't like statement modifiers at the end of long lines.
As it is the methods have only one reason to change, If I put all the asserts in the same method there will be multiple reasons for the method to change. |
@KrauseFx my colleague @pedrogimenez is opening a PR with Crashlytics support :) |
Great! 👍 |
Change KrauseFx references to fastlane
Change KrauseFx references to fastlane
Allow specifying device (by serial number or other qualifier)
I've forked fastlane trying to integrate
Crashlytics
distribution action but I am not able to test it because seems that deliver cannot find the proper path to the project:The project is in
/Users/miguel/chicisimo
and I don't see any configuration to change this. Can you bring some light?Thanks!
The text was updated successfully, but these errors were encountered: