Comments (7)
I agree with you, there should be a better example. Have you seen this setup? https://github.com/krausefx/fastlane-example
- You first have to use
sigh
to get the provisioning profile. Then runipa
to build and sign the app deliver
will not do anything building/signing related automatically. Instead check out the available environment variables https://github.com/krausefx/fastlane#lane-context. You can use the 2 sigh values, in theipa
ordeliver
action- If you add
cert
to the top of theFastfile
, it will make sure to use the correct code signing identity insigh
automatically - Not sure what you mean?
If you have any ideas for improvements regarding documentation structure or missing information, please let me know or even submit a pull request updating it 👍
I hope I could help. I'll be working on a more advanced example setup.
from fastlane.
Yep, I saw https://github.com/krausefx/fastlane-example :) And some other examples from other guys :)
- Ok. The reason I was asking - is that in example - ipa build is in before_all section ) So I wasn't sure, if I am missing something
- I was tried to do this in
Deliverfile
, but I failed (Well, I wasn't able get data from the context) I added this step intoFastlane
file. I edned up with this lane:
lane :deploy do
# Create all the screenshots!
#snapshot
# Make sure we have correct cert (Based on the values from Appfile)
cert
# Get correct provision profile (For ApppStore submission by default)
sigh
# Create ipa. identity and provision profile specified.
# Provision profile was get from the last step via Actions.lane_context
ipa({
workspace: "MyApp.xcworkspace",
configuration: "Release",
scheme: "MyApp",
identity: "iPhone Distribution: Ivan Ivanov (2323222322)",
embed: Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATH],
verbose: "true"
})
# Deliver to the AppStore
deliver :skip_deploy, :force
end
- I thought that values from Context such like SIGH_PROFILE_PATH and others will be passed to
ipa
action :) Now I know that they aren't :)
Thanks for explanation.
from fastlane.
Sorry for the delayed reply. I guess it would make sense to pass the profile path to the ipa
action. The main problem here is, that only setting the profile path, does not make code signing work. You still have to set the code signing settings in your project.
Are there any more questions? Not sure if I missed something now 😉
from fastlane.
Well, I thought that if put Singing Identitiy via
identity: "iPhone Distribution: Ivan Ivanov (2323222322)",
and Profile via
embed: Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATH],
It should work. Well, It works that way. So thing is that I don't want to set code signing settings in the xcode project (At least, I want to have the way that it will use as much data from Fastlane configs)
from fastlane.
@dtrenz @joshdholtz What do you think? I guess it would make sense to automatically use the provisioning profile created/downloaded with sigh
in both xcodebuild
and ipa
.
Is there a reason against it?
from fastlane.
WRT xcodebuild
- You cannot use an uninstalled profile, so it would have to be installed on the build machine. sigh
could do this if we implement this: fastlane-old/sigh#58
from fastlane.
You've probably also seen https://github.com/KrauseFx/fastlane/blob/master/docs/CodeSigning.md?
I'll close this issue for now.
from fastlane.
Related Issues (20)
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
- TestFairy Action Fails with NoMethodError for key? Method on String
- Unable to ^C in response to 'Could not find fastlane ... Would you like to set fastlane up?'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.