Easily build and sign your app using shenzhen
You are using legacy
shenzhento build your app, which will be removed soon!
It is recommended to upgrade to gym.
To do so, just replace
gym(...)in your Fastfile.
To make code signing work, follow https://docs.fastlane.tools/codesigning/xcode-project/.
ipa( workspace: "MyApp.xcworkspace", configuration: "Debug", scheme: "MyApp", # (optionals) clean: true, # This means "Do Clean". Cleans project before building (the default if not specified). destination: "path/to/dir", # Destination directory. Defaults to current directory. ipa: "my-app.ipa", # specify the name of the .ipa file to generate (including file extension) xcargs: "MY_ADHOC=0", # pass additional arguments to xcodebuild when building the app. embed: "my.mobileprovision", # Sign .ipa file with .mobileprovision identity: "MyIdentity",# Identity to be used along with --embed sdk: "10.0", # use SDK as the name or path of the base SDK when building the project. archive: true# this means "Do Archive". Archive project after building (the default if not specified). )
||WORKSPACE Workspace (.xcworkspace) file to use to build app (automatically detected in current directory)|
||Project (.xcodeproj) file to use to build app (automatically detected in current directory, overridden by --workspace option, if passed)|
||Configuration used to build|
||Scheme used to build app|
||Clean project before building|
||Archive project after building|
||Build destination. Defaults to current directory||*|
||Sign .ipa file with .mobileprovision|
||Identity to be used along with --embed|
||Use SDK as the name or path of the base SDK when building the project|
||Specify the name of the .ipa file to generate (including file extension)|
||Use an extra XCCONFIG file to build the app|
||Pass additional arguments to xcodebuild when building the app. Be sure to quote multiple args|
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action ipa