User Defined issues Xcode 5 - xcode

I'm a new Mac Os user, before I worked on windows.
I'm trying to write programs on pawn, but on mac there is not "real" version on it.
I found on official website that you can you can run the program PAWNO threw Xcode, but I can't do it properly.
I got a error - User Defined Issues, what does it mean and how to fix it?
Thanks.
And link where I found it.
http://www.compuphase.com/pawn/pawn.htm

You are building for a 64-bit Intel architecture but the header file you're using doesn't support that (i386). Try setting your project/target settings for building as a 32-bit application.

Related

Xcode 7 Unable to determine compiler to use

I get the following errors in Xcode 7 when opening my OS X app:
Unable to determine compiler to use - the abstract compiler specification is missing from this Xcode installation.
and
Unexpected tool settings, missing default value for VFS output path
I've tried rebooting as this post suggests, but to no avail.
I'm running OS X 10.10.4
EDIT Here is a screenshot:
Very lucky.
And I got this error this morning.
Everything worked fine until yesterday and I didnĀ“t change any settings. Just GUI changes. I switched between Yosemite an ELCap and the error occurs on both systems.
I had same problem when Xcode location was in /Application/Subfolder/Xcode.app
After moving to /Application problem is gone.

Xcode Version 6.0 (6A313) - Error creating LLDB target

I tried running my project in Xcode Version 6.0 (6A313) and received Error creating LLDB target at path '/path' - using an empty LLDB target which can cause slow memory reads from remote devices. But it runs perfectly on xcode 5.1. I think the problem with architecture of iOS 8. Is this is a serious problem i should take care of ? Anyone help me with some suggestions.

Applescript Universal application

Is there a way for me to create an Applescript as a run only application that would work on 10.5 and above?
I am running Lion. Whenever I save my script as a run only application it does not work with 10.5 and gives me a "does not work with this architecture" error.
The weird thing is that I saved it once and successfully launched it on the 10.5 machine but when I went to edit it and re-save it did not work anymore.
Thx
You can't and Apple's documentation isn't clear. My experience, based on a lot of trial and error, has been that when saving an Applescript as an application, that it has to be saved in the target environment, just as though you were targeting a specific OS when compiling for Xcode. In the past, I have had to make separate apps for 10.6 and 10.7 as well as PowerPC and Intel with the exact same code inside.

Writing code for a Mac using Lazarus

I have done a little work on lazarus' free pascal. So when a client asked me to write an application for a mac, after the initial, "it can't be done" stage. (followed by an asp.net maybe stage) i thought about writing it using lazarus.
Question is. I have only a virtual machine running mac OSX, this means that i do not really want to develop on the mac. However, i just cannot seem to get the applications that i have written in lazarus on windows to work on the mac. I have tried the deployment using the Lazarus Wiki and the MACOS folder is empty and so when i put it on the mac it doesn't run the application.
What is the best way of doing this or am i barking up the wrong tree?
It seems you want to do cross-compiling, which is theoretically possible, but may not be practical, for the reasons mentioned by Marco above.
As an alternative, you could install XCode, FreePascal, and Lazarus on a MacOX machine. You could still do your development and some testing on Windows/Linux. When you hit a certain milestone, you can copy your source code to the Mac and compile your application to test and give to the user.
Even if it were possible to easily cross-compile, there some minor differences between platforms, so (especially if it's a GUI app), you would want to test it on an actual MacOS box before giving it to the client.
I've taken the route described by Noah - and I was incredibly surprised that after about three weeks development on Windows, it took about 10 minutes to get the application running on the Mac.
My route was to install Xcode 4.3 on an old Mac Mini running snow leopard, then install Lazarus using the fink version as described here. This took a while but was done in an evening.
Then I just copied my folder across to the Mac, opened the lpi on the Mac, compiled it. It failed so I removed a windows references, recompiled, and it was working. I was truly amazed.
What linker and assembler do you use to generate binaries? To my best knowledge the linker for recent OS X versions is not available in source.
Afaik what you want (crosscompiling to Mac) is not possible for recent versions (and I've done it for PowerPC myself in the past).
The easiest is to use the Unix "file" command on the binary to see what is generated, and make sure it reads something with "MachO" in it. Easiest is if you have a Linux install (where this command is pretty standard), but versions can be found for windows too (cygwin, mingw and 3rd party)

I have an exe setup file. I want to make it compatible with Mac OS

I have an exe setup file. I want to make it compatible with Mac OS. Is there is any way through which we can convert an EXE to DMG, APP or a Jar?
No, you cant, you need to recompile the application for the target platform.
Nope*.
Moreover, if the contained software is compiled for Windows, it won't work on Mac.
If may work only if it is script-based (like in ruby, python, etc.). But usually, you'll have a proper Mac installation package when it is compatible.
**Exception*: some EXE are extractible archives, but it won't change the incompatibility if it is compiled for Windows.
The simple answer is to install software on a Macintosh OS you must recompile it down to a .dmg file. I jumped on Google and this article Creating a Mac OS X App from a Jar File was the second choice. The default Mac OS Java version was 1.5 for Leopard. Target 1.4+ and you should cover systems from at least Leopard and upwards.
As an aside, this tutorial was recently updated for Snow Leopard and covers the same stuff. Best of luck in getting it ported.
There are different distribution for Mac with have java6 and below version, for java 7 and 8 you need to make another app to run and compatible with
I did it on my way:
Create exe/ setup for your jar.
follow the link ---> winebottler.kronenberg.org
download winebottler(GUI based tool) for your mac type and simply follow this link below
https://www.youtube.com/watch?v=imPGlqEuYBk
No extra burden for you to how.
Note: This will pack your setup in app but app size will increase.

Resources