Posted September 14, 2018 · Original PosterOP I cannot afford a macbook but I want to learn swift programming language. I have a 32bit Ubuntu Budgie Dell laptop. Is it possible to do swift programming there ? Or even on windows 10 ? Link to post Share on other sites
Posted September 14, 2018 AFAIK Xcode only runs on mac. Ryzen 5 1600 @ 3.9 Ghz | Gigabyte AB350M Gaming 3 | PaliT GTX 1050Ti | 8gb Kingston HyperX Fury @ 2933 Mhz | Corsair CX550m | 1 TB WD Blue HDD Inside some old case I found lying around. Link to post Share on other sites
Posted September 14, 2018 8 minutes ago, soorma said: I cannot afford a macbook but I want to learn swift programming language. I have a 32bit Ubuntu Budgie Dell laptop. Is it possible to do swift programming there ? Or even on windows 10 ? Sure, run a VM of MacOS, program from there So rise up, all ye lost ones, as one, we'll claw the clouds Link to post Share on other sites
Posted September 14, 2018 · Original PosterOP That is a really great idea. I'll go with that option when everything else fails. Link to post Share on other sites
Posted September 14, 2018 Can't be done because apple hates you. Sudo make me a sandwich Link to post Share on other sites
Posted September 14, 2018 Swift has officially support on Ubuntu for a couple of years now: https://swift.org/download/ I've not used Swift so I'm not sure about the quality of the development environment on Ubuntu (but its probably better on macOS). Desktop: Corsair RM550x | Ryzen R7 2700X | Corsair H100i (NF-F12 fans) | MSI GTX 1080 | 16GB 3000MHz memory | Asus X470-F Gaming | Samsung 970 EVO | Samsung 830 256GB SSD | 3TB HDD | Corsair 450D | MG279Q Laptop: XPS15 9560 4K / 512GB Console: Playstation 4 Pro Link to post Share on other sites
Posted September 14, 2018 I've been an iOS Programmer for a couple years now. Swift is officially supported on Ubuntu, but you'll have a heck of a time getting it to actually work well. Depending on your use case this may be ok. I'd suggest either trying to find an older MacMini that would support it natively, or trying to build a hackintosh. Goodluck! TX10 Build Log: http://linustechtips.com/main/topic/456229-tx10-build-log/ Case: TX10-D Proccessor: i7-5820k MotherBoard: Asrockx99 Extreme4 Ram: Crucial Ballistix Sport 16GB (DDR4-2400) GPU: Asus Strix OC 980ti Storage: 850pro 500gb, 850pro 500gb, 850pro 256gb, WD black 16tb total, Silicon Power S60 120GB PSU: Seasonic snow silent 1050 Monitors: Three of Asus VG248QE 144Hz 24.0" Link to post Share on other sites
Posted September 15, 2018 · Original PosterOP 14 hours ago, Cvdasfg said: I've been an iOS Programmer for a couple years now. Swift is officially supported on Ubuntu, but you'll have a heck of a time getting it to actually work well. Depending on your use case this may be ok. I'd suggest either trying to find an older MacMini that would support it natively, or trying to build a hackintosh. Goodluck! How about just learning basics of Swift ? Link to post Share on other sites
Posted September 15, 2018 38 minutes ago, soorma said: How about just learning basics of Swift ? There’s a tutorial on apples website but you won’t get to try it. LTT Fan Fiction: PC game list: Link to post Share on other sites
Posted September 16, 2018 10 hours ago, soorma said: How about just learning basics of Swift ? I mean you can technically learn the basics on anything even notepad or physical paper... It really depends on what your looking to get out of it. TX10 Build Log: http://linustechtips.com/main/topic/456229-tx10-build-log/ Case: TX10-D Proccessor: i7-5820k MotherBoard: Asrockx99 Extreme4 Ram: Crucial Ballistix Sport 16GB (DDR4-2400) GPU: Asus Strix OC 980ti Storage: 850pro 500gb, 850pro 500gb, 850pro 256gb, WD black 16tb total, Silicon Power S60 120GB PSU: Seasonic snow silent 1050 Monitors: Three of Asus VG248QE 144Hz 24.0" Link to post Share on other sites
Posted September 16, 2018 · Original PosterOP 18 hours ago, Cvdasfg said: I mean you can technically learn the basics on anything even notepad or physical paper... It really depends on what your looking to get out of it. That's great, how do I download it ? I have Ubantu Budgie 32 bit. Link to post Share on other sites
Posted September 16, 2018 3 hours ago, soorma said: That's great, how do I download it ? I have Ubantu Budgie 32 bit. First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below. https://www.makeuseof.com/tag/start-programming-swift-ubuntu/ https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9 https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0 Desktop: i7-4790k Build - ALMOST COMPLETE Mobile: OnePlus 5T | Bell Unlimited National Calling & Texting + 10GB DataLaptop: Dell XPS 15 9560 (the real 15" MacBook Pro that Apple didn't make) Tablet: HP Touchpad (Android) | ASUS ME302CCamera: Canon SX280 + Rebel T1i (500D) | Sony HDR-AS50R | Panasonic DMC-TS20D Music: Spotify Premium (CIRCA '08) Link to post Share on other sites
Posted September 17, 2018 · Original PosterOP 11 hours ago, kirashi said: First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below. https://www.makeuseof.com/tag/start-programming-swift-ubuntu/ https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9 https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0 Thanks. I'll see if If I could just install a 64bit processor on that laptop. Link to post Share on other sites
Posted September 18, 2018 On 9/16/2018 at 6:53 PM, kirashi said: First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below. https://www.makeuseof.com/tag/start-programming-swift-ubuntu/ https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9 https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0 Don't forget swift will natively compile down to either 32-bit or 64-bit depending on the architecture of the machine. An Int in swift will be whatever size the PC can hold. If you NEED one or the other you have to use Int32/Int64. Link to post Share on other sites
Posted September 21, 2018 · Original PosterOP On 9/19/2018 at 2:21 AM, jimistephen said: Don't forget swift will natively compile down to either 32-bit or 64-bit depending on the architecture of the machine. An Int in swift will be whatever size the PC can hold. If you NEED one or the other you have to use Int32/Int64. Okay Link to post Share on other sites
Posted September 21, 2018 Don't forget 64 bits doesn't mean it's faster than 32 bits. It just mean everything take more space and you also have access to more memory (over 2 gb). Don't go waste money if you only plan to make small apps like word processing. Link to post Share on other sites
Posted September 24, 2018 · Original PosterOP On 9/21/2018 at 10:33 PM, Franck said: Don't forget 64 bits doesn't mean it's faster than 32 bits. It just mean everything take more space and you also have access to more memory (over 2 gb). Don't go waste money if you only plan to make small apps like word processing. Right now I just want to learn. Link to post Share on other sites
Posted September 26, 2018 I've developed some Android apps for personal use in linux using Python and Kivy! Kivy is perfect to develop apps, if you know python already. https://kivy.org/#home Its also perfect to deliver to booth iOS and Android, since the same code can generate packages for booth platforms, which is awesome! here is a how-to on ios: https://kivy.org/doc/stable/guide/packaging-ios.html The problem is that, to create an iOS ".ipa" package, there's no way but using Xcode... in OSX! 8\ But, since Kivy code is used for booth platforms, you could very well develop and test on Android (even testing on an android emulator in linux - Android studio has android emulation built-in, so you don't need a device), and just use a VM running OSX to generate the IPA when you actually want to test on iOS. To install the latest OSX inside a VirtualBox machine, all the steps are here: ( So you don't need to OWN a Mac at all!! ) https://github.com/geerlingguy/macos-virtualbox-vm You could even automatize the IPA build using ssh, so from inside your "Makefile", so a simple "make ios" in linux would ssh to the OSX virtualbox and build the IPA in the project folder you have on Linux. That way you can work from linux and don't even have to look at OSX and Xcode! lol Is a bit of setup, but after its done, coding is actually very simple and straight forward... and you get Android version for free! lol have fun and let me known how it goes! cheers... -H Link to post Share on other sites
Posted September 28, 2018 · Original PosterOP On 9/26/2018 at 11:22 PM, rhradec said: I've developed some Android apps for personal use in linux using Python and Kivy! Kivy is perfect to develop apps, if you know python already. https://kivy.org/#home Its also perfect to deliver to booth iOS and Android, since the same code can generate packages for booth platforms, which is awesome! here is a how-to on ios: https://kivy.org/doc/stable/guide/packaging-ios.html The problem is that, to create an iOS ".ipa" package, there's no way but using Xcode... in OSX! 8\ But, since Kivy code is used for booth platforms, you could very well develop and test on Android (even testing on an android emulator in linux - Android studio has android emulation built-in, so you don't need a device), and just use a VM running OSX to generate the IPA when you actually want to test on iOS. To install the latest OSX inside a VirtualBox machine, all the steps are here: ( So you don't need to OWN a Mac at all!! ) https://github.com/geerlingguy/macos-virtualbox-vm You could even automatize the IPA build using ssh, so from inside your "Makefile", so a simple "make ios" in linux would ssh to the OSX virtualbox and build the IPA in the project folder you have on Linux. That way you can work from linux and don't even have to look at OSX and Xcode! lol Is a bit of setup, but after its done, coding is actually very simple and straight forward... and you get Android version for free! lol have fun and let me known how it goes! cheers... -H Wow, thanks Link to post Share on other sites