Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Compile iOS app from Win64


This question is answered.


Permlink Replies: 9 - Last Post: Feb 3, 2017 9:41 AM Last Post By: Onur KOCA
Shanil M

Posts: 62
Registered: 12/24/04
Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 22, 2017 11:53 PM
Hi I am using 10.1 Berlin Version 24.0.25048.9432 update 2.

I am using Windows 64 bit to develop my apps. I have written all the code and it works in android and windows.

Now I want to use the multi-platform capability but I do NOT own a Mac. I only have an iPod which I have connected by USB.

I followed the steps to create an SDK profile and installed paserver, which is running on my Win64 development machine. Then I try connection profile 'machine name', port 64211 and click Test, and it tells me 'Connection refused. Profile platform OSX32 does not match remote/host machine platform Win64.

I am thinking O-M-G please do not tell me I need to have a Mac in order to develop iOS apps!

Any way to make this work with my existing devices please. I cannot afford a Mac(book) and I cannot borrow one.

thanks
Shanil
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 12:21 AM   in response to: Shanil M in response to: Shanil M
Shanil M wrote:

I am thinking O-M-G please do not tell me I need to have a Mac in order to develop iOS apps!

Yes, mainly because the tools to do codesigning and deployment are Mac-based (Apple own them, and do not provide a way
of doing it from any other platform)

Any way to make this work with my existing devices please. I cannot afford a Mac(book) and I cannot borrow one.

This is one way:

http://www.macincloud.com/

--
Dave Nottage [MVP, TeamB]
Hints, tips and tricks at: http://www.delphiworlds.com/blog
Shanil M

Posts: 62
Registered: 12/24/04
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 1:04 AM   in response to: Dave Nottage in response to: Dave Nottage
Dave Nottage wrote:
http://www.macincloud.com/

Yep starting at $1 per hour :(

What about the iOS emulator? Recommended?
Or is there a way of generating the installation files (for the emulator perhaps) and then running the installation on my iPod?

thanks
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: Compile iOS app from Win64
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 1:21 AM   in response to: Shanil M in response to: Shanil M
Shanil M wrote:

What about the iOS emulator? Recommended?

A Mac is needed for iOS Simulator (not emulator) because it runs on the Mac

Or is there a way of generating the installation files (for the emulator perhaps) and then running the installation
on my iPod?

The only way of creating the necessary files for installation onto an iOS device is via a Mac.

--
Dave Nottage [MVP, TeamB]
Hints, tips and tricks at: http://www.delphiworlds.com/blog
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 10:36 AM   in response to: Shanil M in response to: Shanil M
Shanil wrote:

Now I want to use the multi-platform capability but I do NOT
own a Mac.

You can use http://www.macincloud.com, which has RADStudio's PAServer installed
for remote access. Since it charges an hourly fee, write all of the code off-service as
needed, and use the service only when compiling/testing.

I only have an iPod which I have connected by USB.

You can't use an iPod for OSX app development, only iOS app development. But
you need a real OSX environment for compiling OSX and iOS apps in general.

I am thinking O-M-G please do not tell me I need to have a Mac
in order to develop iOS apps!

Sorry, but you do need an OSX system in order to develop OSX and iOS apps.
And like you need a Windows system to test Windows apps, and an iOS device to
test iOS apps, you need an OSX system to test OSX apps.

Any way to make this work with my existing devices please.

No, because an OSX system is needed in order to run the developer tools that
actually compile the final OSX/iOS app executables.

--
Remy Lebeau (TeamB)
Shanil M

Posts: 62
Registered: 12/24/04
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 10:56 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
Sorry, but you do need an OSX system in order to develop OSX and iOS apps.
And like you need a Windows system to test Windows apps, and an iOS device to
test iOS apps, you need an OSX system to test OSX apps.

Well an android app can be developed in Windows, so I assumed the same for an iOS app - that it would generate an iOS folder and send the files to the iOS device for installation. I did not want to release my app for OSX.

VM sounds enticing :) Wonder if it's even possible to licence OSX for a VM...

thanks guys
Shanil
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 24, 2017 7:17 AM   in response to: Shanil M in response to: Shanil M
Shanil M wrote:

Remy Lebeau (TeamB) wrote:
Sorry, but you do need an OSX system in order to develop OSX and
iOS apps. And like you need a Windows system to test Windows apps,
and an iOS device to test iOS apps, you need an OSX system to test
OSX apps.

Well an android app can be developed in Windows, so I assumed the
same for an iOS app - that it would generate an iOS folder and send
the files to the iOS device for installation. I did not want to
release my app for OSX.

VM sounds enticing :) Wonder if it's even possible to licence OSX
for a VM...
While for Android there is a developer environment for Windows for iOS
there isn't any. Apple would like to use their environment for the
development.

You can of course use (a Windows) VM on a Mac (that's the requirement
to legally install OSX).
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Compile iOS app from Win64
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 24, 2017 10:09 AM   in response to: Shanil M in response to: Shanil M
Shanil wrote:

Well an android app can be developed in Windows, so I assumed the
same for an iOS app

Sadly, no. Apple is a closed environment. It requires Apple tools to create
Apple apps, and the tools only run on OSX. Delphi compiles OSX/iOS projects
to an intermediate state and then delegates to Apple's tools to finish the
compile. So you MUST use an OSX machine to fully compile Delphi OSX/iOS
apps.

Google is a more open environment. Android apps are based on Java (though
Delphi apps go deeper by running at the native JNI layer), and Google freely
provides compiler tools for multiple platforms, including Windows, to compile
Android apps.

VM sounds enticing :) Wonder if it's even possible to licence OSX for
a VM...

It is not. It is quite illegal to use OSX in a VM (as Markus warned you
about). However, there are hacked versions of OSX floating around that do
run in VMs - use at you own risk!

--
Remy Lebeau (TeamB)
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Compile iOS app from Win64
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2017 12:38 PM   in response to: Shanil M in response to: Shanil M
Am 23.01.2017 um 08:53 schrieb Shanil M:
Hi I am using 10.1 Berlin Version 24.0.25048.9432 update 2.

I am using Windows 64 bit to develop my apps. I have written all the code and it works in android and windows.

Now I want to use the multi-platform capability but I do NOT own a Mac. I only have an iPod which I have connected by USB.

I followed the steps to create an SDK profile and installed paserver, which is running on my Win64 development machine.
Then I try connection profile 'machine name', port 64211 and click
Test, and it tells me 'Connection refused.
Profile platform OSX32 does not match remote/host machine platform Win64.

I am thinking O-M-G please do not tell me I need to have a Mac in order to develop iOS apps!

Any way to make this work with my existing devices please. I cannot afford a Mac(book) and I cannot borrow one.

thanks
Shanil

Hello,

there would be another way, but it is clearly illegal: install OS X in
a VM. Don't claim I told you to do this ;-)

Greetings

Markus
Onur KOCA

Posts: 31
Registered: 2/12/12
Re: Compile iOS app from Win64  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2017 11:45 AM   in response to: Shanil M in response to: Shanil M
selling mac, for app developping, its apple strategty, this strategties limitting apple popilarete, apple never will big from android :)

here is solution;

instal vmware, here is the steps; https://www.technopat.net/2015/12/13/vmware-ile-os-x-el-capitan-kurulumu/

download original macox iso image from apple, and mount and install it, its simply and valid, for itunes working updates etc.

but require intel cpu, othervise didnt work.

and second step, u must have iphone, connect ur iphone to vmware with macosx installed pc.

another step, require for code siging u must pay every year 100$ for market account,

after 2 3 week later, ur account will aceppeted ( this step really slow hard, apple calling u and validating u),

u must login ur account create signin for develop and distrubte profiles

add ur iphone serial number and create develop profile for xcode.

install pa server and run ur software to iphone (dont use emulator for simulate really slow, this another strategy for selling iphones :)) )

everything okey, and u app is ready for market, u will wait 1 week min,

because all apps manuelley investiagteing and accepting by moderators.

finally u get apple, with max perfor, min cost.

another platform; for android

doesnt available code sign like stupid ideas, directly run ur software from ur android phone, not require anythink.

u must pay 20$ for life time, market account.

releaseing app to market, is automated 1 2 hour later, ur app on the market playstore.

https://img.donanimhaber.com//images/haber/89011/Dunyanin-en-degerli-markasi-artik-Apple-degil89011_0.jpg

Edited by: Onur KOCA on Feb 3, 2017 4:40 PM

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02