Raith Rovers and Morton were the teams to receive byes as the opening round of the tournament is divided into North-East and South-West regions.
All matches are scheduled for Saturday 26 July.
North/East draw:
Ross County v St. Johnstone
Alloa Athletic v Dundee
Arbroath v Forfar Athletic
Brechin City v East Fife
Dunfermline Athletic v Stirling Albion
Peterhead v Montrose
Elgin City v Cowdenbeath
Bye: Raith Rovers
South/West draw:
East Stirlingshire v Ayr United
Clyde v Annan Athletic
Stenhousemuir v Albion Rovers
Partick Thistle v Queen's Park
Berwick Rangers v Queen of the South
Livingston v Stranraer
Airdrie United v Dumbarton
Bye: Morton