2020-01-31-Fastlane-build-ios-simulator
Add Following lane to your
fastlanefile.
lane :buildApp do
xcbuild({
workspace: "MYPROJECT.xcworkspace",
scheme: "MYTARGET",
sdk: "iphonesimulator",
destination: "platform=iOS Simulator,name=iPhone 8",
xcargs: "ONLY_ACTIVE_ARCH=NO"
})
endReplace
MYPROJECTwith name of the project.Replace
MYTARGETwith name of the Target.Run command
bundle exec fastlane ios buildAppAdd this to any CI-CD system like Semaphore, Github Actions.
Last updated
Was this helpful?