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)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 3
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 7
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device)
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.