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